Re: [Rd] Use logical expresion on ff object

From: Łukasz Ręcławowicz <lukasz.reclawowicz_at_gmail.com>
Date: Thu, 18 Aug 2011 18:42:52 +0200

2011/8/18 Krystian Radlak <radler12_at_op.pl>

>
> Mayby it's possible to do the same thing easier...
>
> You shouldn't be disappointed ;-)

> a=ff(1, length=15*10^6)
> k=bit(15*10^6)
> a=ff(2,15*10^6)
> system.time(k<-a[,chunk(1,length(a),1e4)]<1)
user system elapsed
0.40 0.23 0.72

-- 
Miłego dnia

	[[alternative HTML version deleted]]


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

Received on Thu 18 Aug 2011 - 16:47:50 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 Fri 19 Aug 2011 - 12:40: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