I want to do operation with ff vector from packages ff like simple operation
in R like this. (I have read data from file)
Example 
a=1:10
b=a[a>5]

how to do this operation with ff packages:
Example :
a=ff(1, length=15*10^7)

I know that I could get logical vector like this:

k=bit(15*10^7) # from bit packages
a=ff(-1,15*10^7)
system.time(
                for (i in chunk(a)){ k[i]<- a[i]<1}
)

Any suggestions?

Best,
Krystian



--
View this message in context: 
http://r.789695.n4.nabble.com/Use-logical-expresion-on-ff-object-tp3752127p3752127.html
Sent from the R devel mailing list archive at Nabble.com.

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to