I put header=TRUE and sep = ; and my problem was resolved.
read.csv("./scoreDb.csv",header = TRUE,sep=";"
Best Regards,
Sandro
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/li
Hi all, I had the same problem and I was trying to solve with several ways.
However it was the most simple thing. While I was extracting the file from
Excel to a csv file I was using "," instead of "." inside my numbers (for
example "9,28" instead of "9.28") and each column was seperated with a ";"
Hi there ... I see you had this problem last year, hope you solved it ...
I had that same problem over and over again, it was due to my separator was
, but .
it means my keybord was set up on croatian instead of english, now works
normaly ...
cheers
--
View this message in context:
http://r.7896
Euphoria,
Also just consider re-saving the file as a comma separated file (or another
one that fits)
Contact
Details:---
Contact me: tal.gal...@gmail.com | 972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.
On Feb 24, 2010, at 7:07 PM, Euphoria wrote:
Thanks to all who posted. After trying all of the above-listed
options - the
error is still popping up, but here is some progress:
1) I can read in the file just fine when I use the read.table
statement and
specify it as a tab delimited file
Thanks to all who posted. After trying all of the above-listed options - the
error is still popping up, but here is some progress:
1) I can read in the file just fine when I use the read.table statement and
specify it as a tab delimited file using the code:
two <- read.table("Z:/CCFPhenotypesTAB
That makes me wonder, if one could devise a function to check for common
reasons for this error and report them.
What do you think Erik (and other R users) ?
I mean, just going through the R-help list in search of this error - could
yield many common reasons to check for...
Tal
C
I had a comment character "#" in my header names earlier today that
threw this error.
Euphoria wrote:
Hi all! I am desperately trying to figure out the solution to this error, but
nothing as of yet is working.
As noted in an earlier post I am using GenABEL. In an attempt to read in
the phe
From the help page for the read.delim() function, under "See Also", suggests:
'count.fields' can be useful to determine problems with reading
files which result in reports of incorrect record lengths.
This is sometimes helpful.
-Don
At 1:14 PM -0800 2/24/10, Euphoria wrote:
Hi all!
I usually found this problem to be connected to spaces in the column names.
Or, a wrong "sep" argument (for example "," instead of "\t" and the like)
Let us know if it helped.
Cheers,
Tal
Contact
Details:---
Contact me: tal.ga
Hi all! I am desperately trying to figure out the solution to this error, but
nothing as of yet is working.
As noted in an earlier post I am using GenABEL. In an attempt to read in
the phenotype file, in the format .dat, R keeps giving me the error "more
columns than column names"
I have trie
11 matches
Mail list logo