Displaying 1 result from an estimated 1 matches for "demodata".
Did you mean:
demogdata
2010 Jan 07
1
A question about the ff package
Hi,
I am using version 2.1-1 of the ff package.
I have a data set with 80 million rows and I need to create a new ffdf
object, subseting by values in one of the original ffdf's columns. Here is
my code:
bigData <- read.table.ffdf(file="/data/demodata/data/smallData.txt",
next.rows=1e5, head=TRUE, sep="|")
dim(bigData)
N <- nrow(bigData);N
select <- ff( vmode='logical', length=N, update=FALSE)
for (i in chunk(bigData, from=1, to=N, by=1e5))
select[i] <- ifelse(bigData[i,]$C.2 > 0.5, TRUE, FALSE)
bd <- big...