On Jan 24, 2008 7:32 AM, Jacob Hicks <[EMAIL PROTECTED]> wrote:
> After playing with histograms for a while in sage, I have started to delve
> into the source and documentation of rpy.  I want to make it work more
> seamlessly with sage than it does now.  My first priority, which would be of
> immediate use to me in the classroom, is to make rpy graphics insert
> themselves into the notebook interface in a manner similar to the behavior
> matplot has now.  Depending on how that goes, I may also want to clean up
> the way rpy interacts with sage in general and work on using R extensions.

Just a quick remark.  The way that notebook images work is that
all png, jpg, etc. images that get output to os.curdir when a cell
gets evaluated, will *automatically* appear as images embedded
in the notebook.  You don't have to do anything else but that.

E.g., if you have a command foo such that foo(filename) writes
an image to the file with name filename, then

foo(os.curdir + '/image.png')

will result in an image being embedded in the notebook.  Simple
as that.

> I have a computer science background, but am a little rusty and have never
> worked on a major project in python.  This makes working on sage seem
> daunting.  I have looked over the programmer's guide but am still not quite
> sure how everything works.  Are there any other good places to search for
> help about sage's overall structure / getting started in a project like this
> one?

You of course need to read the Python tutorial if you haven't already.
Also, the Sage programming guide is supposed to be what you want
(though whether it is is arguable):
    http://sagemath.org/doc/html/prog/index.html

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to