Skip to content

graphics device with record=TRUE

10 messages · Kasper Daniel Hansen, Simon Urbanek, Richard M. Heiberger +1 more

#
On Jul 4, 2012, at 11:12 PM, Richard M. Heiberger wrote:

            
There is a graphics stack, whose default depth is 10, and you can  
scroll backward with cmd-<left-arrow>  ... at least in the R64.app and  
r.app GUI's.
#
On Thu, Jul 5, 2012 at 9:42 AM, David Winsemius <dwinsemius at comcast.net> wrote:
When the quartz window is in focus I get (this is R compiled myself
and started from Terminal.  The same from within emacs):

On the menu bar I get headings
...
R
Edit
Quartz
Window

Edit has submenus copy and paste which are very nice if you want to
save the plot
Quartz has submenus Back and Forward bound to Apple + Left/Right arrow
#
On Jul 5, 2012, at 9:42 AM, David Winsemius wrote:

            
R-devel/src/library/grDevices/src/qdCocoa.m at 37:

#define histsize 16

so, yes, it is hard-coded in R.

It is not part of the R.app GUI but actually of the Quartz device in R itself so it is not configurable.

It simply saves display lists and replays them as you go back - you can do that with any device that has display lists enabled (see dev.control). I'm not sure what Rich is up to but you can always save and restore plots with GEcreateSnapshot and GEplayDisplayList regardless of the device and the display list is just an R object. Keeping more than 16 plots seems a little tedious to go through ...

Cheers,
Simon
#
On Jul 5, 2012, at 1:44 PM, Richard M. Heiberger wrote:

            
No, because it is not fixed. The FAQ is part of the GUI and thus in the GUI bundle. It has nothing to do with R and R can exist (and does) without the GUI so you can't link to it from R. It is trivially accessible directly form the Help menu - I don't see how it can be more obvious=.
Well, it certainly doesn't make sense to introduce Windows idiosyncrasies to Mac - if you convert to Mac you will need to buy into the "just-works" philosophy. If you are trying to recreate your Windows environment, you have already failed and should go back :).

Cheers,
Simon