#15415 closed defect (fixed)
R-2.7 Port (gnu-r): Rscript has wrong path to R executable
Reported by: | mark.m.fredrickson@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | konis@…, kjell.konis@…, simon@… | |
Port: |
Description
The Rscript executable has the wrong path to the R. E.g.
$ rscript -e "" --verbose running '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_R/work/destroot/opt/local/lib/R/bin/R --slave --no-restore -e ' Rscript execution error: No such file or directory
Obviously that should be ${prefix}/bin/R
not the build directory.
Attachments (1)
Change History (6)
comment:1 Changed 16 years ago by mark.m.fredrickson@…
Cc: | mark.m.fredrickson@… added |
---|
comment:2 Changed 16 years ago by jmroot (Joshua Root)
Cc: | konis@… added; mark.m.fredrickson@… removed |
---|
Cc maintainer.
comment:3 Changed 16 years ago by kjell.konis@…
I believe I have found the problem and should be able to have a fix ready shortly. In the meantime it looks like you might be able to work around the problem by setting the RHOME environment variable
export RHOME=/opt/local/lib/R
before running Rscript.
comment:4 Changed 16 years ago by simon@…
Cc: | kjell.konis@… simon@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Committed in r37138. Thanks for your report and help.
I updated the maintainer address to kjell.konis@… like in the new Portfile assuming you have a new email address. If this isn't true just tell me and I will change it.
Simon
Note: See
TracTickets for help on using
tickets.
Cc Me!