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

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Wed, 16 May 2007 14:55:20 -0400

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
> >
> >
>
>
>



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 16 May 2007 - 18:57:58 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 16 May 2007 - 20:35:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.