Displaying 20 results from an estimated 20000 matches similar to: "End of line marker?"
2012 Oct 24
1
incomplete final line found by readTableHeader
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 'CityData.CSV'
I have open the file and make sure click return after
2008 Sep 03
3
incomplete final line
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 on 'month.csv'
can anyone offer some help? Thanks a lot! catherine
[[alternative HTML
2012 May 12
1
problem with get() inside of lme()
Hi,
In the following lines of code are inside of a function, where "TRAIT1" is
a function variable calling a column-name inside of the data.frame "new3".
This works just fine:
m2 <- lmer(get(TRAIT1) ~ perm.score + (1|site), data=new3)
but this will not work,
m3 <- lme(get(TRAIT1) ~ perm.score , random= ~1|site, data=new3)
I get the following error:
Error in
2010 Jun 01
1
loop
Can any one help it will be very kind, loop statements
I have this table and some more records, I want to reshape it
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10
TP53 Dis1 Dis2 Dis3 Dis4 Dis5 Dis6
DCI New1 New2 New3 New4
FDI Hi2 H3 H4
GHD I1 I3 I4 I5 I6 I7 I8
I want my new table or matrix to be some thing like this
V1 V2 V3
Tp53 Dis1 Dis2
Tp53 Dis1 Dis3
Tp53 Dis1 Dis4
Tp53 Dis1 Dis5
Tp53 Dis1 Dis6
Tp53 Dis2
2011 Oct 11
2
Creating the mean using algebra matrix
Dear all,
I wanted to create the mean using a algebra matrix.
so I tried this one:
> meanAnimals <- new3%*%factorial
(Calculates the matrix multiplication of the new3 * factorial).
But I get the following error message:
Error in new3 %*% factorial : non-conformable arguments
These are my matrices:
> new3
[,1] [,2]
[1,] 1.350 8.1
[2,] 465.000 423.0
2012 Feb 17
1
incomplete final line found by readTableHeader on 'test.csv'
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 final line found by readTableHeader on 'test.csv'
http://
2009 Jul 30
1
lmer() and "$ operator is invalid for atomic vectors"
Hi all,
I am a bit mystified by this error message that I get when I try to apply
lmer() to a simple dataset with one between factor (age) and one within
factor (item): "$ operator is invalid for atomic vectors"
I'll just provide the code, because I don't see where the problem is:
library(lme4)
options(contrasts=c("contr.helmert","contr.poly"))
data =
2010 Apr 08
1
incomplete final line found by readTableHeader
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
'/home/kenji/1246/MYCset.cls'
Here are the
2011 Feb 16
1
incomplete final line
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 ? thx
sorry for trouble ,im a newbie.
--
View this message in
2009 Sep 04
2
help with functions
Hi all,
I have got 2 function (see bellow) which are simplifications of what I need
to do. These functions are precisely the same, except for the last line.
My question is, why doesn't function testA work in the same way as function
testB.
Both functions produce two objects, "a" and "b" that must merged with rbind.
The difference is that in testA, I specify the name
2010 Apr 08
1
Using read.table to read file created with read.table and qmethod = "escape"
df <- data.frame(a = "a\"b")
write.table(df, "test.csv", sep = ",", row = F)
Is there any to load test.csv into R correctly? I've tried the following:
> read.table("test.csv", sep = ",")
[1] V1
<0 rows> (or 0-length row.names)
Warning message:
In read.table("test.csv", sep = ",") :
incomplete final line
2009 Sep 01
2
cbind objects using character vectors
Dear list,
I have a character vector such vec.names<- c("a", "b")
It happens that I have also two R objects called "a" and "b" that I would
like to merge. Is it possible to
do something like cbind(vec.names[1], vec.names[2]) ending up with the same
result as cbind(a,b)
Bellow is a reproducible example of what I need to to:
dat<-
2008 Jul 09
2
sorting a data frame by rownames
Hi there,
I'm sure there's an easy answer to this, and I can't wait to see it.
The question: is there an easy way to sort a data frame by it's row names?
My dilemma:
I've had to pull apart a data frame, run it through a loop to do some
calculations and generate new variables, and then re-construct the chunks
back into a data frame at the end.
Doing this preserves the row
2005 Oct 11
3
Reading # in file with read.csv
I'm using read.csv to read in a csv file containing '#' characters. For
example, say I'm reading the following file (test.csv):
var1,var2,var3
a,b,c
d,e#,f
g,h,i
It outputs:
> read.csv("Raw Data\\test.csv")
var1 var2 var3
1 a b c
2 d e
3 g h i
Warning message:
incomplete final line found by readTableHeader on 'Raw Data\test.csv'
2011 Jul 05
3
problem in reading a sequence file
Dear all,
I have a file with some sequence (seq.txt). I am writting following code and
getting error! Can please help me?
seqfile<-read.table(file="seq.txt")
Warning message:
In read.table(file = "seq.txt") :
incomplete final line found by readTableHeader on 'seq.txt'
Thanks in advance
Albert
-------------- next part --------------
NNNNNNNNNNATTAAAGGGC
2009 Aug 05
3
import data into R
Thank you Gabor Grothendieck for your answer !!
i have charge the pachage but now i have this massage
read.table("c:/TOTAL.xls",h=T)
[1] ÐÏ.à..
<0 rows> (or 0-length row.names)
Warning messages:
1: In read.table("c:/TOTAL.xls", h = T) :
incomplete final line found by readTableHeader on 'c:/TOTAL.xls'
2: In if (!header) rlabp <- FALSE :
the condition has
2012 Jul 10
5
How to add marker in Stacked bar plot?
Hi,
I am working on stacked bar plot and want to add marker(arrow) in stacked
bar plot.
DF=data.frame(names=c("tomato", "potato", "cabbage", "sukuma-wiki",
"terere"), freq=c(7,4,5,8,20))
barplot(as.matrix(DF[,2]), col=heat.colors(length(DF[,2])), legend=DF[,1],
xlim=c(0,9), width=2)
http://r.789695.n4.nabble.com/file/n4635946/Screenshot.png
2003 Dec 23
2
(no subject)
Hello!
I am trying to import data to R. The programm always responds with:
"incomplete final line found by readTableHeader on Data.doc"
What does that mean, and what could I change?
Thank you very much in advance.
Regards Florian Stallforth
2005 Oct 20
3
problème d'import de fichier
hello!
je veux importer un fichier de donnees excel que j'ai au prealable
converti en fichier txt avec separateurs tab, fichier de la forme entree
simple (suite de colonnes contenant des variables).
Voila ma ligne de commande :
> poussins <- read.table("poussins.txt", header=T, sep="\t")
et sa reponse
Erreur dans scan(file = file, what = what, sep = sep, quote =
2012 May 18
1
UTF-16 input and read.delim/scan
Hi all,
I am running 64-bit R 2.15.0 on windows 7. I am trying to use read.delim
to read from a file that has 2-byte unicode (CJK) characters.
Here is an example of the data (it is tab-delimited if that gets messed up):
HITId HITTypeId Title
2Q69Z6KW4ZMAGKKFRT6Q4ONO6MJF68 2LVJ1LY58B72OP36GNBHH16YF7RS7Z 看看句子,写写想法
请看以下的句子,再回答问
So read.delim (code below) doesn't read in correctly. It reads