[R] how can i see all the .Rdata files within R

2006-03-17 Thread jia ding
For example, I saved several .Rdata files with different names:
a.Rdata, b.Rdata ...  But, if I forget the specific file name, how can
I get all files list?

One more question about .R file:

 source(~/Desktop/allchapters.R,local=FALSE)
Error in parse(file, n = -1, NULL, ?) : syntax error at
135: names(airquality)
136: [

why?



Nina

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] how can i see all the .Rdata files within R

2006-03-17 Thread jia ding
On 3/17/06, jia ding [EMAIL PROTECTED] wrote:
 For example, I saved several .Rdata files with different names:
 a.Rdata, b.Rdata ...  But, if I forget the specific file name, how can
 I get all files list?

 One more question about .R file:

  source(~/Desktop/allchapters.R,local=FALSE)
 Error in parse(file, n = -1, NULL, ?) : syntax error at
 135: names(airquality)
 136: [



And I tried:
 load(~/Desktop/allchapters.R)
Error: bad restore file magic number (file may be corrupted) -- no data loaded

another error msg, I can not find explaination.




 why?



 Nina


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html