ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 25 Mar 2013 10:37:39 +0100How can I use aplpack in http://www.sagenb.org/https://ask.sagemath.org/question/9915/how-can-i-use-aplpack-in-httpwwwsagenborg/I tried to plot statistics homework in sagenb and my home computer. I put
install.packages("aplpack", lib="/my/own/R-packages/")
library(aplpack)
bagplot(cbind(a_d,i_d),pch=16,cex=2)
But now I got an error
Traceback (click to the left of this block for traceback)
...
NameError: name 'install' is not defined
I'm using Ubuntu 12.10. How can I plot scatter plots or bagplots in Sage?Mon, 25 Mar 2013 10:10:41 +0100https://ask.sagemath.org/question/9915/how-can-i-use-aplpack-in-httpwwwsagenborg/Comment by kcrisman for <p>I tried to plot statistics homework in sagenb and my home computer. I put</p>
<pre><code>install.packages("aplpack", lib="/my/own/R-packages/")
library(aplpack)
bagplot(cbind(a_d,i_d),pch=16,cex=2)
</code></pre>
<p>But now I got an error</p>
<pre><code>Traceback (click to the left of this block for traceback)
...
NameError: name 'install' is not defined
</code></pre>
<p>I'm using Ubuntu 12.10. How can I plot scatter plots or bagplots in Sage?</p>
https://ask.sagemath.org/question/9915/how-can-i-use-aplpack-in-httpwwwsagenborg/?comment=18014#post-id-18014You probably didn't use the drop down menu to change "sage" to "R". Also, for plots there are some things you may have to do to make sure the graphics show up, see the documentation.Mon, 25 Mar 2013 10:37:39 +0100https://ask.sagemath.org/question/9915/how-can-i-use-aplpack-in-httpwwwsagenborg/?comment=18014#post-id-18014