From fc3489f60dab69d6930b7cbd7f2c7858f4dac2fa Mon Sep 17 00:00:00 2001 From: Vindaar Date: Tue, 26 Mar 2024 10:44:29 +0100 Subject: [PATCH] update README about paths of dyn.load --- README.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.org b/README.org index 6f4c00a..6162d22 100644 --- a/README.org +++ b/README.org @@ -299,6 +299,11 @@ This file can now be sourced from the R interpreter (using the =source= function) or in an R script and then =addNumbers= is usable and will execute the compiled Nim code! +Note that the autogeneration logic assumes the shared library and the +generated R script will live in the same directory. If you wish to +move one, you might have to adjust the paths that perform the +~dyn.load~ command! + ** Trying it out To try out the functionality of calling R from Nim, you need to meet a