Re: [R] Append to a csv file

2009-04-22 Thread Carlos Cuartas
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]

Re: [R] character count

2008-12-12 Thread Carlos Cuartas
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

[R] applying a function several times

2008-12-05 Thread Carlos Cuartas
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.

[R] applying a function to another function

2008-12-03 Thread Carlos Cuartas
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

[R] encoding accentsand tildes in R Macosx

2008-08-10 Thread Carlos Cuartas
,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