#12948: Get R interface to properly accept keywords
------------------------------+---------------------------------------------
       Reporter:  kcrisman    |         Owner:  was     
           Type:  defect      |        Status:  new     
       Priority:  major       |     Milestone:  sage-5.1
      Component:  interfaces  |    Resolution:          
       Keywords:  r-project   |   Work issues:          
Report Upstream:  N/A         |     Reviewers:          
        Authors:              |     Merged in:          
   Dependencies:              |      Stopgaps:          
------------------------------+---------------------------------------------

Comment (by kcrisman):

 > You need to use double quotes for strings when passing them into the
 interface.  Otherwise, {{{speed}}} will be treated as an "identifier"
 rather than a string.  There were some thought on changing this, but it is
 backwards incompatible and should be made consistent across interfaces.
 Hmm, thanks.  Somehow I figured this out a long time ago but completely
 forgot - at the very least we need better doc!  So is this true for all
 the interfaces?

 Also, you should post these answers on the ask.sagemath.org question.
 Since they're yours :-)
 > Additionally,
 {{{
 r('cars')['"speed"']
 }}}
 > also works.

 Oh my!  That is somewhat surprising, but great.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12948#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to