[sage-support] Re: upgrading R in sage ?

2013-01-24 Thread Dima Pasechnik
On 2013-01-24, Emmanuel Charpentier wrote: > --=_Part_98_13353589.1359068876230 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > > Le jeudi 24 janvier 2013 21:01:33 UTC+1, Emmanuel Charpentier a =E9crit : > >> [ Snip... ] >> > Any advice ?=20 >> >>

Re: [sage-support] upgrading R in sage ?

2013-01-24 Thread Emmanuel Charpentier
Go for it! Create a Trac ticket and post a new spkg. Done. That's ticket #14008 now. Still incomplete (lacking the patches for doctests, which will be done probably tomorrow). -- You received this message because you are subscribed to the Go

Re: [sage-support] upgrading R in sage ?

2013-01-24 Thread Emmanuel Charpentier
Le jeudi 24 janvier 2013 21:01:33 UTC+1, Emmanuel Charpentier a écrit : > [ Snip... ] > > Any advice ? > >> Go for it! Create a Trac ticket and post a new spkg. >> > > I will do that. But not immediately : RealLife(TM) has its exigences... > > [ Later ] almost done : dropping the new source cod

[sage-support] Re: VirtualBox and computer class

2013-01-24 Thread Jason Grout
On 1/24/13 1:37 PM, William Stein wrote: On Thu, Jan 24, 2013 at 8:39 AM, Jason Grout wrote: On 1/23/13 10:35 AM, Dima Pasechnik wrote: Think of the load sagenb.org can hold (it's a single machine, you know...), surely it can handle many hundreds of users doing things at the same time. I t

Re: [sage-support] upgrading R in sage ?

2013-01-24 Thread Emmanuel Charpentier
[ Snip... ] > Any advice ? > Go for it! Create a Trac ticket and post a new spkg. > I will do that. But not immediately : RealLife(TM) has its exigences... Emmanuel Charpentier -- You received this message because you are su

[sage-support] Re: Problems while upgrading from 5.5 to 5.6

2013-01-24 Thread Emmanuel Charpentier
Dear Volker, Le jeudi 24 janvier 2013 17:46:38 UTC+1, Volker Braun a écrit : > > Can you post the full log of the failed attempt? Unfortunately no : the /home/sage/sage-5.5/install.log file has the log of the initial install , some (unsuccessful) attempts to install database_gap-4.5.7 and a (s

Re: [sage-support] Re: VirtualBox and computer class

2013-01-24 Thread William Stein
On Thu, Jan 24, 2013 at 8:39 AM, Jason Grout wrote: > On 1/23/13 10:35 AM, Dima Pasechnik wrote: >> >> Think of the load sagenb.org can hold (it's a single machine, you >> know...), >> surely it can handle many hundreds of users doing >> things at the same time. > > > I think there are usually not

Re: [sage-support] Formal power of one matrix

2013-01-24 Thread Stephen Montgomery-Smith
See attachment. Mathematica also has a MatrixExp command, and on 2 by 2 matrices the answers are really nice. For example, if the matrix has complex eigenvalues, the answers are written in terns of Sin and Cos rather than exponentials of complex numbers. On 01/24/13 11:20, Christophe BAL wr

Re: [sage-support] upgrading R in sage ?

2013-01-24 Thread Jeroen Demeyer
On 2013-01-24 17:38, Emmanuel Charpentier wrote: > Since a couple of versions ago, the package installation mechanism in R > has changed, and some packages are no longer installable. Case in point > : rjags, which needs code, whose installation fro CRAN packages will > fail due to different "lazy l

[sage-support] Re: the way of displaying complex numbers in SAGE

2013-01-24 Thread pong
On Tuesday, January 22, 2013 9:28:25 PM UTC-8, pong wrote: > > I have two simply questions about displaying complex numbers in sage: > > 1) Is there a good reason why the imaginary part of a complex number comes > before its real part in sage? > e.g. sage: 1+i >I+1 > > 2) Is ther

Re: [sage-support] Formal power of one matrix

2013-01-24 Thread Christophe BAL
I'm curious to see this output. Can you send it ? 2013/1/24 Stephen Montgomery-Smith > On 01/24/13 08:57, Christophe BAL wrote: > >> Hello, >> I would like, if it is possible, to calculate the formal power of one >> matrix ? >> >> My attempt is after but it doesn't work... :-( >> >> Christophe >

Re: [sage-support] Formal power of one matrix

2013-01-24 Thread Stephen Montgomery-Smith
On 01/24/13 08:57, Christophe BAL wrote: Hello, I would like, if it is possible, to calculate the formal power of one matrix ? My attempt is after but it doesn't work... :-( Christophe == var('n') assume(n, 'integer') E = matrix([ [0 , 1 , 0 , 0 , 0 ],

[sage-support] Re: upgrading R in sage ?

2013-01-24 Thread Volker Braun
Search for "r-project". We are trying to add that keyword to all R-related tickets. As you say, just searching for "R" is pointless ;-) On Thursday, January 24, 2013 4:38:08 PM UTC, Emmanuel Charpentier wrote: > > Since a couple of versions ago, the package installation mechanism in R > has ch

[sage-support] Re: Problems while upgrading from 5.5 to 5.6

2013-01-24 Thread Volker Braun
Can you post the full log of the failed attempt? On Thursday, January 24, 2013 4:27:30 PM UTC, Emmanuel Charpentier wrote: > > I tried to upgrade sage by 1) stopping the notebook server and 2) going > into my sage-5.5 directory (compiled fro source on debian (mostly) wheezy > on x86-64) and typ

