[R] R2HTML how to pair graphic.png and table

Roberto Iacopetti iacopetti at fastpiu.it
Thu Dec 6 15:18:48 CET 2007


Dear list,
i have this problem:
how to pair a graphic.png and a table in R2HTML ?

The better showing of a mutiple analysis is sometimes to mate graphic and
table

Can anyone help me in this task ??

In the example below graphisc and table are subsequent and not pair..
 

directory=getwd()
myfile<-file.path(directory,"testHTML.html")    
HTMLoutput=file.path(directory,"testHTML.html")
graf="graf.png"
png(file.path(directory,graf))
plot(c(1:12))
dev.off()
tab<-as.matrix(c(1:12))
HTMLInsertGraph(graf,tab,file=HTMLoutput,caption="Esempio di grafico")
browseURL(myfile)

Thanks in advance

Roberto Iacopetti

-- 
View this message in context: http://www.nabble.com/R2HTML--how-to-pair-graphic.png-and-table-tf4956321.html#a14193218
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list