[Rd] Use logical expresion on ff object

From: Krystian Radlak <radler12_at_op.pl>
Date: Thu, 18 Aug 2011 02:09:59 -0700 (PDT)

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

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

                for (i in chunk(a)){ k[i]<- a[i]<1}

Any suggestions?


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_at_r-project.org mailing list
Received on Thu 18 Aug 2011 - 09:11:49 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 18 Aug 2011 - 14:00:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive