#46786: R changes broke rNMR package ------------------------------------+--------------------------- Reporter: howarth.at.macports@… | Owner: kjell.konis@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: R | ------------------------------------+--------------------------- Comment (by howarth.at.macports@…): The real solution is to, like fink, settle on some common directory outside of ${prefix}/Library/Frameworks/R.framework/Versions/3.1/Resources where we want the R packages to installed and create the appropriate site- library symlink in ${prefix}/Library/Frameworks/R.framework/Versions/3.1/Resources. This is easily demonstrated with the current R package... {{{ % R R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin14.3.0 (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.
.libPaths() [1] "/opt/local/Library/Frameworks/R.framework/Versions/3.1/Resources/library"
}}} and the proper fix proven with... {{{ sudo mkdir -p /opt/local/lib/R/library cd /opt/local/Library/Frameworks/R.framework/Versions/3.1/Resources/ ln -s /opt/local/lib/R/library site-library }}} which then causes R to exhibit the desired behavior of... {{{ % R R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin14.3.0 (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.
.libPaths() [1] "/opt/local/lib/R/library" [2] "/opt/local/Library/Frameworks/R.framework/Versions/3.1/Resources/library"
}}} -- Ticket URL: <https://trac.macports.org/ticket/46786#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X