[R] R2HTML package and Open Office: text only pasted

Kuhn, Max Max.Kuhn at pfizer.com
Tue Nov 6 01:01:33 CET 2007


Graham,

I'm not sure what the issue is, but I would suggest using OpenOffice
directly with the odfWeave package.

Max

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Graham Smith
Sent: Monday, November 05, 2007 3:02 AM
To: r-help at stat.math.ethz.ch
Subject: [R] R2HTML package and Open Office: text only pasted

I am trying to use R2HTML (just downloaded from CRAN) to paste R (2.6.0)
results output via the clipboard to OpenOffice Writer and Calc
(version 2.3on WinXPPro)

Pasting into Excel gives a formatted table of results (as expected), but
pasting into Calc simply pastes  the HTML code. Trying paste special
only
gives an option to paste unformatted text.

Equally, with Writer, in the past when I tried this, the results were
pasted
as a table, but now they are pasted as HTML code. Again trying to use
paste
special, there is only an unformatted text option.

I am using the simplest R2HTML code option, which as a I said, works
with
Excel

HTML2clip(x)

I suspect this is more an OOo issue, but hopefully someone has
experience of
using this combination and can help.

Thanks,

Graham

	[[alternative HTML version deleted]]

______________________________________________
R-help at 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.



More information about the R-help mailing list