[education/rkward] rkward/rbackend: back out previous change for testing purposes

Thomas Friedrichsmeier null at kde.org
Wed Jun 30 16:43:32 BST 2021


Git commit ab3a3b74352b18bc47f97895b45ac0e8c1955128 by Thomas Friedrichsmeier.
Committed on 30/06/2021 at 15:10.
Pushed by tfry into branch 'master'.

back out previous change for testing purposes

M  +1    -1    rkward/rbackend/rkrinterface.cpp

https://invent.kde.org/education/rkward/commit/ab3a3b74352b18bc47f97895b45ac0e8c1955128

diff --git a/rkward/rbackend/rkrinterface.cpp b/rkward/rbackend/rkrinterface.cpp
index 1e9af664..0251edcf 100644
--- a/rkward/rbackend/rkrinterface.cpp
+++ b/rkward/rbackend/rkrinterface.cpp
@@ -413,7 +413,7 @@ void RInterface::handleRequest (RBackendRequest* request) {
 		RCommandChain *chain = openSubcommandChain (runningCommand ());
 
 		issueCommand ("paste (R.version[c (\"major\", \"minor\")], collapse=\".\")\n", RCommand::GetStringVector | RCommand::App | RCommand::Sync, QString (), this, GET_R_VERSION, chain);
-		issueCommand ("try({userdir<-path.expand(Sys.getenv(\"R_LIBS_USER\")); if(length(userdir)==1L && !file.exists(userdir)) dir.create(userdir) })\n", RCommand::App | RCommand::Sync, QString (), this, 0, chain);
+//		issueCommand ("try({userdir<-path.expand(Sys.getenv(\"R_LIBS_USER\")); if(length(userdir)==1L && !file.exists(userdir)) dir.create(userdir) })\n", RCommand::App | RCommand::Sync, QString (), this, 0, chain);
 		// find out about standard library locations
 		issueCommand ("c(path.expand(Sys.getenv(\"R_LIBS_USER\")), .libPaths())\n", RCommand::GetStringVector | RCommand::App | RCommand::Sync, QString (), this, GET_LIB_PATHS, chain);
 		// start help server / determined help base url



More information about the rkward-tracker mailing list