[R] xtable - print - suppress output

Martin Batholdy batholdy at googlemail.com
Tue Sep 22 00:13:12 CEST 2009


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)




>
> ######################################################################
> Attention: This e-mail message is privileged and confidential. If  
> you are not the intended recipient please delete the message and  
> notify the sender. Any views or opinions presented are solely those  
> of the author.
>
> This e-mail has been scanned and cleared by MailMarshal www.marshalsoftware.com
> ######################################################################




More information about the R-help mailing list