[R] Deleted objects keep coming back
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Wed Jan 26 01:47:29 CET 2005
"Ken Termiso" <jerk_alert at hotmail.com> writes:
> Ah! I think this is what happened -- whenever I restarted R, it would
> automatically load the previous workspace and its objects (call this
> workspace 1). Then, when I would attempt to load another workspace
> (call this workspace 2), it would retain the objects from workspace 1
> in ADDITION to the objects loaded from workspace 2.
>
> If I load up R, it will say previous workspace restored. If I then
> type >rm(list=ls()) to delete all objects, and then load another
> workspace, it will only have the objects from the workspace I loaded...
>
> Am I correct here?
Yes, but I think you'd be better off to learn about R's command line
argument in particular --no-restore and --vanilla. If you're not
starting R from the command line, I'm sure there's a way to pass
arguments anyway...
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list