Thank you very much for your answers! They are very helpful! Best wishes! Manuel
El 15/12/2009, a las 15:24, David Winsemius escribió: > The two other responses I saw suggested using write.table, which is fine if > the object is a data.frame, but maybe not so great if the object comes from > summary on a model or aov. My memory from years gone by of Excel's handling > of material that had been copied to the clipboard from webpages, is that it > maintains the formatting quite well. You might want to look at xtable, which > has an html method for the print function for xtable. I cannot test it in > Excel but it gives formatted output for use in OpenOffice.org. > > install package xtable and then: > library(xtable) > ?xtable > # and work through the examples on the help page. > > -- > David. > On Dec 14, 2009, at 10:09 AM, Manuel Jesús López Rodríguez wrote: > >> Dear all, >> I would like to ask you if exists some way of having the results of an R >> instruction (for instance, "summary") in a table to copy it directly in >> Excel. >> Thank you very much in advance. >> Best wishes! > > David Winsemius, MD > Heritage Laboratories > West Hartford, CT > ______________________________________________ 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.