#7771: fix R restart in interface
--------------------------+-------------------------------------------------
Reporter: kcrisman | Owner: was
Type: defect | Status: new
Priority: minor | Milestone: sage-4.4.1
Component: interfaces | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------+-------------------------------------------------
Comment(by kcrisman):
Replying to [comment:2 kcrisman]:
> Replying to [comment:1 mvngu]:
> > As of Sage 4.3.2.alpha1, ticket #6532 upgrades R to version 2.10.1.
From what I gather, after installing an R package, one needs to restart
Sage:
> > It didn't say to use the command `r.restart()`.
>
> Yes, that is a change I made since r.restart() didn't work, but in the
source it is commented that this ''should'' work.
Yikes! Turns out that...
{{{
## <entry>
## Deprecated in 1.6.0
## Defunct in 1.7.0
machine <- function() .Defunct()
Machine <- function() .Defunct(".Machine")
Platform <- function() .Defunct(".Platform")
restart <- function() .Defunct("try")
## </entry>
}}}
Note that R is now at version 2.10.1! So this is the problem here. The
restart() thing must be very old - and odd, since the function that
replaced it was try (for exception handling. Anyway, if reset() is good
enough, that is fine - no need to do r.foo() if a normal Sage command does
it well enough. I'll work on a patch for this.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7771#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.