[rkward-users] [Help] Problems with ggplot2 in RKwad
SourceForge.net
noreply at sourceforge.net
Thu Mar 3 15:35:29 UTC 2011
The following forum message was posted by aloboaleu at http://sourceforge.net/projects/rkward/forums/forum/165574/topic/4394509:
Hi!
I've just found that while
p <- ggplot(mtcars, aes(factor(cyl), mpg))
works fine in a raw R console, I get the following error in the Rkward console:
> p <- ggplot(mtcars, aes(factor(cyl), mpg))
Error: object 'mpg' not found
Warning message:
failure to get object y
> mpg[1,]
manufacturer model displ year cyl trans drv cty hwy fl class
1 audi a4 1.8 1999 4 auto(l5) f 18 29 p compact
> sessionInfo()
R version 2.12.2 (2011-02-25)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.utf8 LC_NUMERIC=C
[3] LC_TIME=en_US.utf8 LC_COLLATE=en_US.utf8
[5] LC_MONETARY=en_US.utf8 LC_MESSAGES=en_US.utf8
[7] LC_PAPER=en_US.utf8 LC_NAME=en_US.utf8
[9] LC_ADDRESS=en_US.utf8 LC_TELEPHONE=en_US.utf8
[11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=en_US.utf8
attached base packages:
[1] grid stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] ggplot2_0.8.9 proto_0.3-8 reshape_0.8.4 plyr_1.4 rkward_0.5.5
loaded via a namespace (and not attached):
[1] tools_2.12.2
Any fix to this?
Agus
More information about the Rkward-users
mailing list