Re: [R] problem with read.table

2011-01-01 Thread Victor F Seabra
This was already solved in another post: [1]Plot symbols: How to plot (and save) a graphic with symbols originating from a table Sorry about that, the first post was too big as I was making more than 1 question, so I decided to break it down

Re: [R] problem with read.table

2009-04-15 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of x > Sent: Wednesday, April 15, 2009 2:43 PM > To: r-help@r-project.org > Subject: Re: [R] problem with read.table > > > I forgot to show that my file

Re: [R] problem with read.table

2009-04-15 Thread x
attach() fixed the problem. Thanks!! --- On Wed, 4/15/09, Talita Perciano wrote: > From: Talita Perciano > Subject: Re: [R] problem with read.table > To: to_rent_2...@yahoo.com > Cc: r-help@r-project.org > Date: Wednesday, April 15, 2009, 6:04 PM > I agree with Daniel J.

Re: [R] problem with read.table

2009-04-15 Thread Talita Perciano
y > 1 8.2 > 2 18 > 3 -17.6 > 4 -3.4 > 5 6.8 > 6 11.3 > 7 1.5 > 8 11 > 9 -3.3 > 10 8.1 > > > --- On Wed, 4/15/09, x wrote: > > > From: x > > Subject: RE: [R] problem with read.table

Re: [R] problem with read.table

2009-04-15 Thread x
I forgot to show that my file indeed contains x, y values: x y 1 8.2 2 18 3 -17.6 4 -3.4 5 6.8 6 11.3 7 1.5 8 11 9 -3.3 10 8.1 --- On Wed, 4/15/09, x wrote: > From: x > Subject: RE: [R] problem with read.table > To:

Re: [R] problem with read.table

2009-04-15 Thread x
rote: > From: Nordlund, Dan (DSHS/RDA) > Subject: RE: [R] problem with read.table > To: to_rent_2...@yahoo.com, r-help@r-project.org > Date: Wednesday, April 15, 2009, 5:01 PM > > -Original Message- > > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-

Re: [R] problem with read.table

2009-04-15 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of x > Sent: Wednesday, April 15, 2009 1:54 PM > To: r-help@r-project.org > Subject: [R] problem with read.table > > > Hi all, > > I've simple code to read a file (verify.txt in th

Re: [R] Problem with read.table in Windows and Linux

2008-10-03 Thread Prof Brian Ripley
On Fri, 3 Oct 2008, Uwe Ligges wrote: Carlos Morales wrote: Hello everyone, I'm trying to open the same file under Linux and Windows. Under Windows everything is ok but when I try to do it under Linux I have a mistake and I don't know why. This is the mistake: Error in make.names(col.nam

Re: [R] Problem with read.table in Windows and Linux

2008-10-03 Thread Uwe Ligges
Carlos Morales wrote: Hello everyone, I'm trying to open the same file under Linux and Windows. Under Windows everything is ok but when I try to do it under Linux I have a mistake and I don't know why. This is the mistake: Error in make.names(col.names,unique=TRUE): string multibyte 1 inval

Re: [R] Problem with read.table()

2008-10-02 Thread Joan-Josep Vallbé
Sorry, I didn't, and removing the first row it effectively works. Thank you very much for your help. On 02/10/2008, at 15:20, Gabor Grothendieck wrote: Did you try skipping the header as one respondent mentioned? read.table(..., skip = 1, header = FALSE) On Thu, Oct 2, 2008 at 9:05 AM, Joan-

Re: [R] Problem with read.table()

2008-10-02 Thread Gabor Grothendieck
Did you try skipping the header as one respondent mentioned? read.table(..., skip = 1, header = FALSE) On Thu, Oct 2, 2008 at 9:05 AM, Joan-Josep Vallbé <[EMAIL PROTECTED]> wrote: > Hi, I've done ?count.fields and it helped me identify a blank space that I > had not noticed (thanks!), but when I t

Re: [R] Problem with read.table()

2008-10-02 Thread Joan-Josep Vallbé
Hi, I've done ?count.fields and it helped me identify a blank space that I had not noticed (thanks!), but when I try to upload the table again with ayuso <- read.table("/Users/user/Rwork/ayusotriada.txt", header=TRUE, sep="\t", na.strings="NA", dec=".", strip.white=TRUE) or with read.deli

Re: [R] Problem with read.table()

2008-10-02 Thread Gabor Grothendieck
Look at ?count.fields to diagnose this. On Thu, Oct 2, 2008 at 8:05 AM, Joan-Josep Vallbé <[EMAIL PROTECTED]> 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)

Re: [R] Problem with read.table()

2008-10-02 Thread Joan-Josep Vallbé
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" thanks! On 02/10/2008, at 12:21, Joan-Josep Vallbé wrote: Hello everybody, I'm a n

Re: [R] Problem with read.table()

2008-10-02 Thread Dieter Menne
Joan-Josep Vallbé uab.cat> writes: > 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 na

Re: [R] Problem with read.table()

2008-10-02 Thread Richard . Cotton
> 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. Howe

Re: [R] problem with read.table()

2008-07-30 Thread Philipp Pagel
> Table<-read.table("Table.txt",header=TRUE,row.names=1, na.strings="NA" > ,colClasses = Classe82) > > > Fehler in scan(file, what, nmax, sep, dec, quote, skip, nlines, > na.strings, : > scan() erwartete 'a real', bekam '8,5' > > Error in scan(file, what, nmax, sep, dec, quote, skip, n

Re: [R] problem with read.table()

2008-07-30 Thread Birgitle
I am sorry I just found the stupid mistake. I did not specify dec="," because I usually use . Anyway thanks for having the opportunity to get help in this list. B. Birgitle wrote: > > Hello R-User > > I have a table as tab-delimited textfile (291 rows, 83 columns). > The first row are labe

Re: [R] problem with read.table

2008-07-20 Thread jim holtman
If you really want to do it, here is a way, but don't expect to be able to reference the columns by name; this is just so it 'prints pretty': > x <- textConnection("AM2 AM2 AM2 FAL + 2 3 4 5 + 1 -1 -3-2") > # read the