Re: [R] Exporting column names with spaces with write.csv() XXXX

2015-09-05 Thread Dennis Murphy
...or, when trying to read it back into R, read.csv(header = TRUE, text = ' "no good","no good at all" 1,4 2,5 3,6') no.good no.good.at.all 1 1 4 2 2 5 3 3 6 read.csv(header = TRUE, check.names = FALSE, text = ' "no good","no good at al

Re: [R] Exporting column names with spaces with write.csv() XXXX

2015-09-05 Thread Jim Lemon
Hi Dan, I don't get this behavior with R-3.2.2: da.df<-data.frame(1:3,4:6) names(da.df)<-c("no good","no good at all") > da.df no good no good at all 1 1 4 2 2 5 3 3 6 write.csv(da.df,file="gloop.csv",row.names=FALSE) gives me this: "no

Re: [R] Exporting column names with spaces with write.csv() XXXX

2015-09-05 Thread Jeff Newmiller
Reproducible example, please. --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Pl

[R] Exporting column names with spaces with write.csv() XXXX

2015-09-05 Thread Dan Abner
Hi all, I have a number of columns with spaces in the column names exactly as I want them in R. When I go to export the data table to csv using write.csv(), the fn adds periods in place of the spaces. Is there a way to suppress the addition of the periods? Thanks, Dan _