Skip to content

PRL-PRG/rcp

Repository files navigation

Copy and Patch JIT compilation for R

This repository contains the code neccessary to run Copy and Patch JIT for R.

Installation

  1. Clone with git clone --recurse-submodules
  2. Navigate to /external/rsh/external/R/ and run ../../tools/build-gnur.sh . to install custom R environment
  3. Navigate to /rcp/ and run make to install the project
  4. Test it by running make run
  5. Load the package with library(rcp)
  6. Compile any function with copy_patched_result = rcp_cmpfun(function_to_compile, options = list(optimize = 3))
  7. Run the result as a function itself (for example copy_patched_result())

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •