Hi Celeb. Many thanks for your advice. Unfortunately Cython does not work on Sage install on Windows VMPlayer. Greetings Tad
2011/1/4 <sage-support+nore...@googlegroups.com>: > Today's Topic Summary > > Group: http://groups.google.com/group/sage-support/topics > > Ring Problem [4 Updates] > how to enable plotting in R [1 Update] > Sage.app 4.6 on Mac [1 Update] > kind request [1 Update] > > Topic: Ring Problem > > Santanu Sarkar <sarkar.santanu....@gmail.com> Jan 04 06:39PM +0530 ^ > > How one can define the ring Z_5 (modular ring) in Sage? > > > > kcrisman <kcris...@gmail.com> Jan 04 06:52AM -0800 ^ > > Try > > sage: IntegerModRing? > > to see documentation for this. > > sage: R = IntegerModRing(5) > sage: R(2)+R(4) > 1 > sage: R(2)*R(4) > 3 > > > Hope this helps, > > - kcrisman > > On Jan 4, 8:09 am, Santanu Sarkar <sarkar.santanu....@gmail.com> > wrote: > > > > Simon King <simon.k...@uni-jena.de> Jan 04 08:48AM -0800 ^ > > Hi! > > Integers(n) is the same (but shorter): > > sage: Integers(5) is IntegerModRing(5) > True > > Cheers, > Simon > > > > Volker Braun <vbraun.n...@gmail.com> Jan 04 09:33AM -0800 ^ > > You can even shave off two more key strokes and type: > > sage: ZZ.quo(5) > Ring of integers modulo 5 > > :-) > > > > Topic: how to enable plotting in R > > emil <emil.widm...@gmail.com> Jan 04 09:19AM -0800 ^ > >> > > elucidation. > >> > > I'm not sure whether this will help, but it should help understand >> > > what the problem is, anyway. > > OK, > i compiled sage from scratch without any special options and plotting > works > r.capabilities() gives the same results as the separate R build. > That solves the problem for now - thanks. > > What I can't understand is why this is not working in the precompiled > ubuntu binaries and VM image (without warning). It would have been > convenient to use those binaries, but it is no problem to compile sage > for every version from scratch. > > > > Topic: Sage.app 4.6 on Mac > > Ivan Andrus <darthand...@gmail.com> Jan 04 05:29PM +0100 ^ > > On Dec 30, 2010, at 2:08 PM, Ivan Andrus wrote: > >>> So if the user has ~/bin already in his path, then this could be done >>> without administrative rights. > >> I think this is what install_scripts() does, but I could be wrong. >> Actually I just read the code of install_scripts() and it requires sage be >> in PATH so that is not an option after all. > >> I suppose I can have them choose a directory which is in their PATH and >> make a symlink there. Maybe I could just have them choose from either ~/bin >> or /usr/local/bin. If they need something other than those they can figure >> it out themselves. > > Okay, I have put up a patch at > http://trac.sagemath.org/sage_trac/ticket/10556 > where there is a screen shot so you can give feedback, at least on wording > etc., without having to build it. > > It's a button with options of ~/bin and /usr/local/bin to install a symlink. > Then it just runs the command in a shell so that they can type in their > password if needed and see any output that there may be. It's not > particularly pretty, but it should do the trick. > > -Ivan > > > > Topic: kind request > > caleb <case...@gmail.com> Jan 03 09:47AM -0800 ^ > > Hello Tadeusz, > > Cython should already be installed and is very easy to use from within > the SAGE notebook, simply by beginning the evaluation cell that > contains your code with %cython transparently compiles your code see > the following examples > > http://docs.cython.org/src/quickstart/build.html > http://openwetware.org/wiki/Open_writing_projects/Sage_and_cython_a_brief_introduction > > I don't know how to install imagemagic any other way than building a > sage source package, sorry. > > Caleb Miles > > > > -- > To post to this group, send email to sage-support@googlegroups.com > To unsubscribe from this group, send email to > sage-support+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org > -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org