I apologize in advance that this question is not specific to R, but I thought some R users may be using this in their work process flow. I would like to be able to have a tool (prefer "scriptable") that will take two images and some pre-written text and put it on an simple webpage. That is, it would look something like the following: |---------------------------------------------| | Title | | | | |--------| |--------| Some basic txt | | | Image1 | | Image2 | ... | | |________| |________| ... | |_____________________________________________| R comes in because I have R scripts creating the images I would like to import. There will be 14-18 pages of these type of slides, but the key is we will be producing these over and over. I tried doing something like this in PowerPoint, but not impressed with the linking capability or Macros. Thanks for any feedback and again appologize that this is not exactly a specific R question.
Hi Jason,> I apologize in advance that this question is not specific to R, but I thought some R users may be using this in their work process flow. > > I would like to be able to have a tool (prefer "scriptable") that will take two images and some pre-written text and put it on an simple webpage. > > That is, it would look something like the following: > > |---------------------------------------------| > | Title | > | | > | |--------| |--------| Some basic txt | > | | Image1 | | Image2 | ... | > | |________| |________| ... | > |_____________________________________________| > > R comes in because I have R scripts creating the images I would like to import. There will be 14-18 pages of these type of slides, but the key is we will be producing these over and over. I tried doing something like this in PowerPoint, but not impressed with the linking capability or Macros. > > Thanks for any feedback and again appologize that this is not exactly a specific R question.Would the hwriter package by Gregoire Pau provide a solution? http://cran.r-project.org/web/packages/hwriter/index.html http://www.ebi.ac.uk/~gpau/hwriter/ HTH, Tobias
Jason Rupert wrote:> I apologize in advance that this question is not specific to R, but I thought some R users may be using this in their work process flow. > > I would like to be able to have a tool (prefer "scriptable") that will take two images and some pre-written text and put it on an simple webpage. > > That is, it would look something like the following: > > |---------------------------------------------| > | Title | > | | > | |--------| |--------| Some basic txt | > | | Image1 | | Image2 | ... | > | |________| |________| ... | > |_____________________________________________| > > R comes in because I have R scripts creating the images I would like to import. There will be 14-18 pages of these type of slides, but the key is we will be producing these over and over. I tried doing something like this in PowerPoint, but not impressed with the linking capability or Macros. > > Thanks for any feedback and again appologize that this is not exactly a specific R question. > >Hi Jason, You could do something similar with htmlize in the prettyR package, and get exactly what you want with a bit of HTML editing. Get an R script that will generate the two images, then the text. Then insert a few tags like this: (All of the HTML before the first image) <table> <tr> <td> <img src="Image1.png"> <td> <img src="Image2.png"> <td> Text that you want in the right hand cell </table> (the rest of the HTML) Jim
On Fri, Apr 17, 2009 at 3:36 AM, Jason Rupert <jasonkrupert@yahoo.com>wrote:> > I apologize in advance that this question is not specific to R, but I > thought some R users may be using this in their work process flow. > > I would like to be able to have a tool (prefer "scriptable") that will take > two images and some pre-written text and put it on an simple webpage. > >If you were doing more elaborate things, or doing this often, you could consider non-R approaches such as the Cheetah - python template engine. [[alternative HTML version deleted]]
Maybe Matching Threads
- Batch mode creates huge diffs, bug(s)?
- converting a matrix or data.frame into an html table
- Save R2HTML as an object instead of file
- Two identical copies of an image mounted result in changes to both images if only one is modified
- Assigning values to several consecutives rows in a sequence while leaving some empty