On 12 June 2010 12:10, Ben Goodrich <goodrich....@gmail.com> wrote: > > > On Jun 12, 6:38 am, David Kirkby <david.kir...@onetel.net> wrote: >> On 12 June 2010 04:06, Ben Goodrich <goodrich....@gmail.com> wrote: >> >> >> >> > If the goal were to test that the R functions in these packages are >> > working correctly, that is documented at >> >> >http://cran.r-project.org/doc/manuals/R-admin.html#Testing-a-Unix-Ins... >> >> > In particular, one might want to call >> >> > library(tools) >> >> That takes only 30 ms on sage.math, and 140 ms on my old SPARC, but >> generates no error on my broken Solaris installation. >> >> > testInstalledBasic("basic") >> >> How could I call that from Sage? On sage.math I get: >> >> sage: r.testInstalledBasic("basic") >> Error: object 'sage2' not found >> t > > Plane about to take off. Cannot check for sure. I think you need to > load the tools library first. Then you should see the test* functions > from Sage. > > Ben
kir...@sage:~$ /usr/local/bin/sage ---------------------------------------------------------------------- | Sage Version 4.4.3, Release Date: 2010-06-04 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: r.library('tools') sage: r.testInstalledBasic("basic") Error: object 'sage1' not found sage: r.testInstalledBasic('basic') Error: object 'sage2' not found sage: -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org