2.9 KiB
reshape2 1.4.4
- Fix R CMD check failure in R-devel.
Version 1.4.3
-
Fix C/C++ problems causing R CMD CHECK errors.
-
melt.data.frame()
throws when encountering objects of typePOSIXlt
, and requests a conversion to the (much saner)POSIXct
type.
Version 1.4.2
- Minor R CMD check fixes for CRAN.
Version 1.4.1
-
melt.data.frame()
now properly sets the OBJECT bit onvalue
variable generated if attributes are copied (for example, when multiple POSIXct columns are concatenated to generate thevalue
variable) (#50) -
melt.data.frame()
can meltdata.frame
s containinglist
elements asid
columns. (#49) -
melt.data.frame()
no longer errors whenmeasure.vars
isNULL
or empty. (#46)
Version 1.4
-
dcast()
andacast()
gain a useful error message if you usevalue_var
intead ofvalue.var
(#16), and ifvalue.var
doesn't exist (#9). They also work better with.
in specifications like. ~ .
orx + y ~ .
-
melt.array()
creates factor variables with levels in the same order as the original rownames (#19) -
melt.data.frame()
gains an internal Rcpp / C++ implementation, and is now many orders of magnitudes faster. It also preserves identical attributes for measure variables, and now throws a warning if they are dropped. (Thanks to Kevin Ushey) -
melt.data.frame()
gains afactorsAsStrings
argument that controls whether factors are converted to character when melted as measure variables. This isTRUE
by default for backward compatibility. -
melt.array()
gains aas.is
argument which can be used to prevent dimnames being converted withtype.convert()
-
recast()
now returns a data frame instead of a list (#45).
Version 1.2.2
-
Fix incompatibility with plyr 1.8
-
Fix evaluation bug revealed by knitr. (Fixes #18)
-
Fixed a bug in
melt
where it didn't automatically get variable names when used with tables. (Thanks to Winston Chang)
Version 1.2.1
- Fix bug in multiple margins revealed by plyr 1.7, but caused by mis-use of data frame subsetting.
Version 1.2
-
Fixed bug in melt where factors were converted to integers, instead of to characters
-
When the measured variable is a factor,
dcast
now converts it to a character rather than throwing an error.acast
still returns a factor matrix. (Thanks to Brian Diggs.) -
acast
is now much faster, due to fixing a very slow way of naming the output. (Thanks to José Bartolomei Díaz for the bug report) -
value_var
argument toacast
anddcast
renamed tovalue.var
to be consistent with other argument names -
Order
NA
factor levels before(all)
when creating margins -
Corrected reshape citation.
Version 1.1
-
melt.data.frame
no longer turns characters into factors -
All melt methods gain a
na.rm
andvalue.name
arguments - these previously were only possessed bymelt.data.frame
(Fixes #5)