# Revision history [back]

This may not completely answer your question, but note that dot methods in R become underscores in Sage.

sage: r.read[tab]
<snip>
Docstring:

Data Input

Description:

Reads a file in table format and creates a data frame from it,
with cases corresponding to lines and variables to fields in the
file.

Usage:


I don't have your bar.txt, though, and unfortunately passing optional arguments can be tricky, sometimes calling for multiple levels of quotes, sometimes not. I've often used r.eval("R command") for that, like
r.eval('zsummin(loca.p(c(%s),c(%s),c(%s)),max.iter=400,algorithm="\%s")'%(str(exes)[1:-1],str(whys)[1:-1],str(prof)[1:-1],algorithm))