summarylogtreecommitdiffstats
path: root/rlibrary.patch
diff options
context:
space:
mode:
authorStephen Martin2017-07-02 15:39:49 -0500
committerStephen Martin2017-07-02 15:39:49 -0500
commit1ed0e73af321c83f464c75ed53ba1479a0d8d410 (patch)
tree5f9bd097b4fc8469d6d5ce410aa636af9b88c6e3 /rlibrary.patch
parent681de90d23669b76bf0be571bc324edd35b555a8 (diff)
downloadaur-1ed0e73af321c83f464c75ed53ba1479a0d8d410.tar.gz
Version bump
Diffstat (limited to 'rlibrary.patch')
-rw-r--r--rlibrary.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/rlibrary.patch b/rlibrary.patch
new file mode 100644
index 00000000000..3621dabb74b
--- /dev/null
+++ b/rlibrary.patch
@@ -0,0 +1,13 @@
+diff --git a/JASP-Desktop/enginesync.cpp b/JASP-Desktop/enginesync.cpp
+index 49e215b..a87db98 100644
+--- a/JASP-Desktop/enginesync.cpp
++++ b/JASP-Desktop/enginesync.cpp
+@@ -408,7 +408,7 @@ void EngineSync::startSlaveProcess(int no)
+
+ env.insert("LD_LIBRARY_PATH", rHome.absoluteFilePath("lib") + ";" + rHome.absoluteFilePath("library/RInside/lib") + ";" + rHome.absoluteFilePath("library/Rcpp/lib") + ";" + rHome.absoluteFilePath("site-library/RInside/lib") + ";" + rHome.absoluteFilePath("site-library/Rcpp/lib"));
+ env.insert("R_HOME", rHome.absolutePath());
+- env.insert("R_LIBS", programDir.absoluteFilePath("R/library") + ":" + rHome.absoluteFilePath("library") + ":" + rHome.absoluteFilePath("site-library"));
++ env.insert("R_LIBS", programDir.absoluteFilePath("R/library") + ":" + rHome.absoluteFilePath("library") + ":" + rHome.absoluteFilePath("site-library") + ":/usr/share/jasp-desktop/R/library");
+
+ #endif
+