>
> 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 wouldn't work since this is an R package!  There 
are several ways to use optional R libraries; you may also want to try 

r.library('ggplot2') 

or something similar.  Good luck! 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to