Hello,

> I noticed quite bad random behaviour when passing strings as argument,
> check this simple example attached below, when passing numbers all is
> ok, but on strings it just works crazy, if there is some other way to
> pass string to R interpreter, is there way to do this automatically?

To send a string to R, you currently need to enclose it in two sets of quotes:

sage: r('"Hello"')
[1] "Hello"

There is a ticket related to this that I made awhile back but haven't
been able to work on (and I haven't thought about the implications for
other interfaces enough):
http://trac.sagemath.org/sage_trac/ticket/2963

--Mike

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@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-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to