Re: [R] How to specify ff object filepaths when reading a CSV file into a ff data frame.

2013-02-27 Thread strexxx
Really old subject…, so, all my apologizes for digging up but, since I also ran into this… maybe this hack can be useful to someone I propose monkey patching here: library(ff) my.as.ffdf.data.frame <- function (x, vmode = NULL, col_args = list(), ...) { rnam <- attr(x, "row.names") if (is.in

Re: [R] How to specify ff object filepaths when reading a CSV file into a ff data frame.

2010-12-26 Thread Xiaobo Gu
Hi, I have done another simple test, I test the two syntext against a CSV file with only one column, both success, > fdf <- read.csv.ffdf(file="D:/rtemp/fftest2.csv",asffdf_args = list( col_args > = list(filename=c("F:/a.f" > fdf ffdf (all open) dim=c(2,1), dimorder=c(1,2) row.names=NULL ffd

[R] How to specify ff object filepaths when reading a CSV file into a ff data frame.

2010-12-24 Thread Xiaobo Gu
Hi, The read.csv.ffdf function in package ff will create the ff object physical file in the default directories, I am trying to let the files created in the paths users specify, I think the point is to make use of the asffdf_args parameter, I have a test CSV file named D:\rtemp\fftest.csv, the