Hi,

Maybe I am doing something wrong.  I used to work with rpy and it
worked fairly well.  I am having trouble with the new R interface.
For example, I can't explain why:

r.summary(r.c(1,2,3,11,2,3,4,5))

works perfectly fine but:

x = r.cbind(1, 1:7)

gives me a syntax error and

y = r.apply(x,2,median)

tells me
NameError: name 'median' is not defined

All of these functions work well if I switch the entire notebook to
evaluate cells using R.
Where can I found documentation on the R interface, I specially need
info for moving large arrays from sage to R and vice versa. (with rpy,
one could use the array function or assign function and use
No_Conversion to get R objects in memory)

Thanks

Shahab

P.S. I am using Sage 3.0 running on OpenSuse 10.3
I also had to comment out the test for the R_HOME script in the R file
located in the bin directories for Sage and local/lib/R in order to be
able to install various R packages.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to