-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R library can't install on windows in Processing #19860
Comments
Author Name: Stefan Blumentrath (@ninsbl) Sounds like a good (in terms of convenient for the user) solution could be to add the possibility to specify R_LIBS_USER in the options for the R provider. If nothing is specified yet (environment variable is empty), a sub-folder in the Processing folder within the user home could be created and used as a default. Content/path of R_LIBS_USER could be read from environment variables (if the variable is already set). (BTW: a variable in the Processing options for the default cran mirror to be used could be nice too) On Win 7, users can set their environment variables (without admin rights) permanently like this: So, this issue is probably more a question of a properly configured R installation than a real processing issue and an update of the documentation (http://docs.qgis.org/testing/en/docs/user_manual/processing/3rdParty.html) might be sufficient... |
Author Name: Stefan Blumentrath (@ninsbl) Please have a look at: #2028 (pull request 2022 has been closed).
|
Author Name: Giovanni Manghi (@gioman) The PR was merged.
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman) Some providers are being removed from QGIS/Processing (will be available as plugin) and so are their categories in the bug tracker. To not leave them orphaned of a category they are being reassigned to processing/core. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Takayuki Mizutani (Takayuki Mizutani)
Original Redmine Issue: 11603
Affected QGIS version: 2.6.0
Redmine category:processing/core
Assignee: Victor Olaya
First running R in processing, it try to install R library (rgdal etc.) in the unwritable folder on windows.
So the error has occured like 'lib="C:/Program Files/R/R-3.1.1/library" is not writable'
For solving this problem, I have added this line in qgis.bat (C:\OSGeo4W\bin\qgis.bat or C:\Program Files\QGIS Brighton\bin\qgis.bat).
REM add this line
set R_LIBS=%HOME%\Documents\R\win-library\3.1
But there is one restriction that it is already exist and writable folder.
Please fix this problem by source code fundamentally.
The text was updated successfully, but these errors were encountered: