[Rd] idea (PR#7345)

dan at bolser.co.uk dan at bolser.co.uk
Fri Nov 5 13:18:05 CET 2004


Full_Name: Dan B
Version: 2
OS: Fedora 2
Submission from: (NULL) (80.6.127.185)




It would be great if something like

currentPlot <- edit(par)

allowed dynamic changes to the 'currentPlot', which I am using as some kind of
'magic' keyword in the above context. i.e. the value of 'currentPlot' is
actually an alias for whatever the current graphical object is. 

calling the above command would open the edit pannel for the par options
relevant to whatever the currentPlot object was. 

The changes made to par would trigger an automatic redraw of the plot, to allow
dynamic editing. After the changes were made and edit closed, a copy of the
edited par could be taken to allow the settings to be automatically applied in
the future.

Dynamic editing of all object variables could be supported through this
mechanism to allow a very flexible overall control of graphical objects.



More information about the R-devel mailing list