Maybe each dataframe you are adding during the loop include the column name.
I would add
write.csv(mydata, file= âdata.csvâ=F, append=T,col.names=F)
Hope that help
Carlos
To: r-help@r-project.org
Sent: Monday, April 20, 2009 4:39:48 PM
Subject: [R]
Hi Ista,
one way could be:
ncharacters-unlist(lapply(x,function(x)nchar(gsub(' ','',x
ncharacters
From: Ista Zahn iz...@psych.rochester.edu
To: r-help@r-project.org
Sent: Friday, December 12, 2008 10:31:10 AM
Subject: [R] character count
Dear list,
I have
I am sorry. I am not sure if the mail a send before to this list was rejected
because of header (subject).
I've changed it. The first maybe was not appropriate.
I did a function (sec_conop) whose arguments are syndic,
well and wellconop.
Hello,
I did a function (sec_conop) whose arguments are syndic,
well and wellconop.
sec_conop(syndic='01syndic.txt',well='well-1.csv',wellconop='well-1.dat');closeAllConnections()
This function takes “well” and “syndic”, matching between
them and then it does some transformations. The result
,stringsAsFactors=F,encoding=
)
I've changed the encoding argument but I have not could find the solution.
Any suggestion?
Thanks a lot
Carlos Cuartas
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https
5 matches
Mail list logo