Re: [R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-17 Thread Tony Breyal
Hi All, thank you so very much for your help, i have now got it working! I thought that i had replied already but i don't think it got through so this is a repost of it for anyone who does a search on this topic... After adding the directory to the path variable, i should have restarted my

Re: [R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-16 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Hello, I was just wondering if you had found a solution? I am having the same difficulty of converting pdf's into plain text documents in R. I originally thought I could use the readLines() function, but as you can see below that did not work. Why the hell should it?

Re: [R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-16 Thread [EMAIL PROTECTED]
I never said it *should* work. I was simply trying something out that works on other types of files I've needed in the past (eg: html, csv, dat, etc.). I don't know the details of the pdf format, but I thought it was worth a try, certainly no harm in experimenting, and hence I learned that pdfs

Re: [R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-16 Thread Tony Breyal
Hi, Uwe -- ahh, thank you kindly, I was able to do a web search after reading your post above in order to find a guide on how to set the path in windows (i wasn't aware that this is how a file is made avaiable to the system). I haven't got it to work yet, but at least i'm on the right track! also

Re: [R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-16 Thread joris meys
Try putting PATH under name, and the directory path (not the file) under value. That looks more appropriate to me... Kind regards Joris Meys On Sun, Nov 16, 2008 at 8:41 PM, Tony Breyal [EMAIL PROTECTED] wrote: Hi, Uwe -- ahh, thank you kindly, I was able to do a web search after reading

Re: [R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-16 Thread Gabor Grothendieck
There is information on http;//batchfiles.googlecode.com on setting your PATH. On Sun, Nov 16, 2008 at 2:41 PM, Tony Breyal [EMAIL PROTECTED] wrote: Hi, Uwe -- ahh, thank you kindly, I was able to do a web search after reading your post above in order to find a guide on how to set the path

Re: [R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-16 Thread Uwe Ligges
Tony Breyal wrote: Hi, Uwe -- ahh, thank you kindly, I was able to do a web search after reading your post above in order to find a guide on how to set the path in windows (i wasn't aware that this is how a file is made avaiable to the system). I haven't got it to work yet, but at least i'm

Re: [R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-16 Thread Tony Breyal
Hi Gabor, yes, i used the link from that website to figure out the steps to setting my path: http://www.computerhope.com/issues/ch000549.htm but i'm still doing something wrong it seems (see my last post in response to Joris). Cheers, Tony Breyal On 16 Nov, 20:07, Gabor Grothendieck [EMAIL

Re: [R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-16 Thread Tony Breyal
Hi Joris, there is already a variable called 'Path', therefore i appended the directory path to the other strings already in the value section: Name: Path Value: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem; %SystemRoot%\system32\nls;%SystemRoot%\system32\nls\ENGLISH;C:\Program

Re: [R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-16 Thread Tony Breyal
Hi Uwe, that is what i have now done, following the sugestion from Joris, but unfortuantly that hasn't worked. Cheers, Tony Breyal Ps. i would like to appologise, i am replying to these posts through google.groups.co.uk and there is a delay beween me posting a reply and that post appearing in

Re: [R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-16 Thread Gabor Grothendieck
The PATH is a list of directories, not filenames. It will look for files in those directories. The easiest method discussed on the batchfiles site is to use the Redmond utility. You may or may not need to exit R and start it up again once you have set your path. If your programs are self

Re: [R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-16 Thread joris meys
Hi Tony, You can name several variables 'Path' without problems. So you best restore the original variable PATH to its original value (or it ain't going to work any more) and just add a new one, call that PATH as well, and add the directory C:\Program Files\xpdf , like Uwe already suggested.

Re: [R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-15 Thread [EMAIL PROTECTED]
Hello, I was just wondering if you had found a solution? I am having the same difficulty of converting pdf's into plain text documents in R. I originally thought I could use the readLines() function, but as you can see below that did not work. R my.destfile - C:\\Documents and

[R] readPDF() -- unsure how to install xpdf to make this work?

2008-11-13 Thread Tony Breyal
Dear R-Help, I need to convert a set of '.pdf' files into an equivalent set of '.txt' files. This is so that i can do some text mining on the content. In the latest R-News letter (http://cran.r-project.org/doc/Rnews/ Rnews_2008-2.pdf), the package 'tm' for text mining is mentioned. In that