Skip to content
Prev 47714 / 63424 Next

Create dataframe in C from table and return to R

On 06/03/2014 1:47 PM, Sandip Nandi wrote:
What you are asking for isn't a normal dataframe.  Dataframe columns are 
vectors all of a type.  You want the first row to be a string, the 
second row to be an integer.  You can't do that with simple atomic 
columns, and you probably don't want to mess with the alternative (which 
is to have your columns be lists), because no user will know how to deal 
with that.

Duncan Murdoch