Re: [sage-support] Re: Difference between var('x') and x=var('x')?

2011-06-17 Thread Volker Braun
I just fixed it in the patch on #7496: sage: var('2x') --- ValueErrorTraceback (most recent call last) /home/vbraun/opt/sage-4.7.1.alpha2/devel/sage-main/ in () /home/vbraun/Sage/sage/local/

Re: [sage-support] Difference between var('x') and x=var('x')?

2011-06-17 Thread William Stein
On Fri, Jun 17, 2011 at 7:54 AM, Jacare Omoplata wrote: > In some tutorials, when a variable is declared, it is done like, > > var('x') > > In some others, it is done like, > > x = var('x') > > What is the difference between the two, if any? If you are writing code to include in .py files, then

[sage-support] Re: install R packages on OS X

2011-06-17 Thread Kirill Vankov
After four and a half hours of compillation my sage looks good, even though I received one warning message "dvipng command 'dvipng' cannot be run (needed for math display), check the pngmath_dvipng setting" The R-package installation option works. Starting sage in terminal do not produce Detecte

Re: [sage-support] Re: Difference between var('x') and x=var('x')?

2011-06-17 Thread Burcin Erocal
On Fri, 17 Jun 2011 08:10:26 -0700 (PDT) Harald Schilly wrote: > you can also create invalid variable names, i.e. the ones starting > with a number: > > sage: var('2x') > 2x > > sage: 2x > >File "", line 1 > 2x > ^ > Sy

[sage-support] MLDemos & Machine Learning & Sage

2011-06-17 Thread Owen Densmore
MLDemos is a collection of learning algorithms for data classification: http://mldemos.epfl.ch/ I'm wondering how difficult it would be to bring this package into Sage? I realize there is no all-things-for-all-people math package, but I suspect the author of the project was not aware of

[sage-support] Re: install R packages on OS X

2011-06-17 Thread kcrisman
> > > The workaround for you is pretty simple, though it will take a few > > > hours of sleep for it to happen. > > > > 1) Download the *source* to Sage, e.g. > > > athttp://www.sagemath.org/download-source.html > > > 2) Follow the instructions to build Sage from source.  It consists of > > > goi

[sage-support] Re: Difference between var('x') and x=var('x')?

2011-06-17 Thread kcrisman
Harald explained this :) > Also, is it better to ask this kind of basic question in the Asksage > forum or the sage-support mailing list? Either one is fine. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubsc

[sage-support] Re: Difference between var('x') and x=var('x')?

2011-06-17 Thread Harald Schilly
the difference is, that var(..) itself already injects a variable with that name into the global namespace, where the other one is an assignment. i.e. z = var('y') gives you a variable y (named "y") and a variable z with the name "y" sage: z = var('y') sage: z y sage: y y you can also create i

[sage-support] Difference between var('x') and x=var('x')?

2011-06-17 Thread Jacare Omoplata
In some tutorials, when a variable is declared, it is done like, var('x') In some others, it is done like, x = var('x') What is the difference between the two, if any? Also, is it better to ask this kind of basic question in the Asksage forum or the sage-support mailing list? Thanks for your

[sage-support] Re: install R packages on OS X

2011-06-17 Thread George
On 17 June, 06:07, Kirill Vankov wrote: > > > Detected SAGE64 flag > > > Building Sage on OS X in 64-bit mode > > > Does this happen every time you start Sage?  That is odd. > > Yes, it does.  But I really had never noticed, since usually I start > sage not from terminal > > > down.  Presumably yo

[sage-support] Re: install R packages on OS X

2011-06-17 Thread Kirill Vankov
> > Detected SAGE64 flag > > Building Sage on OS X in 64-bit mode > > Does this happen every time you start Sage?  That is odd. Yes, it does. But I really had never noticed, since usually I start sage not from terminal > down.  Presumably you have no directories like the ones in > > '/Users/buil

[sage-support] Re: gap packages and sage

2011-06-17 Thread Enrique Artal
Hi Dimitrii and Simon, Finally I was able to compile the package nq (after installing glibc and gmp static versions). I installed also alnuth and polycyclic, but the order gap_reset_workspace() is not enough in my installation. I will try other solutions. Best, Enrique. On 16 jun, 18:44, Simon Ki