Re: [R] R2HTML and output from a function

2008-12-18 Thread bartjoosen
Hello, did you try to replace the print commands with HTML? But first you have to specify a file through HTMLStart and at the end of the function HTMLStop. Including plots is no problem, but you have to save them and then with the HTMLInsertGraph function insert them into your report. Kind regar

[R] R2HTML and output from a function

2008-12-18 Thread Fredrik Karlsson
Dear list, I am trying to construct a report function that would go through all the object in the current environment and print them in HTML form. What I have got is: dataReport <- function(){ #First tables tabs <- ls(sys.frame(), pattern=".*table") for(currT in