Em 20-12-2011 14:09, MacQueen, Don escreveu: > Or: > >> require(xlsx) >> test<- function(x){ > + a<- data.frame(A=c(1,2),B=c(10,11)) > + write.xlsx(a,file="a.xlsx") > + } >> test() >> list.files(patt='xlsx') > [1] "a.xlsx" > > > > Thanks,
with the write.xlsx all work. Inte Ronaldo -- 3ª lei - Na investigação e outros assuntos, o seu orientador está sempre certo, na maior parte do tempo. --Herman, I. P. 2007. Following the law. NATURE, Vol 445, p. 228. > Prof. Ronaldo Reis Júnior | .''`. UNIMONTES/DBG/Lab. Ecologia Comportamental e Computacional | : :' : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia | `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil | `- Fone: (38) 3229-8192 | ronaldo.r...@unimontes.br | http://www.ppgcb.unimontes.br/lecc | LinuxUser#: 205366 [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.