[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.171429

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 ggwra...@sfwmd.gov wrote: From: ggraves ggra...@sfwmd.gov Subject: [R] write.csv fails with $ operator invalid for atomic To: r-help@r-project.org Received: Tuesday, December

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

2009-12-01 Thread ggraves
?type=nodenode=932595i=1 Subject: [R] write.csv fails with $ operator invalid for atomic To: [hidden email] http://n4.nabble.com/user/SendEmail.jtp?type=nodenode=932595i=2 Received: Tuesday, December 1, 2009, 1:36 PM I want to export a csv file so I can do other things with it. I