Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176546 - /usr/bin/Rscript of "dev-lang/R-2.5.0" points at wrong R binary
Summary: /usr/bin/Rscript of "dev-lang/R-2.5.0" points at wrong R binary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-30 10:45 UTC by Jens Maus
Modified: 2007-09-16 10:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Maus 2007-04-30 10:45:55 UTC
The latest R-2.5.0 release comes with a new "Rscript" tool which will automatically be installed as /usr/bin/Rscript. However, due to the sandbox compilation the Rscript tools doesn't work properly as it tries to call the main 'R' executable with an incorrect path.

Reproducible: Always

Steps to Reproduce:
1. run "Rscript --verbose test.R" and see output


Actual Results:  
running
  '/var/tmp/portage/dev-lang/R-2.5.0/image//usr/lib64/R/bin/R --slave --no-restore --file=blah.R'

Rscript execution error: No such file or directory

Expected Results:  
The output should show "/usr/bin/R --slave --no-restore" instead

Of course, due to the incorrect path, the whole Rscript binary is useless and doesn't work as expected.
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2007-04-30 13:44:51 UTC
Hi Jens,

Thanks for your bug report! I believe I just fixed this
in portage cvs. Please re-sync in an hour or so and
let me know if it works.

Thanks,
Markus
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2007-09-16 10:07:54 UTC
This one should be fixed, I think ... closing.

THanks,
Markus