Re: [R] write.csv fails with $ operator invalid for atomic

2009-12-01 Thread ggraves
rom: ggraves <[hidden email] > <http://n4.nabble.com/user/SendEmail.jtp?type=node&node=932595&i=1> > > Subject: [R] write.csv fails with $ operator invalid for atomic > To: [hidden email] > <http://n4.nabble.com/user/SendEmail.jtp?type=node&node=932595&am

Re: [R] write.csv fails with $ operator invalid for atomic

2009-12-01 Thread John Kane
Where does the table come from? write.csv(t, file = "t.csv") looks like it would work --- On Tue, 12/1/09, ggraves wrote: > From: ggraves > Subject: [R] write.csv fails with $ operator invalid for atomic > To: r-help@r-project.org > Received: Tuesday, December 1, 200

[R] write.csv fails with $ operator invalid for atomic

2009-12-01 Thread ggraves
I want to export a csv file so I can do other things with it. I issue this command to break down years as to whether it was windy or not: t<-tapply(TURB,list(year,windy),mean,na.rm=T) which results in: > t no yes 1990 21.516514 39.86400 1991 13.580435 28.87500 1992 12.17142