[R] Reading multiple text files where some files are empty

2010-08-30 Thread Paul
Hi All, I have a problem with reading in multiple text files where some of the files have no data and was hoping someone may be able to help me find a solution. Each text file is a daily log of fish movement. However, on some occasions no movements will be recorded on a particular day and theref

Re: [R] Reading multiple text files where some files are empty

2010-08-30 Thread Michael Sumner
What about trimming the file list based on a minimum size? You can also use the arguments to list.files to get only certain patterns in file names, and otherwise you can put a condition in the function passed to lapply to return NULL, which will rbind ok, or process x in a similar way. a <- a[file

Re: [R] online documentation only?

2010-08-30 Thread Deepayan Sarkar
On Mon, Aug 30, 2010 at 1:16 PM, Bob McCall wrote: > > Thanks for the replies. I tried help.start() and ?foo but my browser opened > and was blank. It just said can't open site as I was offline. Must be my > system. I'll try again. Maybe I can get it sorted out. Maybe the install was > bad. I hav

Re: [R] Reading multiple text files where some files are empty

2010-08-30 Thread Jeff Newmiller
Perhaps ?try can help... "Paul" wrote: > >Hi All, > >I have a problem with reading in multiple text files where some of the files >have no data and was hoping someone may be able to help me find a solution. > >Each text file is a daily log of fish movement. However, on some occasions >no movemen

[R] cannot allocate vector of size 381.5 Mb

2010-08-30 Thread rusers.sh
Hi, I read some posts from the mailing list on the same problem, but it seems that i still cannot solve this problem. I only want to generate some simulated data. #Generate 2500 observations-it works without errors > coords<-as.matrix(expand.grid(seq(0,100,length.out=50), seq(0,100,length.out=50)

Re: [R] online documentation only?

2010-08-30 Thread Petr PIKAL
Hi You shall also check setting of your browser, especially proxy. Sometimes help system interacts with particular setting and produce errors or does not start at all. Regards Petr r-help-boun...@r-project.org napsal dne 30.08.2010 22:16:17: > > Thanks for the replies. I tried help.start()

<    1   2