hello, If I wanna export data.frame from R to html have you got some ideas to do this? ___________________________________________________________________________ [[alternative HTML version deleted]]
Use the package R2HTML. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O<http://maps.google.com/maps?f=q&hl=en&q=Curitiba,+Brazil&layer=&ie=UTF8&z=18&ll=-25.448315,-49.276916&spn=0.002054,0.005407&t=k&om=1> On 4/24/07, elyakhlifi mustapha <elyakhlifi_mustapha@yahoo.fr> wrote:> > hello, > If I wanna export data.frame from R to html have you got some ideas to do > this? > > > > > ___________________________________________________________________________ > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@stat.math.ethz.ch 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. >[[alternative HTML version deleted]]
Henrique Dallazuanna wrote:> Use the package R2HTML.Or xtable. Jeff -- http://biostat.mc.vanderbilt.edu/JeffreyHorner
Is it so much effort to use the search on r-project.org? elyakhlifi mustapha wrote:> hello, > If I wanna export data.frame from R to html have you got some ideas to do this? > > > > ___________________________________________________________________________ > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch 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. > >
hello, here's a data frame> A2Gr_C Id_Cara Libc_C Unit_C 1 30770 743 SCLERO CAP% % 2 30770 627 RDT GR PR & SEC q/ha 3 30770 638 PEUPL M2 nb/m2 4 30770 740 SCLEROTI % COLL % 5 30770 739 VERSE RECOLT%NB % and I 'd like to export it to html to do this I thougth that the script below it was good> write.table(A, "C:/Documents and Settings/melyakhlifi/Bureau/sortie.html", col.names = TRUE)but the results doesn't satisfy me it seems like below "Gr_C" "Id_Cara" "Libc_C" "Unit_C" "1" 30770 743 "SCLERO CAP%" "%" "2" 30770 627 "RDT GR PR & SEC" "q/ha" "3" 30770 638 "PEUPL M2" "nb/m2" "4" 30770 740 "SCLEROTI % COLL" "%" "5" 30770 739 "VERSE RECOLT%NB" "%" In fact I'd like keep the same format with columns and rows I knew now that the command I used it's insufficient and I wish to know how I could to export ma data frame to html using html langage (with marks out like <html>.....</html>). thanks. ___________________________________________________________________________ [[alternative HTML version deleted]]