Hello all,
I spent the weekend experimenting with the faithful.py example at
http://rpy.sourceforge.net/rpy_demo.html. I have made much progress
getting parts of it to work. The following is a summary of issues to
date:
1) rpy does not read the two-digit minor release number in the current
version of R. This group informed me of a patch, which I just learned of
this morning. Since I am just starting into the RPy world, I think I will
move forward with rpy2.
2) rpy2 does not appear to understand the following code from the
example:
for k in edsummary.keys():
print k + ": %.3f" % edsummary[k]
3) rpy2 does not deal with the "dot" conversion in the same way as rpy.
This is a big hurtle for me. The "faithful" example uses the following R
objects:
r.dev_off()
r.shapiro_test()
r.ks_test()
I have studied the rpy2 documentation on this issue and am still not
understanding how I access these R objects. It seems the first thing I
need is the importr package, which does not appear to be available in the
rpy2 version I am using (rpy2-2.0.8.win32-py2.6.msi). I tried to install
one of the latest alpha releases on my Windows 7 machine but could not get
it to work. Can anyone tell me how to access the above objects in rpy2
(2.0.8) ? Since I am new to python as well as rpy, it seems patching
packages or using the build tools is a bit beyond me.
John A. Schroeder
Idaho National Laboratory
Battelle Energy Alliance, LLC
P.O. Box 1625
Idaho Falls, ID 83415-3850
Ph: 208-526-8755
FAX: 208-526-2930
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list