Re: [sage-support] Re: Formal power of one matrix

2013-01-24 Thread Christophe BAL
@Jason : thanks for the trick ! 2013/1/24 Christophe BAL > You're right ! > > Sorry for my "spam". > > Christophe > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to sage-support@googlegroups.com. To unsubsc

[sage-support] Re: VirtualBox and computer class

2013-01-24 Thread Jason Grout
On 1/23/13 10:35 AM, Dima Pasechnik wrote: Think of the load sagenb.org can hold (it's a single machine, you know...), surely it can handle many hundreds of users doing things at the same time. I think there are usually not more than 200 simultaneous worksheets. Thanks, Jason -- You recei

Re: [sage-support] Re: Formal power of one matrix

2013-01-24 Thread Christophe BAL
You're right ! Sorry for my "spam". Christophe -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send email to sage-support+unsubscr...@googlegr

[sage-support] upgrading R in sage ?

2013-01-24 Thread Emmanuel Charpentier
Since a couple of versions ago, the package installation mechanism in R has changed, and some packages are no longer installable. Case in point : rjags, which needs code, whose installation fro CRAN packages will fail due to different "lazy loading" management. Reading the SPKG file of the stan

[sage-support] Problems while upgrading from 5.5 to 5.6

2013-01-24 Thread Emmanuel Charpentier
I tried to upgrade sage by 1) stopping the notebook server and 2) going into my sage-5.5 directory (compiled fro source on debian (mostly) wheezy on x86-64) and typing "sage -upgrade" : Sage asked for confirmation and started to download and compile. About 20 minutes later, I goty a series of er

[sage-support] Re: Formal power of one matrix

2013-01-24 Thread Jason Grout
On 1/24/13 9:29 AM, Ivan Andrus wrote: Unfortunately, finding the Jordan form finds numeric instead of exact eigenvalues even though it is possible to find exact values in your case. You can use QQbar as the base ring to get exact eigenvalues: http://aleph.sagemath.org/?z=eJzLTSwpyqzQCAxMSizSi

Re: [sage-support] Formal power of one matrix

2013-01-24 Thread Ivan Andrus
I don't think such a thing is possible in the way you are hoping for. My suggestion would be to find the Jordan normal form (and save the conjugating matrix by passing `transformation=True`). Your matrix is diagonalizable so you can then take a formal exponential of that (though you may have to

[sage-support] Formal power of one matrix

2013-01-24 Thread Christophe BAL
Hello, I would like, if it is possible, to calculate the formal power of one matrix ? My attempt is after but it doesn't work... :-( Christophe == var('n') assume(n, 'integer') E = matrix([ [0 , 1 , 0 , 0 , 0 ], [1/4 , 0 , 3/4 , 0 , 0 ], [0 , 1/

[sage-support] Re: VirtualBox and computer class

2013-01-24 Thread P Purkayastha
On 01/24/2013 07:58 PM, Dima Pasechnik wrote: Our servers weren't physical hardware either, they were VMWare virtual hosts; 12GB was the limit VMWare supported (that's why we couldn't do with just one instance). Indeed, this way you only really use the hardware for the class, and in the remainin

[sage-support] Re: VirtualBox and computer class

2013-01-24 Thread Dima Pasechnik
On 2013-01-24, Jori Mantysalo wrote: > On Wed, 23 Jan 2013, Dima Pasechnik wrote: > >>> There is no problem when students do something on their own. But when ~20 >>> of them are sitting at a computer class and trying to do something at the >>> same time, we run out of memory. > >> in our experienc

Re: [sage-support] Re: VirtualBox and computer class

2013-01-24 Thread Jori Mantysalo
On Wed, 23 Jan 2013, Dima Pasechnik wrote: There is no problem when students do something on their own. But when ~20 of them are sitting at a computer class and trying to do something at the same time, we run out of memory. in our experience 30 people per server, with 12GB of RAM, worked OK.