Package: r-base-core
Version: 2.7.0~20080408-1
Severity: minor

The Rscript command (a wrapper for invoking R with a command line like 'R
--slave --no-restore --file=foo [script_args]') does not seem to have the
correct location for the R binary. It looks like the location is set to
/tmp/buildd/r-base-2.7.0~20080408/bin/, rather than /usr/bin/.

Steps to reproduce:

1) touch empty.txt
2) Rscript --verbose empty.txt

What should appear:

running
  '/usr/bin/R --slave --no-restore --file=empty.txt'

[no output]

What appears instead:
$ Rscript --verbose empty.txt
running
  '/tmp/buildd/r-base-2.7.0~20080408/bin/R --slave --no-restore\
--file=empty.txt'

Rscript execution error: No such file or directory

This can be temporarily fixed by the following step:
1) ln -s /usr/bin/R /tmp/buildd/r-base-2.7.0~20080408/bin/R

Which causes the following output:
running
  '/tmp/buildd/r-base-2.7.0~20080408/bin/R --slave --no-restore\
--file=empty.txt'

[no output]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to