search for: fwffile

Displaying 1 result from an estimated 1 matches for "fwffile".

2012 Sep 14
1
Any way to get read.table.ffdf() (in the ff package) to pass colClasses or comment.char parameters through to read.fwf() ?
...ide-r.org/packages/cran/ff/docs/read.table.ffdf>. I do not want comment.char = "#" -- the default for read.table(). I'm using R 2.15.1 x86_64-pc-mingw32/x64 (64-bit) on Windows 7. Thanks!! Anthony Damico Kaiser Family Foundation library(ff) # create a simple temporary file.. fwffile <- tempfile() # steal some example code from the documentation -- cat(file=fwffile, "123456", "987654", sep="\n") x <- read.fwf(fwffile, widths=c(1,2,3)) #> 1 23 456 \ 9 87 654 y <- read.table.ffdf(file=fwffile, FUN="read.fwf", widths=c(1,2,3)...