summarylogtreecommitdiffstats
path: root/rlibrary.patch
blob: 3621dabb74b328f003f0a0ba5d5b3dbe0e694294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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