Re: [R] trouble with html() in Hmisc

2009-10-03 Thread Liviu Andronic
(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 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 > tabularnewli

Re: [R] trouble with html() in Hmisc

2009-10-03 Thread Mark Difford
Liviu, >> 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 t

Re: [R] trouble with html() in Hmisc

2009-10-03 Thread Liviu Andronic
Hello On 10/3/09, Mark Difford wrote: > This has nothing to do with Hmisc or hevea. > Although I have LyX installed, I don't quite understand where LyX comes into play. The R code in the original e-mail takes a table-like object and transforms it into LaTeX; then html() calls hevea to conver .tex

Re: [R] trouble with html() in Hmisc

2009-10-03 Thread Mark Difford
Hi Liviu, >> > tmp <- latex(.object, cdec=c(2,2), title="") >> > class(tmp) >> [1] "latex" >> > html(tmp) >> /tmp/RtmprfPwzw/file7e72f7a7.tex:9: Warning: Command not found: >> \tabularnewline >> Giving up command: \...@hevea@amper >> /tmp/RtmprfPwzw/file7e72f7a7.tex:11: Error while reading