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? Thanks. -Christos Christos Hatzis, Ph.D. Nuvera Biosciences, Inc. 400 West Cummings Park Suite 5350 Woburn, MA 01801 Tel: 781-938-3830 www.nuverabio.com <http://www.nuverabio.com/>
'attach workspace' on R console File menu
6 messages · Henrique Dallazuanna, Gabor Grothendieck, Christos Hatzis
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-devel/attachments/20070516/8482b89c/attachment.pl
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
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
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
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