Re: [R] extracting data from a list of unformatted text files

2008-11-20 Thread ravi
lt;[EMAIL PROTECTED]> Cc: r-help@r-project.org Sent: Thursday, 20 November, 2008 14:35:10 Subject: Re: [R] extracting data from a list of unformatted text files Here is a way to process the file.  You will have to add the loop, error checking, piecing multiple files together, and determination of th

Re: [R] extracting data from a list of unformatted text files

2008-11-20 Thread jim holtman
Here is a way to process the file. You will have to add the loop, error checking, piecing multiple files together, and determination of the end of the data: > x <- "I give below a sample of the kind of the information in the text file : + + #(a lot of preceding text) + 2008-10-01 06

[R] extracting data from a list of unformatted text files

2008-11-20 Thread ravi
Hi, I want to extract information from a number of text files in a folder. The files are named as : 82534.txt, 82555.txt, 8282787.txt etc. I give below a sample of the kind of the information in the text file : #(a lot of preceding text) 2008-10-01  06:30:12                2 of 3 pag