Re: [R] incomplete final line found by readTableHeader

2012-10-24 Thread Shane2012
Thanks, JeffThis is from a course, but the course is just needed to take some slides for presentation. I just learn R by myself, and want this skill more practical. So I try to use the innovative way to perform a more professional presentation.hence, no worry about the homework support issue.

Re: [R] incomplete final line found by readTableHeader

2012-10-24 Thread Milan Bouchet-Valat
Le mardi 23 octobre 2012 à 20:36 -0700, Shane2012 a écrit : Thanks, Jeff This is from a course, but the course is just needed to take some slides for presentation. I just learn R by myself, and want this skill more practical. So I try to use the innovative way to perform a more professional

[R] incomplete final line found by readTableHeader

2012-10-23 Thread Shane2012
Hello, I am trying to read in an Excel file that I saved as a .csv so I can analyze my assignment data! I am getting really frustrated because this is what I keep getting: Warning message: In read.table(CityData.CSV, sep = /, header = T) : incomplete final line found by readTableHeader on

Re: [R] incomplete final line found by readTableHeader

2012-10-23 Thread Jeff Newmiller
Keep in mind that this is NOT a homework support list... you are supposed to use the support provided by your educational institution if you are in a course. Read the posting guide mentioned in the footer of every email. FWIW, as described your problem is with Excel, and this is not an Excel

Re: [R] incomplete final line found by readTableHeader

2012-10-23 Thread David Winsemius
On Oct 23, 2012, at 8:12 PM, Jeff Newmiller wrote: Keep in mind that this is NOT a homework support list... you are supposed to use the support provided by your educational institution if you are in a course. Read the posting guide mentioned in the footer of every email. FWIW, as

[R] incomplete final line found by readTableHeader on 'test.csv'

