[Rd] 'attach workspace' on R console File menu

Christos Hatzis christos at nuverabio.com
Wed May 16 21:21:36 CEST 2007


Yes, I found that out as well.  
Rebuilding the File menu is probably too much of a hassle and will introduce
dependencies that would be difficult to maintain.  I hope that the core team
would consider this request.

Thanks.
-Christos  

> -----Original Message-----
> From: Gabor Grothendieck [mailto:ggrothendieck at gmail.com] 
> Sent: Wednesday, May 16, 2007 2:55 PM
> To: christos at nuverabio.com
> Cc: r-devel at stat.math.ethz.ch
> Subject: Re: [Rd] 'attach workspace' on R console File menu
> 
> I think it would be possible but its a bit of work.  Note 
> that this deletes the original File menu and adds a new File 
> menu at the end.
> 
>    winMenuAdd("File")
>    winMenuDel("File")
> 
> By deleting all the original menus and replacing them in this 
> way and then tediously replacing the items on each menu I 
> think you could do it.
> I haven't tried it myself to check whether it really is 
> possible to add all the menu items.
> 
> On 5/16/07, Christos Hatzis <christos at nuverabio.com> wrote:
> > Thanks, Gabor.
> > This does not add a new item to the existing File menu, instead it 
> > creates a new user menu where the new item can be added.  
> Although not 
> > ideal, it is an acceptable workaround.
> >
> > Thanks.
> > -Christos
> >
> > > -----Original Message-----
> > > From: Gabor Grothendieck [mailto:ggrothendieck at gmail.com]
> > > Sent: Wednesday, May 16, 2007 1:34 PM
> > > To: christos at nuverabio.com
> > > Cc: r-devel at stat.math.ethz.ch
> > > Subject: Re: [Rd] 'attach workspace' on R console File menu
> > >
> > > On 5/16/07, Christos Hatzis <christos at nuverabio.com> wrote:
> > > > Quite often I save misc functions and data objects as 
> .RData files 
> > > > that I can use in other sessions.  Although I could 'Load
> > > Workspace"
> > > > these files, most of the times I prefer attaching them.  It
> > > would be
> > > > really convenient to have a menu item under the File 
> menu on the 
> > > > Windows R Console to allow attaching workspaces, e.g.
> > > >
> > > > --------------------
> > > > Attach Workspace...
> > > > Load Workspace...
> > > > Save Workspace...
> > > > --------------------
> > > >
> > > > Is this something that could make the wish list for future
> > > R Console
> > > > features?
> > >
> > > It is possible for you to set it up yourself in your 
> profile for R 
> > > under Windows. See ?winMenuAdd
> > >
> > >
> >
> >
> >
> 
>



More information about the R-devel mailing list