First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 13 years ago

Mike Hansen gravatar image

If you've done

%r
a <- c(1,2,3)

in one notebook cell. You can just do

r('a')._sage_()

to get back the list [1, 2, 3]. This is a bit easier than using RElement.