Displaying 3 results from an estimated 3 matches for "asffdf_arg".
Did you mean:
asffdf_args
2010 Dec 24
1
How to specify ff object filepaths when reading a CSV file into a ff data frame.
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 content of the
file is as following:
col1,col2,col3
1,"amber",2.4
2,"linda",4.5
I tried the following code, hoping ff will create the physical files
for col1,col2 and col3 to D:/a.f,D:/b.f,D:/c.f respectively...
2010 Jun 11
1
ff package when reading .csv files
...to read a large .csv file into R. I ran the following code and am
using R version 10.1 on Windows.
>library(ff)
> read.csv.ffdf(x=NULL,"file.csv",fileEncoding="",nrows=-1,first.rows=NULL,next.rows=NULL,levels=NULL,appendLevels=TRUE,FUN="read.table",transFUN=NULL,asffdf_args=list(),BATCHBYTES=getOption("ffbatchbytes"),VERBOSE=FALSE)
Error in read.table.ffdf(FUN = "read.csv", ...) :
formal argument "FUN" matched by multiple actual arguments
Can anyone help me to fix this error. Thanks in advance.
--
View this message in context: http...
2013 Feb 27
0
How to specify ff object filepaths when reading a CSV file into a ff data frame.
...my.as.ffdf.data.frame,
ns="ff", envir=as.environment("package:ff"))
assign("as.ffdf.data.frame", my.as.ffdf.data.frame, as.environment("package:ff"))
lockBinding("as.ffdf.data.frame", as.environment("package:ff"))
asffdf_args=list(col_args=list(
list(filename = "tmp/a.ff", overwrite=TRUE, readonly=TRUE),
list(filename = "tmp/b.ff", overwrite=TRUE, readonly=TRUE)))