Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#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)

Portfile (9.7 KB) - added by kjell.konis@… 16 years ago.
Revised Portfile

Download all attachments as: .zip

Change History (6)

comment:1 Changed 16 years ago by mark.m.fredrickson@…

Cc: mark.m.fredrickson@… added

Cc Me!

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.

Changed 16 years ago by kjell.konis@…

Attachment: Portfile added

Revised Portfile

comment:4 Changed 16 years ago by simon@…

Cc: kjell.konis@… simon@… added
Resolution: fixed
Status: newclosed

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

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.