[R] trouble with html() in Hmisc

Liviu Andronic landronimirc at gmail.com
Sat Oct 3 22:35:20 CEST 2009


(I am also cc-ing the author of Hmisc)
Hello
Thank you for clearing this up. One more concern, though.

On 10/3/09, Mark Difford <mark_difford at yahoo.co.uk> wrote:
>  >> Does this mean that Hmisc produces LyX code (as opposed to LaTeX code)?
> No. Sorry for confusing you: it means that html does not know what
>  tabularnewline means, it cannot interpret it. My reply showed where the
>  problem lies and how to fix it.
>
>  You need to add the following command to the preamble of the *.tex file:
>
> \providecommand{\tabularnewline}{\\}
>
I would expect html() (via hevea) to be able to covert
latex()-generated objects on the fly, without the need to manually add
a line similar to the above. Would this be a bug in Hmisc?
Thank you
Liviuj




More information about the R-help mailing list