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

jia ding dingjia at gmail.com
Fri Mar 17 16:54:15 CET 2006


On 3/17/06, jia ding <dingjia at gmail.com> 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
>




More information about the R-help mailing list