Skip to content
Permalink
Browse files

Add R_LIBS_USER option for windows

Hopefully a more proper attempt to fix http://hub.qgis.org/issues/11603 directly in processing by means of providing an option to define a path for user libraries on MS Windows. Not sure if this could be useful for other OSes too?
  • Loading branch information
ninsbl committed May 5, 2015
1 parent f028b83 commit f8ff073dd92874e128d4aa8569c6b940a0ace2c7
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/plugins/processing/algs/r/RAlgorithmProvider.py
@@ -61,6 +61,9 @@ def initializeSettings(self):
ProcessingConfig.addSetting(Setting(
self.getDescription(),
RUtils.R_FOLDER, self.tr('R folder'), RUtils.RFolder()))
ProcessingConfig.addSetting(Setting(
self.getDescription(),
RUtils.R_LIBS_USER, self.tr('R user library folder'), RUtils.RLibs()))
ProcessingConfig.addSetting(Setting(
self.getDescription(),
RUtils.R_USE64, self.tr('Use 64 bit version'), False))
@@ -70,6 +73,7 @@ def unload(self):
ProcessingConfig.removeSetting(RUtils.RSCRIPTS_FOLDER)
if isWindows():
ProcessingConfig.removeSetting(RUtils.R_FOLDER)
ProcessingConfig.removeSetting(RUtils.R_LIBS_USER)
ProcessingConfig.removeSetting(RUtils.R_USE64)

def getIcon(self):

0 comments on commit f8ff073

Please sign in to comment.
You can’t perform that action at this time.