On Apr 29, 2008, at 5:03 PM, Gregory Warnes wrote:
> There are a couple of solutions. One, as you describe, is to
> construct an R expression in a string and have R evaluate the
> string. Another solution is to create the data frame object
> without names, then add the names in a separate
Hello Andrew,
The basic problem you are encountering is that python uses a
dictionary to store named parameters to function calls. Python's
dictionaries don't preserve order, just name-value correspondence.
As a consequence calling an R function with named arguments loses the
ordering.