[GRASS-stats] GRASS can't find R packages from personal library on Windows
Helmut Kudrnovsky
hellik at web.de
Wed Nov 23 12:36:50 PST 2016
Helmut Kudrnovsky wrote
>
> Helmut Kudrnovsky wrote
>> both changes should be discussed on the dev ML.
>>
>> before such changes are implemented, the workaround to manage this issue
>> manually via the control panel should go to the wiki.
>>
>> Anna, any suggestions?
> just opened a discussion on the dev ML:
>
> https://lists.osgeo.org/pipermail/grass-dev/2016-November/083122.html
some insights regarding %HOME% in winGRASS:
https://lists.osgeo.org/pipermail/grass-dev/2016-November/083159.html
----------------------------------------------------------------------------------------------
[GRASS-dev] does GRASS need HOME to be defined?
> >> anyone more insight, if %HOME% is needed in winGRASS?
> >
> >Done by Glynn in:
> >https://trac.osgeo.org/grass/changeset/37873
>
> does GRASS need HOME to be defined?
>
> any hints?
It's used G__home() on Unix (and as a fallback on Windows) and it's
used for G_rc_path() on Windows (for some reason, the Unix version
uses getpwuid(), which is probably incorrect in this context).
It may also be used implicitly by library functions or external
programs looking for configuration files.
----------------------------------------------------------------------------------------------
https://lists.osgeo.org/pipermail/grass-stats/2016-November/001708.html
----------------------------------------------------------------------------------------------
OK, so the extension would be to look in %HOME%/Documents to see if there
is %HOME%/Documents/R, and if so do what? If R_LIBS_USER is set, do
nothing, if not, set R_USER, or guess which win-library is the relevant
one and set R_LIBS_USER? Even if this is redundant for non-R users?
----------------------------------------------------------------------------------------------
so it's still to discuss what would be the best option to overcome this
issue.
-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GRASS-can-t-find-R-packages-from-personal-library-on-Windows-tp5295771p5297179.html
Sent from the Grass - Stats mailing list archive at Nabble.com.
More information about the grass-stats
mailing list