Roger Bivand wrote >> could you download the files from >> https://trac.osgeo.org/grass/browser/grass/trunk/mswindows/external/rbatch, >> copy these to an arbitrary folder e.g. C:\wd\testfolder, open a windows >> console within this folder and type R in the console, then try your test >> with Sys.getenv("R_LIBS_USER") and .libPaths()? >> >> for me it works that the general and private library is found by R. > > OK, looks like this: > >> Sys.getenv("R_LIBS_USER") > [1] "C:\\Users\\rsb\\Documents/R/win-library/3.3" >> .libPaths() > [1] "C:/Users/rsb/Documents/R/win-library/3.3" > [2] "C:/Program Files/R/R-3.3.2/library" >> any(match(installed.packages()[,"Package"], "rgrass7")) > [1] TRUE > > But I don't see any recent revisions in that directory?
it is taken from https://github.com/ggrothendieck/batchfiles by author`s permission. so the script works outside a winGRASS session also for you. but the same script doesn't work inside a winGRASS session. so it's maybe related to some %HOME% issues as mentioned before. ----- 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-tp5295771p5296444.html Sent from the Grass - Stats mailing list archive at Nabble.com. _______________________________________________ grass-stats mailing list grass-stats@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-stats