[R] bug in 'margins' behavior in reshape - cast

mfrumin michael at frumin.net
Thu Jul 31 14:46:18 CEST 2008


sounds great.  there are often times I'd like to use reshape on data frames
of hundreds of thousands or millions of rows, but I have found that it is
just too slow at this point to be convenient.

thanks again for everything,
Mike



hadley wrote:
> 
> On Thu, Jul 31, 2008 at 4:59 AM, Michael Frumin <michael at frumin.net>
> wrote:
>> thanks, that workaround, well, works!
>>
>> what are you working on with the rewrite?  just efficiency?  or major
>> changes in functionality/interface?
> 
> I've come up with a strategy that makes reshape _much_ faster - 10-20x
> for pure reshaping and 3-5x for aggregating - while reducing the
> amount of code and making it much easier to understand how it works.
> I'm also fixing a few small deficiencies in functionality that have
> been bugging me for a while.  The interface will remain basically the
> same.
> 
> Hadley
> 
> 
> -- 
> http://had.co.nz/
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 

-- 
View this message in context: http://www.nabble.com/bug-in-%27margins%27-behavior-in-reshape---cast-tp18737649p18753788.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list