diff --git a/default.aproj b/default.aproj index 1315bc0..177e4df 100644 --- a/default.aproj +++ b/default.aproj @@ -1,5 +1,5 @@  - + diff --git a/main.aardio b/main.aardio index 85f2b34..adea90d 100644 --- a/main.aardio +++ b/main.aardio @@ -40,6 +40,13 @@ import console; import fsys.dlg; import process.r; +if (_STUDIO_INVOKED) { + process.r.setLibPaths({"/dist/lib/r-library"}); +} +else { + process.r.setLibPaths({"/lib/r-library"}); +} + mainForm.editRScript.print($"\script\heatmap_script.R"); var initEditConsole = function(){