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

2007-12-06 Thread Roberto Iacopetti
Eric, your code work well for my need, i'm not skillful in html environment, but your functions in R2HTML give simple many output requirements thanks Roberto Eric Lecoutre wrote: > > Hi Roberto, > > here is a way that presumes you know some (basic) HTML tags: > > library(R2HTML) > direct

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

2007-12-06 Thread Domenico Vistocco
You could use a table with one row and two columns: HTML("",file=HTMLoutput) HTML(tab,file=HTMLoutput) HTML("",file=HTMLoutput) HTMLInsertGraph(graf,file=HTMLoutput,caption="Esempio di grafico") HTML("",file=HTMLoutput) domenico PS: You could create a function if this is a common operation: tab

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

2007-12-06 Thread Eric Lecoutre
Hi Roberto, here is a way that presumes you know some (basic) HTML tags: library(R2HTML) 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)) c

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

2007-12-06 Thread Roberto Iacopetti
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<