The real problem is that the MacPorts R package has become broken with
regard to using ${prefix}/lib/R/library which clearly seen if you
execute...

% 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"
>

whereas in fink, we get...

% 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.0.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] "/sw/lib/R/3.1/site-library"
[2] "/sw/Library/Frameworks/R.framework/Versions/3.1/Resources/library"

In fink, our R packages are built as frameworks but we have a symllink....

lrwxr-xr-x   1 root  admin     26 Nov  1 13:27 site-library ->
/sw/lib/R/3.1/site-library

in /sw/Library/Frameworks/R.framework/Resources.
    The proper fix would be to implement the same change in MacPorts'
R so that in the ${prefix}/Library/Frameworks/R.framework/Resources
directory we likewise have a symlink called site-library pointing at
the legacy ${prefix}/lib/R/library directory that has been used here
in the past.
          Jack

On Thu, Feb 12, 2015 at 9:04 PM, MacPorts <[email protected]> wrote:
> #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 kjell.konis@…):
>
>  Also, some R users may not want rNMR to delete their saved workspace when
>  it starts up.
>
> --
> Ticket URL: <https://trac.macports.org/ticket/46786#comment:12>
> MacPorts <https://www.macports.org/>
> Ports system for OS X
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to