[R] R2HTML: request for an extended example

Michael Kubovy kubovy at virginia.edu
Wed Aug 9 20:00:23 CEST 2006


On Aug 9, 2006, at 9:23 AM, Tobias Verbeke wrote:
> Michael Kubovy wrote:
>> Dear R-helpers,
>>
>> If you know of an extended example of the use of R2HTML, in which  
>> the  various constructs are present in one place, could you please  
>> point  me to it or send it to me?
>>
> There was an article in the R News of December 2003
>
> http://cran.r-project.org/doc/Rnews/

Thanks, Tobias. That's just what I needed.

I ran into a small problem: when I run the following, the HTML is  
missing some kind of icon at the top. Any ideas how to fix that?

 > HTMLStart(outdir = file.path("/Users", "mk", "Documents", "teach",  
'2006.3.PSYC712'), echo = T, HTMLframe = F, Title = 'John Doe HW 1')

*** Output redirected to directory:  /Users/mk/Documents/teach/ 
2006.3.PSYC712
*** Use HTMLStop() to end redirection.[1] TRUE
HTML> as.title("This is my first title")
[1] "This is my first title"
attr(,"class")
[1] "title"
HTML> x <- 1
HTML> y<- 2
HTML> x+y
[1] 3
HTML> HTMLStop()
[1] "/Users/mk/Documents/teach/2006.3.PSYC712/index.html"
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766
WWW:    http://www.people.virginia.edu/~mk9y/



More information about the R-help mailing list