Tom,

Sorry to react only at tis point ; it makes months I didn"t read R-help,
having unfortunalety to work for SAS.
Though I am not anymore the maintainer of the package, I am the creator of
it and may provide some insights.

- There are a lot of HTML methods, effectively hidden (namespace) ; you can
access them from example using > R2HTML:::HTML.lm
function (x, file = get(".HTML.file"), digits = max(3, getOption("digits") -

    3), append = TRUE, ...)
{
    HTMLli(paste("Call: <font class='call'>", deparse(x$call),
        "</font>", sep = ""), file = file, append = append, ...)
    HTMLli("Coefficients<br>", file = file, append = TRUE, ...)
    HTML(round(x$coeff, 3), file = file, append = TRUE, ...)
}
<environment: namespace:R2HTML>
You see direcly there the problem....
I really may not have time myself directly though it is only 30 sec... (do
not have the necessary to compile packages on new laptop)
Fernando is in copy in case he has some time...

- Yes indeed there are such "bugs" in R2HTML, it was quickly and badly
programmed just to show the possibilities...

- I have somewhere some code to write directly HTML to words ; I have it for
nearly years now... Sorry for the communauty.

You may consider HTML methods to be some bricks you can build on top of it.
It's easy to write your own HTML functions and to go through clipboard for
example look at HTML2clip.

There are other places where digits are not well handled...

For lm, you may use the following:

> x=rnorm(10000)
> y=rnorm(10000)
> mylm=lm(y~x)
> coef(mylm)
> HTML(as.matrix(coef(mylm)),digits=10,file=file("clipboard"))
Then all digits should be there.

HTH,

Eric



2008/10/28 Tom Backer Johnsen <[EMAIL PROTECTED]>

> Dieter Menne wrote:
>
>> Tom Backer Johnsen <backer <at> psych.uib.no> writes:
>>
>> There are also some parts of the documentation that I do not understand.
>>>  The list of functions includes things like HTML.lm, as far as I can see are
>>> invisible, both in respect to documentation and usage.
>>>
>>
>> This might be relic of a function written by my some year ago, which were
>> part
>> of the distribution for some time, but probably removed later.
>>
>
> Hmm.  If that is true, that is not very promising.  It could indicate that
> the maintenace of the package might be patchy.
>
> Tom
>
>
> ______________________________________________
> 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<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Eric Lecoutre
Consultant - Business & Decision
Business Intelligence & Customer Intelligence

        [[alternative HTML version deleted]]

______________________________________________
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