I've figured out the problem and just pushed a new version up to CRAN. It will (hopefully) be available from mirrors in a couple of days time.
Hadley On Tue, Nov 4, 2008 at 8:29 AM, stephen sefick <[EMAIL PROTECTED]> wrote: > no problem- keep up the good work. > > On Tue, Nov 4, 2008 at 9:25 AM, hadley wickham <[EMAIL PROTECTED]> wrote: >> Hi Stephen, >> >> Thanks for the bug report (and apologies for the delay getting back to >> you). I'm working on a fix today and will hopefully release a new >> version in the very near future. >> >> Hadley >> >> On Fri, Oct 31, 2008 at 12:51 PM, stephen sefick <[EMAIL PROTECTED]> wrote: >>> Hadley et al., >>> I was using the cast function to reshape some data (aggregate a melted >>> data frame) and I did not put in the fill and for the most part the >>> values that came out were fine, but there were value great than an >>> order of magnitude from the actual value. When I put in the fill >>> argument everything is okay. I don't provide a reproducible example >>> because the data set is to large to post to the list, but if you would >>> like to see it then I can provide it. >>> >>> #this works >>> cast(x, Date+RiverMile+location~Order, sum, fill=0) >>> >>> #this doesn't >>> cast(x, Date+RiverMile+location~Order, sum) >>> >>> >>> >>> R version 2.8.0 (2008-10-20) >>> i386-pc-mingw32 >>> >>> locale: >>> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United >>> States.1252;LC_MONETARY=English_United >>> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 >>> >>> attached base packages: >>> [1] splines grid stats graphics grDevices utils >>> datasets methods base >>> >>> other attached packages: >>> [1] ggplot2_0.7 MASS_7.2-44 RColorBrewer_1.0-2 >>> proto_0.3-8 reshape_0.8.1 plyr_0.1.1 >>> >>> >>> thanks >>> >>> -- >>> Stephen Sefick >>> Research Scientist >>> Southeastern Natural Sciences Academy >>> >>> Let's not spend our time and resources thinking about things that are >>> so little or so large that all they really do for us is puff us up and >>> make us feel like gods. We are mammals, and have not exhausted the >>> annoying little problems of being mammals. >>> >>> -K. Mullis >>> >> >> >> >> -- >> http://had.co.nz/ >> > > > > -- > Stephen Sefick > Research Scientist > Southeastern Natural Sciences Academy > > Let's not spend our time and resources thinking about things that are > so little or so large that all they really do for us is puff us up and > make us feel like gods. We are mammals, and have not exhausted the > annoying little problems of being mammals. > > -K. Mullis > -- http://had.co.nz/ ______________________________________________ R-help@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.