2012-02-16 Thread chuck.01
Hello, I have recently had issues with read.csv where i get the following warning, and this happens on both my OSX and Linux machines. Here is the warning and an example CSV file is attached: Warning message: In read.table(file = file, header = header, sep = sep, quote = quote, : incomplete

Re: [R] incomplete final line found by readTableHeader on 'test.csv'

2012-02-16 Thread Berend Hasselman
On 17-02-2012, at 05:58, chuck.01 wrote: Hello, I have recently had issues with read.csv where i get the following warning, and this happens on both my OSX and Linux machines. Here is the warning and an example CSV file is attached: Warning message: In read.table(file = file, header =

[R] incomplete final line found on name of my sourced function file

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

Re: [R] incomplete final line found on name of my sourced function file

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

Re: [R] incomplete final line found on name of my sourced function file

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:

Re: [R] incomplete final line found on name of my sourced function file

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 dwinsem...@comcast.net wrote: Dimitri. This has been asked

Re: [R] incomplete final line found warning

2011-12-11 Thread Prof Brian Ripley
On Sun, 11 Dec 2011, David Winsemius wrote: On Dec 10, 2011, at 10:01 PM, Xiaobo Gu wrote: without following the posting guide in several respects and hence leaving us guessing Hi, I saved the following as a UTF-8 encoded file named amberutil.r BTW, it is hard to know how you

Re: [R] incomplete final line found warning

2011-12-11 Thread Xiaobo Gu
On Sun, Dec 11, 2011 at 5:03 PM, Prof Brian Ripley rip...@stats.ox.ac.uk wrote: On Sun, 11 Dec 2011, David Winsemius wrote: On Dec 10, 2011, at 10:01 PM, Xiaobo Gu wrote: without following the posting guide in several respects and hence leaving us guessing Hi, I saved the

Re: [R] incomplete final line found warning

2011-12-11 Thread Berend Hasselman
Xiaobo.Gu wrote Hi, I saved the following as a UTF-8 encoded file named amberutil.r as.factor.loop - function(df, cols){ if (!is.null(df) !is.null(cols) length(cols) 0) { for(col in cols) { df[[col]] - as.factor(df[[col]])

[R] incomplete final line found warning

2011-12-10 Thread Xiaobo Gu
Hi, I saved the following as a UTF-8 encoded file named amberutil.r as.factor.loop - function(df, cols){ if (!is.null(df) !is.null(cols) length(cols) 0) { for(col in cols) { df[[col]] - as.factor(df[[col]]) }

Re: [R] incomplete final line found warning

2011-12-10 Thread David Winsemius
On Dec 10, 2011, at 10:01 PM, Xiaobo Gu wrote: Hi, I saved the following as a UTF-8 encoded file named amberutil.r as.factor.loop - function(df, cols){ if (!is.null(df) !is.null(cols) length(cols) 0) { for(col in cols) {

Re: [R] incomplete final line

2011-02-18 Thread mipplor
yepp,i have done as you said and run my test. but it seems something wrong with sources file. what it does mean? model1‐siarmcmcdirichletv4(data,sources,tef,concdep=0,50,5) Error in the sources file - check this is numeric. Problems with inputs: siar has not been run. Warning

Re: [R] incomplete final line

2011-02-17 Thread mipplor
thx for your suggestions , i have made it csv file,and it looks: data‐read.table('E:/my documents/r/1.csv',header=TRUE) Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 2 elements is there wrong with the data? -- View this message in

Re: [R] incomplete final line

2011-02-17 Thread Joshua Wiley
On Thu, Feb 17, 2011 at 12:35 AM, mipplor wang-p...@hotmail.com wrote: thx for your suggestions , i have made it csv file,and it looks: data‐read.table('E:/my documents/r/1.csv',header=TRUE) It looks like you could benefit from (re)reading my previous email. You either need to specify the

[R] incomplete final line

2011-02-16 Thread mipplor
Hi, I work like this: data‐read.table('E:/my documents/r/consumer.xls',header=TRUE) Warning message: In read.table(E:/my documents/r/consumer.xls, header = TRUE) : incomplete final line found by readTableHeader on 'E:/my documents/r/consumer.xls' could someone shoot the trouble for me ?

Re: [R] incomplete final line

2011-02-16 Thread Joshua Wiley
Hi, On Wed, Feb 16, 2011 at 10:11 AM, mipplor wang-p...@hotmail.com wrote: Hi, I work like this: data‐read.table('E:/my documents/r/consumer.xls',header=TRUE) Warning message: In read.table(E:/my documents/r/consumer.xls, header = TRUE) :  incomplete final line found by readTableHeader on

[R] incomplete final line found by readTableHeader

2010-04-08 Thread Leonardo K. Shikida
Hi I am trying this x - read.table(/home/kenji/1245/GDS1_2grps_.cls, header = F, skip = 2) x - read.table(/home/kenji/1246/MYCset.cls, header = F, skip = 2) Warning message: In read.table(/home/kenji/1246/MYCset.cls, header = F, skip = 2) : incomplete final line found by readTableHeader on

Re: [R] incomplete final line found by readTableHeader

2010-04-08 Thread David Winsemius
On Apr 8, 2010, at 2:14 PM, Leonardo K. Shikida wrote: Hi I am trying this x - read.table(/home/kenji/1245/GDS1_2grps_.cls, header = F, skip = 2) x - read.table(/home/kenji/1246/MYCset.cls, header = F, skip = 2) Warning message: In read.table(/home/kenji/1246/MYCset.cls, header = F, skip

Re: [R] incomplete final line found by readTableHeader

2010-04-08 Thread Leonardo K. Shikida
sorry, it was read, indeed. TIA Leonardo K. Shikida Vetta Labs +55(31)2551-6936 ext 203 http://www.vettalabs.com On Thu, Apr 8, 2010 at 3:43 PM, David Winsemius dwinsem...@comcast.net wrote: On Apr 8, 2010, at 2:14 PM, Leonardo K. Shikida wrote: Hi I am trying this x -

[R] incomplete final line

2008-09-03 Thread catherine workman
Hello, I am trying to read in an Excel file that I saved as a .csv so I can analyze my dissertation data! I am getting really frustrated because this is what I keep getting: In read.table(file = file, header = header, sep = sep, quote = quote, : incomplete final line found by readTableHeader

Re: [R] incomplete final line

2008-09-03 Thread Uwe Ligges
From each R-help message's footer: PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. And this is really required, since we cannot guess what you did, what the precise message is (ERROR or

Re: [R] incomplete final line

2008-09-03 Thread stephen sefick
try read.csv which is the same if you are using read.table with the sep=, . is the final line complete? You are welcome to send me the data and I can try and figur it out, but this is not a lot to go on. On Wed, Sep 3, 2008 at 11:00 AM, catherine workman [EMAIL PROTECTED] wrote: Hello, I am

Re: [R] incomplete final line

2008-09-03 Thread Duncan Murdoch
On 03/09/2008 11:00 AM, catherine workman wrote: Hello, I am trying to read in an Excel file that I saved as a .csv so I can analyze my dissertation data! I am getting really frustrated because this is what I keep getting: In read.table(file = file, header = header, sep = sep, quote = quote, :

[R] incomplete final line by readTableHeader?

2008-03-13 Thread Dai Nishikawa
Dear everyone I tried reading my own Excel spreadsheet data in R, but kept getting an warning message 'incomplete final line by readTableHeader'F:\mm1data.xls'. On viewing its rows and columns, only 'NA's were returned. Having difficult time with this problem for too long, any solution would