Re: [R] Reading table data from PDF files

2012-02-03 Thread jim holtman
I think a lot would depend on exactly how the data is formatted. I have used 'pdf2text' converters (many freely available on the web) to convert to text and then use R to read-in/preprocess the data to get it into a format to process. You can invoke these converter with the 'system' function and

[R] Reading table data from PDF files

2012-02-03 Thread Bryan McCloskey
All, Is anyone familiar with a way to use R to read table data from a large collection of PDF files? I'm aware there are various command lines and desktop utilities that might be able to (e.g.,) dump PDFs to text, which could then be parsed for table data. But I'm hoping there is something more

Re: [R] reading table

2009-12-02 Thread Sharpie
Theodore Kengne wrote: > > Hi there, > > I am completely new in R. > I am trying to read a table that has no feature, so cannot put it in Excel > as usual. > Could you explain what you mean by "has no feature"? I cannot figure out what this phrase means in relation to the data set you are tr

[R] reading table

2009-12-02 Thread Theodore Kengne
Hi there, I am completely new in R. I am trying to read a table that has no feature, so cannot put it in Excel as usual. I saved it as a txt file on the same root as my R program with the name pro.txt. Now I am looking to import it in my program as a matrix by excluding the column titles, and the

Re: [R] reading table

2008-01-09 Thread Gabor Grothendieck
Read in lines using readLines, delete all T and G characters and reread using read.table: Lines.raw <- "T 3 0---- -- T ---- -- 18.98 3 1 6.75 4.3939 ---- -- 18.58 3 2 6.90 4.9043 ---- -- 18.63 3 3 7.07 5.3948 ----

[R] reading table

2008-01-09 Thread Abi Ghanem josephine
Hi, I am encountering a problem in reading a file, the file looks like that: T 3 0 -- -- --T -- -- -- 18.98 3 1 6.75 4.3939 -- -- -- 18.58 3 2 6.90 4.9043 -- -- -- 18.63 3 3