Re: [R] Lose of decimal when using write.table to text file

2009-06-25 Thread Dieter Menne
Bob Ly vfemail.net> writes: > I have the following: > >Date<-c("08/05/08","08/06/08","08/07/08") > >Weight<-c(209.4,211.8,210.0) > >planned.meal<-cbind(Date,Weight) > >planned.meal >DateWeight > 1 08/05/08, 209.4 > 2 08/06/08, 211.8 > 3 08/07/08, 210.0 This is strange. When

[R] Lose of decimal when using write.table to text file

2009-06-24 Thread Bob Ly
Good Day, I have the following: >Date<-c("08/05/08","08/06/08","08/07/08") >Weight<-c(209.4,211.8,210.0) >planned.meal<-cbind(Date,Weight) >planned.meal DateWeight 1 08/05/08, 209.4 2 08/06/08, 211.8 3 08/07/08, 210.0 >write.table(planned.meal, file="plannedMeal1.txt", + quote=FA