From a46c4245f050c05c9d0f1c02d5bd94bd1163609f Mon Sep 17 00:00:00 2001 From: freefire <97975089@qq.com> Date: Wed, 22 Jan 2025 22:05:50 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=E6=89=BE=E4=B8=8D?= =?UTF-8?q?=E5=88=B0R=E4=BE=9D=E8=B5=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- default.aproj | 2 +- main.aardio | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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(){