Re: [sage-support] Invoking Lisp from within Sage

2010-04-13 Thread Minh Nguyen
Hi Adam, On Wed, Apr 14, 2010 at 6:20 AM, Adam Getchell wrote: > Anyways, help, advice, flames appreciated. You can find some responses to your questions in this thread: http://groups.google.com/group/sage-support/browse_thread/thread/36120295b1e3f0e7 -- Regards Minh Van Nguyen -- To pos

Re: [sage-support] Invoking Lisp from within Sage

2010-04-13 Thread Robert Bradshaw
On Apr 13, 2010, at 11:20 PM, Adam Getchell wrote: Hi all, I realize this maybe a bit of an insane question, but I'm looking for a way to use ecl within sage besides: ./sage -ecl I have googled for relevant results, but documentation on sage.interfaces.lisp seems broken right now: http

[sage-support] Invoking Lisp from within Sage

2010-04-13 Thread Adam Getchell
Hi all, I realize this maybe a bit of an insane question, but I'm looking for a way to use ecl within sage besides: ./sage -ecl I have googled for relevant results, but documentation on sage.interfaces.lisp seems broken right now: http://sage.math.washington.edu/home/mhansen/sage-epydoc/sage.in

Re: [sage-support] Yamanouchi words

2010-04-13 Thread Alex Ghitza
I'm cc-ing this to sage-combinat-devel since they might have a better idea about this. Alex On Tue, 13 Apr 2010 21:47:09 -0700 (PDT), Drini wrote: > I'm confused about > http://www.sagemath.org/doc/reference/sage/combinat/yamanouchi.html > it's documentation for 4.3.5 but it's been the same si

[sage-support] Yamanouchi words

2010-04-13 Thread Drini
I'm confused about http://www.sagemath.org/doc/reference/sage/combinat/yamanouchi.html it's documentation for 4.3.5 but it's been the same since 4.3.1 Is there a class? functions? or is it just a random note about those words? -- To post to this group, send email to sage-support@googlegroups.com

[sage-support] Re: converting an R vector to a list

2010-04-13 Thread rickhg12hs
x.sage() works great too! On Apr 13, 12:20 pm, ablondin wrote: > I answered myself. > It suffices to call sageobj on it. > > sage: x = r.c([1,2,3]) > sage: x > [1] 1 2 3 > sage: list(x) > [[1] 1, [1] 2, [1] 3] > sage: > sage: > sage: > sage: sageobj(x) > [1, 2, 3] > sage: type(sageobj(x)) > > >

Re: [sage-support] Re: Problems to susbstitute a function

2010-04-13 Thread Eckhard Kosin
Hi, Am Montag, den 12.04.2010, 21:11 -0700 schrieb Alec Mihailovs: > On Apr 12, 5:57 pm, Eckhard Kosin > wrote: > > > I think I understand: After > > > > expr(x) = sin(x) > > > > expr is a symbolic expression and can be differentiated and the same > > goes for sin after > > > > sin(x) = sin(x)

Re: [sage-support] Re: Where does evaluation happen in drop-down system menu in notebook?

2010-04-13 Thread Tim Joseph Dumol
On Wed, Apr 14, 2010 at 1:26 AM, kcrisman wrote: > > > > > Hi, > > > > The culprit of your problem is in sagenb.notebook.worksheet._eval_cmd, > which > > tells the R interpreter to switch to the cell directory, when in fact it > > should switch to the /tmp/ directory of the cell. I'll post a quic

[sage-support] Re: Where does evaluation happen in drop-down system menu in notebook?

2010-04-13 Thread kcrisman
> > Hi, > > The culprit of your problem is in sagenb.notebook.worksheet._eval_cmd, which > tells the R interpreter to switch to the cell directory, when in fact it > should switch to the /tmp/ directory of the cell. I'll post a quick patch in > a moment. > Hi Tim, Thanks for the very fast work!

Re: [sage-support] Where does evaluation happen in drop-down system menu in notebook?

2010-04-13 Thread Tim Joseph Dumol
On Tue, Apr 13, 2010 at 10:20 PM, kcrisman wrote: > Dear support, > > John Verzani (an R developer and user who was on the open source panel > in DC) and I have been working on #7665, to support R graphics as much > as possible, especially in the notebook. It turns out that relatively > minor ch

[sage-support] Re: converting an R vector to a list

2010-04-13 Thread ablondin
I answered myself. It suffices to call sageobj on it. sage: x = r.c([1,2,3]) sage: x [1] 1 2 3 sage: list(x) [[1] 1, [1] 2, [1] 3] sage: sage: sage: sage: sageobj(x) [1, 2, 3] sage: type(sageobj(x)) Thanks anyway ! On 13 avr, 10:23, ablondin wrote: > Dear Sage community, > I'm trying to use th

[sage-support] converting an R vector to a list

2010-04-13 Thread ablondin
Dear Sage community, I'm trying to use the R interface (which means I have to learn R as well) and it's not going too bad, but I have no idea how I can transform an R object (a vector) to get the associated list. For instance, if I type sage: x = r.c([1,2,3]) sage: x [1] 1 2 3 sage: list(x) [[1] 1,

[sage-support] Where does evaluation happen in drop-down system menu in notebook?

2010-04-13 Thread kcrisman
Dear support, John Verzani (an R developer and user who was on the open source panel in DC) and I have been working on #7665, to support R graphics as much as possible, especially in the notebook. It turns out that relatively minor changes to interfaces/r.py and the skpg-install yield major impro