[R] Saving R files

David Parkhurst parkhurs at imap.iu.edu
Sun Mar 9 01:45:47 CET 2014


Sometimes I don't understand the details of writeups I get, with ?save 
and the like.  Anyway, that's my problem now.

Can I do this (in Windows 7) to save everything that comes up with ls(), 
guessed at by what I find with ?rm:

save(list=ls(),file="C:\am\myfiles\ProjectA.RData")

Or would I need forward slashes, but this would otherwise work?  If not, 
how could I accomplish this goal?

David



More information about the R-help mailing list