Closed
Description
Error in ggplot2 running R 3.1.1:
install.packages("ggplot2")
library(ggplot2)
a<-1:3
b<-4:6
c <- as.data.frame(cbind(a,b))
qplot(a,b,data=c)
This yields the following error:
Error in list2env(members, envir = e) :
names(x) must be a character vector of the same length as x
Please note that I'm running R on a Windows Machine with mapped network drives, as such UNC paths are not supported in R and I made appropriate changes in the .Renviron file using R_LIBS.
Session Info as below:
sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: i386-w64-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252
LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
LC_TIME=English_Australia.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ggplot2_2.0.0
loaded via a namespace (and not attached):
[1] colorspace_1.2-6 grid_3.1.1 gtable_0.1.2 munsell_0.4.2
plyr_1.8.3 Rcpp_0.12.2 scales_0.3.0 tools_3.1.1
Metadata
Metadata
Assignees
Labels
No labels