[R] FW: Are there any guis out there, which will allow editing of the graph?

Bert Gunter gunter.berton at gene.com
Mon Aug 4 21:18:29 CEST 2008


Well, just goes to show you how much I know! Glad you were able to get some
help.

-- Bert 

-----Original Message-----
From: Arthur Roberts [mailto:aroberts99163 at yahoo.com] 
Sent: Monday, August 04, 2008 12:05 PM
To: Bert Gunter
Subject: Re: [R] Are there any guis out there,which will allow editing of
the graph?

Dear Bert,

I heard from several commentators that you can actually edit Figures  
by a variety of means.  I tried Inkscape and it seems to work pretty  
well.

Best wishes,
Art

On Aug 4, 2008, at 10:09 AM, Bert Gunter wrote:

> No. Can't be. Editable graphs require that the graph be produced via  
> code
> that produces changeable components. All R graphs are essentially  
> static.
>
> That said, caveats: graphs drawn via the grid package functionality  
> -- for
> example lattice graphs -- **are** produced via changeable code. If  
> you read
> the lattice docs carefully, you'll see that there are a few features  
> there
> that allow some graph editing. There may be other packages that also  
> have
> some editing capabilties. R's base graphics also allow a little  
> interaction
> via identify() and locator(), which can be useful (e.g. for  
> positioning
> legends).
>
> One can also "simulate" interactivity by recording various  
> components of
> graph construction and then modifying and redrawing them. But this  
> is just
> manually doing what you're looking for, so probably a dumb suggestion.
>
> While graph editing certainly can be a nice feature, it is very  
> difficult to
> implement without severely constraining graphing flexibility (IMO, of
> course). Graphs are very complex beasties, so it's hard to write  
> clean code
> that allows flexibile editing capabilities. Look at S-Plus's graph  
> editing,
> which I always found harder to use (and more buggy) than just  
> issuing the
> commands. (To be fair, it's been some years since I tried).
>
> Again, just my 2 bits. Others may well disagree (and perhaps point  
> you to
> what you seek).
>
> Cheers,
> Bert
>
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org 
> ] On
> Behalf Of Arthur Roberts
> Sent: Monday, August 04, 2008 9:51 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Are there any guis out there,which will allow editing  
> of the
> graph?
>
> Hi, all,
>
> 	I would like to know if there is any gui interface out there
> (academic or commercial) that allows one to edit R-language generated
> graphs (e.g positioning x axis labels.)  It would be nice to have
> something like the user interface of Igor or Origin.  I have already
> used JGR and R-gui.  These are good, but they don't allow one to
> easily edit graphs.  I have also tried locator() and the package
> iplots.  Your input is greatly appreciated.
>
> Best wishes,
> Art Roberts
> University of Washington
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list