[R] Problem with read.table()
ggrothendieck at gmail.com
Thu Oct 2 14:30:59 CEST 2008
Look at ?count.fields to diagnose this.
On Thu, Oct 2, 2008 at 8:05 AM, Joan-Josep Vallbé <pep.vallbe at uab.cat> wrote:
> Hi, I've tried it with read.delim:
> ayuso <- read.delim("/Users/user/Rwork/ayusotriada.txt")
> and now the error message is "Error with make.names(col.names, unique =
> TRUE) :
> string multibyte 187 invalid"
> On 02/10/2008, at 12:21, Joan-Josep Vallbé wrote:
>> Hello everybody,
>> I'm a new user and I'm trying to use read.table with a tab delimited
>> file but the system tells me (i) that there are more columns than
>> column names, and (ii) that headers and col.names are of different
>> lengths. I have already checked my variable names and there's no blank
>> spaces. However, some variables have quite long names such as
>> "valoracion.experiencias.segundo.year". Could it be the problem? If
>> that is the case, I still don't understand why I have more columns
>> that column names. Could anyone help me with that?
>> Thank you very much!
>> Joan-Josep Vallbé
>> Institute of Law and Technology
>> Political Science Department
>> Autonomous University of Barcelona (UAB)
>> pep.vallbe at uab.es
>> [[alternative HTML version deleted]]
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide
>> and provide commented, minimal, self-contained, reproducible code.
> Joan-Josep Vallbé
> Institute of Law and Technology
> Political Science Department
> Autonomous University of Barcelona (UAB)
> pep.vallbe at uab.es
> R-help at r-project.org mailing list
> 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