Skip to content
Prev 42998 / 398506 Next

Changing workspace from within an R session

Attaching at position 1 does not work in R, as you have found.  That is in 
?attach, and in the FAQ.

As the FAQ says, using save()d objects (read-only) can do quite a lot of 
this.  You could also save the workspace, clear it, and load another saved 
image ... but it is probably easier to restart R.
On Tue, 20 Jan 2004 gerald.jean at dgag.ca wrote: