Skip to content
Prev 263171 / 398502 Next

profile plot in R

Hi Dennis,
It looks like something is wrong about configuration of ggplot dependency with plyr.Since i saw some threads about this particular error message.
I tried several times by installing different versions of plyr but it did not work.

========
?sampledata= matrix(c(1.002, 1.76, 0.67, 0.99, 1.38, 1.0, 0.5, 0.78, 1.003,0.57, 0.99, 0.58, 0.76, 1.23, 1.45, .78,1.43, 1.34, 1.0, 0.9), ncol = 5, dimnames = list(c("cond1", "cond2","cond3", "cond4"), c("col1","col2", "col3", "col4", "col5")))
sdata <- melt(sampledata)?? # melt method for matrices
sdata$grp <- factor(c('grp1', 'grp1', 'grp2', 'grp3'))
?sdata$time <- rep(1:5, each = 4)
? 
?library(ggplot2)
?h <- ggplot(sdata, aes(time, value))
h + geom_point(aes(colour = cond), size = 2.5) + geom_line(aes(colour = cond), size = 1)
Error in get("make_aesthetics", env = x, inherits = TRUE)(x, ...) : 
? could not find function "empty"


?sessionInfo()
R version 2.10.1 (2009-12-14) 
x86_64-apple-darwin9.8.0 

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] grid????? stats???? graphics? grDevices utils???? datasets? methods?? base???? 

other attached packages:
[1] plyr_1.1????? ggplot2_0.8.9 proto_0.3-8?? reshape_0.8.3

loaded via a namespace (and not attached):
[1] tools_2.10.1


Any suggestions ?

Vickie S

----------------------------------------