[R] Deleting .RData files

Paul Emberson email at calidasoft.co.uk
Sat Jul 25 13:19:13 CEST 2009


Hi John,

You can use

rm(object)

to delete a specific object from the current environment and then save
your workspace again without those objects

ls()

to see a list of objects could also be useful

Regards,

Paul

John Seppänen wrote:
> Hi all! I have accidentially saved few objects when I have closed workspace
> and clicked from "save workspace image" "Yes". Now I would like to delete
> the .RData files so that workspace wouldnt restore the unwanted objects
> everytime I open the workspace.
> 
> I know i could delete the corresponding .RData files but the problem is that
> I don't know which of the files contain the objects i'd like to delete.
> 
> I apologize for the newbie question but I haven't found a satisfactory
> answer from Google or R documents..
> 
> Thanks!
> John
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list