mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
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?
This commit is contained in:
parent
f028b831ff
commit
f8ff073dd9
@ -61,6 +61,9 @@ class RAlgorithmProvider(AlgorithmProvider):
|
||||
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 @@ class RAlgorithmProvider(AlgorithmProvider):
|
||||
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user