search for: rweavehtml

Displaying 9 results from an estimated 9 matches for "rweavehtml".

2012 Nov 08
1
sweave xtable and driver RweaveHTML
Hi, So far I used Sweave to create pdf reports. I used xtable to create some tables in the report. But now I would like to use the same snw file to generate an HTML version. The xtable output breaks the RweaveHTML driver. library(R2HTML) Sweave('analyseLFQ.Snw', driver = RweaveHTML) Error in match.arg(options$results, c("Robj", "html", "hide")) : 'arg' should be one of “Robj”, “html”, “hide” Any suggestions would be highly recommended. I.e. I am wondering can...
2009 Apr 29
1
RweaveHTML (R2HTML) Help
I have found Sweave() to be great for producing PDF documents. I have been experimenting with RweaveHTML (from the R2HTML) package and have had moderate success. My main issue has been that I simply want the R output to be shown verbatim in the HTML document but RweaveHTML tends to convert most output to a table, for example. So, is there a way to force the RweaveHTML driver to simply provide the ou...
2007 May 11
1
can't use Sweave in a function?
...x, ")", sep="")) @ </p> </div> </body> </html> #============================ #=========== R session ================== >ls() character(0) >f1 <- function() { + y <- 1:5 + x <- "ABC" + Sweave("test.rnw", driver=RweaveHTML) + } > >f1() Writing to file test.html Processing code chunks ... 1 : term html Error: chunk 1 Error in print(y) : object "y" not found >debug(f1) >f1() debugging in: f1() debug: { y <- 1:5 x <- "ABC" Sweave("test.rnw", driver = RweaveHT...
2010 Dec 10
1
Sweave: Setting options with SweaveOpts{} when using driver=RweaveHTML
When using Sweave in connection with the driver RweaveLatex(), global options can be set with \SweaveOpts{}, e.g. \SweaveOpts{keep.source=T}. Does anybody know if it is possible to set global options in the same way when using Sweave with the driver RweaveHTML(). Regards Søren [[alternative HTML version deleted]]
2005 Apr 19
1
Package 'R2HTML'
...e errors. I wonder if you could help me with it i have a windows 2000 OS and the version of R is "R version 1.9.1, 2004-06-21" This is the command i gave followed by the output, i couldnt find much info on "SweaveParseOptions" > Sweave("Sweave-test-1.Rnw",driver=RweaveHTML) Writing to file Sweave-test-1.html Processing code chunks ... Error: couldn't find function "SweaveParseOptions" "I have no data yet. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories instead of theories to suit fac...
2007 May 18
1
How to extract R codes that embedded in a HTML file
...n. I > always > thought that a .rnw or .snw file is a file mixing word processing markup > (e.g. tex or HTML) and R/S code using noweb syntax. Is the reason for > 'Stangle' is not working with .rnw file with HTML due to there is no proper > driver available (like RweaveHTML driver for Sweave)? If yes, does R2HTML > package have plans to provide a such driver? > ....Tao The following does the trick for me: R> mytangle <- function () list(setup = RtangleSetup, runcode = utils:::RtangleRuncode, writedoc = RtangleWritedoc, finish...
2006 Jun 25
2
R Reporting - PDF/HTML mature presentation quality package?
I heartily second Phillipe's response. I just started a new job and the first thing required was a neat stats report for a dataset. I thought I would give R2HTML a try and about 5 minutes after downloading it, I was looking at the first draft of the report. I did have to do a bit of hacking on the graphics, but it was easy and I can now present the report first thing in the morning. Had I
2007 Oct 16
3
Sweave/ESS-like tools for HTML
My university provides me with a powerful course management system for the courses that I teach. Among other things I can create a wiki for the course, which is very convenient for cross-linking different bits of the course. Naturally I use R extensively in my teaching and I want to incorporate R code, output and graphics in such a wiki. If I were producing LaTeX sources instead of HTML sources
2010 Dec 11
0
is there a packge or code to generate markov chains in R
...and) 15. Re: Projecting data on a world map using long/lat (Michael Sumner) 16. Adding numbers in Outputs (Amelia Vettori) 17. Re: Compare one level of a factor with *all* other non-missing levels (Peter Ehlers) 18. Re: Sweave: Setting options with SweaveOpts{} when using driver=RweaveHTML (Duncan Murdoch) 19. Re: Adding numbers in Outputs (jim holtman) 20. Re: Adding numbers in Outputs (Peter Ehlers) 21. Re: Adding numbers in Outputs (Jinyan Huang) 22. Re: Compare one level of a factor with *all* other non-missing levels (deriK2000) 23. Re: Adding numbers in Outputs...