Rkernel is a program responsible for handling various types of requests: code execution, code completions, debugging, and so on. Is also provides a response from the R interpreter.
The idea of Rkernel is pretty similar to gdb or Jupyter kernel but it aimed for R.
build_grpc.bat
build_grpc.sh
cmake
with your toolchain to build the projectEnsure that the cmake R_HOME
variable is defined or suitable R
version
is present in the PATH
variable.
Use the following toolchains:
dll2lib.R
for generating lib
files and apply patches from Rcpp-patches
)To use other configurations, you may need to edit the CMakeLists.txt
file.
Rkernel consists of:
R
directory of the project root.For interacting with Rwrapper you should implement a gRPC client for the protocol defined in Rkernel-proto
To start interacting with Rwrapper:
Rkernel-proto
project.Rkernel-proto
is covered by Apache License 2.0R/RSession
is covered by AGPL-3.0