Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It just so happens that we have a few answers on this question for you. In this case something like

sage: a = r.read_table(header=True,text='"a b cd e f g\n 1 2 3 4 56 6"')
sage: a
  a b cd e  f g
1 1 2  3 4 56 6
sage: type(a)
<class 'sage.interfaces.r.RElement'>

could work. Using R keywords through Sage is tricky, though, it's true - go to that question and upvote the most useful answer!