[R] help with problem

David L Carlson dcarlson at tamu.edu
Tue Oct 6 22:59:28 CEST 2015


You have a warning, not an error. The command ran but there was a problem with the .csv or .txt file. 

You should have a partial data set in R. Try using the str() function to see what variables and what rows were read. Adding the fill=TRUE argument to read.table() will pad incomplete rows with blanks, but you should check the data to make sure you have what you were expecting.

Without the data it is impossible to be sure, but you may have an incomplete line at the end of your data file. Use a text editor to look at your data so see if the last line is incomplete. 

-------------------------------------
David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352



-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Marco Otoya Chavarria
Sent: Tuesday, October 6, 2015 10:15 AM
To: r-help at r-project.org
Subject: [R] help with problem

*When i tried to read a table i**n .csv or .txt format R i get the
following message and give some problem in orden to run the data o
make test, etc*

*Warning message*

*In read.table(file = file, header = header, sep =";")
*>*  incomplete final line found by readTableHeader on 'test.csv*

*I tried Uninstall R and Excel, and install again but the problem doesnt fix.*

*Regard*

	[[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list