Re: [R] incomplete final line found on

2012-02-03 Thread Dimitri Liakhovitski
Thank you, Michael - it worked - it was exactly what I was looking for. Thank you, David - I added the link to my toolbar - and sorry, you are right, I should have searched more. Dimitri On Fri, Feb 3, 2012 at 4:52 PM, David Winsemius wrote: > Dimitri. > > This has been asked a whole bunch of tim

Re: [R] incomplete final line found on

2012-02-03 Thread David Winsemius
Dimitri. This has been asked a whole bunch of times on this list. Do a search on the text in the error message if you doubt me. I have this link on my toolbar: R-search: http://search.r-project.org/cgi-bin/namazu.cgi?query=&max=100&result=normal&sort=score&idxname=Rhelp10&idxname=Rhelp08&id

Re: [R] incomplete final line found on

2012-02-03 Thread R. Michael Weylandt
Try opening the file up in a text editor and inserting a blank line or two on the end. (There's either an EOL or EOF character missing and this trick usually works for me -- never sure why/when it happens though) Michael On Fri, Feb 3, 2012 at 4:23 PM, Dimitri Liakhovitski wrote: > Dear R-ers, >

[R] incomplete final line found on

2012-02-03 Thread Dimitri Liakhovitski
Dear R-ers, I hope there is a really simple solution to my problem. I've written a function that I saved in an .r file. I source this file in my code. For a while it worked fine. But then when I run the line: source("F mylineplot.r") I started getting a warning: In readLines(file) : incomplete f