From the search, I see that calling R from Sage pretty simple. However, I cannot find the Sage call information from R For example, suppose I have an expression R that I would like to distinguish, say
temp <- expression(x + x^2)
How can I send this to a sage and split it and send the expression R? I would like the result to be pretty much equivalent
D(temp,'x')
I searched for CRAN and google and found nothing. I hope there will be a better solution than something based on the system function. I saw that there is R support for yacas , but I'm interested in Sage .
I am using 64-bit Ubuntu.
Thanks!
source share