[education/rkward] /: Fix setting R commandline options
Thomas Friedrichsmeier
null at kde.org
Mon Jul 29 12:58:00 BST 2024
Git commit 083220da6af7240cd99d195a3cb7bdcdbf188fda by Thomas Friedrichsmeier.
Committed on 29/07/2024 at 11:56.
Pushed by tfry into branch 'master'.
Fix setting R commandline options
BUG: 490961
M +1 -0 ChangeLog
M +1 -1 rkward/rbackend/rkrbackend.cpp
https://invent.kde.org/education/rkward/-/commit/083220da6af7240cd99d195a3cb7bdcdbf188fda
diff --git a/ChangeLog b/ChangeLog
index f481178e8..68c58d552 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
--- Version 0.8.1 - UNRELEASED
+- Fixed: commandArgs() would show incorrect options
- Internal: Various code cleanups
- Added: Configuration pages for loaded kate plugins are integrated into the settings dialog
diff --git a/rkward/rbackend/rkrbackend.cpp b/rkward/rbackend/rkrbackend.cpp
index 6130f18c1..94d9288b6 100644
--- a/rkward/rbackend/rkrbackend.cpp
+++ b/rkward/rbackend/rkrbackend.cpp
@@ -1027,7 +1027,7 @@ bool RKRBackend::startR () {
too_late_to_interrupt = false;
r_running = true;
int argc = 3;
- char* argv[3] = { qstrdup ("--slave"), qstrdup ("--no-save"), qstrdup ("--no-restore") };
+ char* argv[3] = { qstrdup ("rkward"), qstrdup ("--no-save"), qstrdup ("--no-restore") };
RFn::Rf_initialize_R(argc, argv);
#ifdef Q_OS_WIN
More information about the rkward-tracker
mailing list