Re: [Rd] csv version of data in an R object

2012-04-22 Thread Gabriel Becker
Max, So it's not particularly readable, but I suspect it could be much faster ... #mydf is the data.frame args = as.list(mydf) args$sep = " , " out = paste(do.call("paste", args), collapse="\n") cat(out, file=myfilename) Hope that helps, ~G On Sat, Apr 21, 2012 at 12:59 PM, Barry Rowlingson < b

Re: [Rd] Sending lists using .C

2012-04-22 Thread Brian G. Peterson
On Sat, 2012-04-21 at 17:49 -0700, chris90nz wrote: <...> > I have written the following code which will let me pass it through > using .C > as two vectors, one containing the numbers contained in the lists all > concatenated, the other containing the indicies at which each list > starts. <...> > T