Ask Your Question

Thomas Ward's profile - activity

2013-03-01 08:54:27 +0200 received badge  Supporter (source)
2013-03-01 08:52:14 +0200 commented answer Passing array from sage to R and back again

Thanks for that fidelbc, perfect it solved the problem. The R tos age inerface is slow for passing lots of DATA but it did work. By the way I found that r.install_packages in the current sage release doesn't want the double quotes inside the single quotes, it just wants single quotes.

2013-02-26 09:46:49 +0200 received badge  Student (source)
2013-02-26 05:10:13 +0200 asked a question Passing array from sage to R and back again

Good Morning

I am trying to pass data from sage to R and then received the result back

y=asarray(y)
r.install_packages('"ismev"')
r.library('ismev')
gv=r.get_fit('y')
gv

I have tried various ways to do this but non of them work Has anyone else managed to do this?

Thanks for any help

By the way to get install_packages to work you need to do sage -f r from a terminal after installing sage. I think this could be added to the documentation.