On 22/09/2009, at 10:13 AM, Martin Batholdy wrote:


Am 21.09.2009 um 23:59 schrieb Rolf Turner:


On 22/09/2009, at 9:52 AM, Martin Batholdy wrote:

hi,



I use xtable to convert data.frames to html tables.
But when I use the print-command I always get the whole output
printed
even if I just want to save the html table into a variable;

table <- print(xtable(CERAT), type="html")


How can I suppress that output is printed?

If you don't want it printed, then why the <expletive deleted>
are you (explicitly!) using print???   Words fail me!!!

        cheers,

                Rolf Turner


Because I don't get html code when I only use xtable(xy)

Why would you want html code stored in an R object???

I believe, although there is no telling, that what you want
to do is something like:

        mung <- xtable(CERAT)
        print(mung,file="gorp",type="html")

This will create a *file* of html code that a web browser can use.

        cheers,

                Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

______________________________________________
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.

Reply via email to