#16694: Rscript is currently non-functional
----------------------------------+----------------------------------------
Reporter: charpent | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.3
Component: packages: standard | Keywords: r-project
Merged in: | Authors: Emmanuel Charpentier
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
----------------------------------+----------------------------------------
Sage's Rscript accepts neither files nor arguments.
Compare
{{{
## System version
charpent@SAP5057241:~/Dev/nloptr$ cat foo.R
2+2
charpent@SAP5057241:~/Dev/nloptr$ which Rscript
/usr/bin/Rscript
charpent@SAP5057241:~/Dev/nloptr$ Rscript foo.R
[1] 4
charpent@SAP5057241:~/Dev/nloptr$ Rscript -e "2+3"
[1] 5
}}}
with
{{{
## Sage's version
charpent@SAP5057241:~/Dev/nloptr$ sage -sh
Starting subshell with Sage environment variables set. Don't forget
to exit when you are done. Beware:
* Do not do anything with other copies of Sage on your system.
* Do not use this for installing Sage packages using "sage -i" or for
running "make" at Sage's root directory. These should be done
outside the Sage shell.
Bypassing shell configuration files...
Note: SAGE_ROOT=/usr/local/sage-6.3.beta6-x86_64-Linux
(sage-sh) charpent@SAP5057241:nloptr$ which Rscript
/usr/local/sage-6.3.beta6-x86_64-Linux/local/bin/Rscript
(sage-sh) charpent@SAP5057241:nloptr$ Rscript foo.R
Rscript execution error: No such file or directory
(sage-sh) charpent@SAP5057241:nloptr$ Rscript -e "2+3"
Rscript execution error: No such file or directory
}}}
Consequence : some packages, which need Rscript for installation (because
they try to download some library source tarballs) can no longer be
installed in R. This include notoriously nloptr, on which lme4 (a mixed-
model package ofextremely frequent use) and other often-used packages
depend.
Consequence of this consequence : Sage no longer offers a *replacement*
for system's R. Ouch !
--
Ticket URL: <http://trac.sagemath.org/ticket/16694>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.