[sage-support] Re: ggplot(mtcars, aes('factor(cyl)')) does not work

2014-10-14 Thread kcrisman
> > Hello, > > %python does not resolve this problem unfortunately. > I understand that "pre-parser" is a difficult problem. > I tried the following, which works. > > r('library(ggplot2)') > r('p <- ggplot(mtcars, aes(x = factor(cyl))) + geom_bar()') > r('plot(p)') > > Well, %python definitely wou

[sage-support] Re: ggplot(mtcars, aes('factor(cyl)')) does not work

2014-10-13 Thread sato365
Hello, %python does not resolve this problem unfortunately. I understand that "pre-parser" is a difficult problem. I tried the following, which works. r('library(ggplot2)') r('p <- ggplot(mtcars, aes(x = factor(cyl))) + geom_bar()') r('plot(p)') Thanks, Yoshihiro Sato -- You received this mess

[sage-support] Re: ggplot(mtcars, aes('factor(cyl)')) does not work

2014-10-13 Thread Dominique Laurain
Hello, I have not the ggplot package installed in my SAGE cloud projects (as given by SAGE cloud wiki,needs network access or upload package)...but... Can you try with %python at first line in cell ? The idea is to disable the SAGE cloud "pre-parser" (in short about it : overloading of some