Skip to content
Prev 11966 / 15075 Next

Feature request: install R in ~/Library/Frameworks

On Tue, Feb 7, 2017 at 4:07 PM, Prof Brian Ripley <ripley at stats.ox.ac.uk>
wrote:
Maybe I am missing the point again, but just installing in different
locations does not seem to work. E.g.:

? installer -pkg tmp/R-3.3.2.pkg -target CurrentUserHomeDirectory
installer: Package name is R 3.3.2 for Mac OS X 10.9 or higher (Mavericks
build)
installer: Upgrading at base path /Users/gaborcsardi
installer: The upgrade was successful.

? grep Library/Frameworks/R.framework
Library/Frameworks/R.framework/Resources/bin/R
R_HOME_DIR=/Library/Frameworks/R.framework/Resources
R_SHARE_DIR=/Library/Frameworks/R.framework/Resources/share
R_INCLUDE_DIR=/Library/Frameworks/R.framework/Resources/include
R_DOC_DIR=/Library/Frameworks/R.framework/Resources/doc

So the installed version still refers to /Library. If there is nothing
there, then the version in ~/Library fails, of course:

? Library/Frameworks/R.framework/Resources/bin/R
Library/Frameworks/R.framework/Resources/bin/R: line 238:
/Library/Frameworks/R.framework/Resources/etc/ldpaths: No such file or
directory

Maybe you mean recompiling using a different framework location, or
different --prefix? Yes, I guess that should work.

Anyway, different volumes seem like a very good solution to me, because I
can use the stock CRAN installers. I'll try it in a second.

Gabor