Jason Grout wrote:
>
> So it looks like MASS is installed. Do you know a command I can check
> it with?
Indeed, it appears that it works and loads the MASS library:
sage: import rpy2.rpy_classic as rpy
sage: r=rpy.r
sage: rpy.set_default_mode(rpy.BASIC_CONVERSION)
sage: r.library('MASS')
['MASS',
'stats',
'graphics',
'grDevices',
'utils',
'datasets',
'methods',
'base']
sage: r.DDT
[2.79,
2.9300000000000002,
3.2200000000000002,
3.7799999999999998,
3.2200000000000002,
3.3799999999999999,
3.1800000000000002,
3.3300000000000001,
3.3399999999999999,
3.0600000000000001,
3.0699999999999998,
3.5600000000000001,
3.0800000000000001,
4.6399999999999997,
3.3399999999999999]
(DDT is a dataset included in the MASS package; see
http://stat.ethz.ch/R-manual/R-patched/library/MASS/html/00Index.html)
Jason
--
Jason Grout
--
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-support
URL: http://www.sagemath.org