The source R files comes with the package
for instance, in this case, in a Linux machine you can locate it with:
paulojus at pj:~$ locate lm.glm
/usr/lib/R/library/stats/demo/lm.glm.R
In other OS this will be similar, look for the "stats" package
best
P.J.
On Fri, 2 Jun 2006, Edward Downie wrote:
> Date: Fri, 2 Jun 2006 08:28:44 -0500 (CDT)
> From: Edward Downie <edownie at mc2k.com>
> To: r-help at stat.math.ethz.ch
> Subject: [R] Running Demos
>
> I see the output of running, for instance, demo(lm.glm)
> just fine, but how do I view the set of commands and the
> data that served as the input?
>
> Thanks for the help.
>
> Edward Downie
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
>
>
Paulo Justiniano Ribeiro Jr
LEG (Laborat?rio de Estat?stica e Geoinforma??o)
Departamento de Estat?stica
Universidade Federal do Paran?
Caixa Postal 19.081
CEP 81.531-990
Curitiba, PR - Brasil
Tel: (+55) 41 3361 3573
Fax: (+55) 41 3361 3141
e-mail: paulojus at est.ufpr.br
http://www.est.ufpr.br/~paulojus