Re: [R] plyr and table question

2009-04-03 Thread ts8
baptiste auguie-2 wrote: > > > ddply(d, .(website), transform, count = table(user_id)) # why two new > columns? > > Try this to see why: as.data.frame(table(d$user_id)) This works more like you expect: ddply(d, .(website), transform, count = unclass(table(user_id))) - Tom -- View

Re: [R] Problem with ggplot2

2008-12-17 Thread ts8
I'm also getting this error with ggplot2_0.8.1 on winXP with R 2.8.0 and R 2.7.1. hadley wrote: > > Hi David, > > I inadvertently introduced a bug in ggplot in the last release. I > uploaded a fix to CRAN this morning and it should be available in the > near future. Sorry for the inconveni