Skip to content
Browse files
Add .libPaths() to R scripts for Windows
Hopefully a more proper attempt to fix 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 3fcc101 commit 70d390727c5c70d5e85eeeba35001bee611c705c
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/processing/algs/r/
@@ -285,6 +285,8 @@ def getImportCommands(self):

# Try to install packages if needed
if isWindows():
commands.append('.libPaths(\"' + str(RUtils.RLibs()).replace('\\','/') + '\")')
packages = RUtils.getRequiredPackages(self.script)
packages.extend(['rgdal', 'raster'])
for p in packages:

0 comments on commit 70d3907

Please sign in to comment.