Displaying 20 results from an estimated 10000 matches similar to: "How to turn a LaTeX Sweave file (Rnw) into .HTML/.odf/.docx? (under windows)"
2010 Sep 09
6
Reproducible research
I am investigating some approaches to reproducible research. I need in
the end to produce .html or .doc or .docx. I have used hwriter in the
past but have had some problems with verbatim output from R. Tables are
also not particularly convenient.
I am interested in R2HTML and R2wd in particular, and possibly odfWeave.
Does anyone have sample documents using any of these approaches which
2010 Jun 25
6
Export Results
Hi R users,
How can I automatically export results and graphs to a file?
Thanks in advance
Pedro Mota Veiga
--
View this message in context: http://r.789695.n4.nabble.com/Export-Results-tp2268622p2268622.html
Sent from the R help mailing list archive at Nabble.com.
2010 Jun 25
2
Handouts / Reports or just simply printing text to PDF?
I assume R won't easily generate nice reports (unless one starts using
Sweave and LaTeX) but perhaps somebody here knows a package that can
create report like output for special cases? How can I simply plot
output into PDF? Perhaps you know a package I should check out? What
do you guys do to create handouts (before actually publishing)?
Thanks in advance,
Ralf
2010 Dec 14
1
embed Sweave driver in .Rnw file
Hello,
Sweave lets you use alternative drivers through the driver argument, and
several packages take advantage of that and define custom Sweave driver
for various purposes. Most of them are listed on the Reproducible
Research CTV:
(http://cran.r-project.org/web/views/ReproducibleResearch.html)
The next natural step is for package developpers to take advantage of
this in their vignettes. In
2010 May 15
1
Dataframe to word, using R2wd
Hi All,
I'm trying to use R2wd to send a dataframe to Word. The dataframe
isn't huge - 300 rows, 12 variables, although it has some long strings
in it.
Using:
wdTable(format(myDataFrame))
or
wdTable(myDataFrame)
Produces a very complex table, which Word struggles to process and
layout. (I can't work out what the table is - it seems to be nested
tables. Converting to text gives
2011 Dec 21
2
Using wdTable() within R2wd package
Hi All,
I am trying to use the wdTable() function within R2wd package to send a
dataframe to MS-word. However, there is a problem with the tables that are
generated by R. For some reason the header row of the table also contains
all the data. You can see it by dragging the bottom border of the table
down to make the row wider. For example, the data named 'bod' should look
like as:
2010 Dec 07
5
LaTeX, MiKTeX, LyX: A Guide for the Perplexed
Hello Everyone,
Been learning R over the past several months. Read several books and have learned a great deal about data manipulation, statistical analysis, and graphics.
Now I want to learn how to make nice looking documents and about "literate programming." My understanding is that R users normally do this using LaTeX, MiKTeX, LyX, etc. in conjuction with Sweave. An alternative
2011 Sep 21
1
Making ?source act as if it is run through the terminal
Hello dear R help,
The motivation for my question is wanting to run HTMLStart {R2HTML package}
from "source".
*Background:*
I was happy to discover the [ HTMLStart/HTMLStop, HTMLplot] functions in the
R2HTML package.
They allow my R code to run almost as is, but while writing most of the
output (including the figures, when using HTMLplot) into an external HTML
file.
This method
2010 Dec 11
5
(S|odf)weave : how to intersperse (\LaTeX{}|odf) comments in source code ? Delayed R evaluation ?
Dear list,
Inspired by the original Knuth tools, and for paedaogical reasons, I wish
to produce a document presenting some source code with interspersed
comments in the source (see Knuth's books rendering TeX and metafont
sources to see what I mean).
I seemed to remember that a code chunk could be defined piecewise, like in
Comments...
<<Chunk1, eval=FALSE, echo=TRUE>>=
2010 May 20
2
Reading results of commands in Microsoft Word typed in the terminal window, A question from a Blind R user.
Hi all,
I would like to read the results of the commands type in the terminal window in Microsoft Word. As a blind user my options are somewhat limited and are time consuming if I want to see the results of the commands that I have type earlier. for example if my first two commands were
x<-c(1,2,3,4,5)
mean(x)
and I have typed ten more commands after the first two commands it is not easy
2011 Dec 04
1
LaTeX output for summary.lm object - while displaying the information outside the table
This seemed to me to be basic, but I can't seem to find a solution online,
so I wondered what I might be missing.
I wish to include the output of an lm summary object inside an Sweave
(.Rnw) document. I can either output the summary.lm as is, or use the
xtable/Hmisc packages (through xtable or latex commands).
Is there something like xtable that also gives the summary information
which is
2012 May 21
2
sweave tables as images?
Hello folks,
I've been on a journey trying to figure out how to manage documents that
are amenable to sharing and editing, but that contain dynamic content
generated by R. I've come to the following solution: I use Sweave to
generate labeled png & pdf figures, and I "Insert & Link" those figures
as "Pictures" in a Word 2010 doc. Thus, when data or code
2009 Nov 20
6
How to: highlight R syntax on webpages ?
My question if in the Subject, but if to extend: I am specifically curious
about WordPress blogs. But any solution will give me a lead.
Thanks,
Tal
----------------------------------------------
Contact me: Tal.Galili@gmail.com | 972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com/ (English)
[[alternative HTML version deleted]]
2008 Apr 17
1
odfWeave \Sexpr
Dear All,
Using odfWeave is working fine for me using code chunks <<...>>= ... @
But the inline \Sexpr{date()} is not evaluated and returns again
\Sexpr{date()} instead of "Thu Apr 17 18:15:47 2008".
What might be the reason for that, what do I have to look for?
I'm using Windows XP, R 2.6.1, odfWeave_0.7.3 and OpenOffice 2.4.
Session Info:
R version 2.6.1
2012 Jan 19
2
Sweave question - Setting Soutput code chunks to stay inside page margins?
Hello all,
Sometimes I get to make an R code chunk (in Sweave) which is longer then
the margins of the page. Is there a way to force it to "go to the next
line" (in Sweave) once that happens?
Here are two cases this happens in the resulting .tex file (one is a "hard"
case, and the other is simpler)
\begin{Schunk}
\begin{Sinput}
>
2007 Oct 07
5
how to use \Sexpr{} with sweave
I'm trying to learn Sweave. So far things are going well with the chunks of code identified by << >>=
But I'm having trouble with the in-line text use of \Sexpr.
Here is a short example .Rnw file:
\documentclass[12pt]{article}
\usepackage[margin=1.25in]{geometry}
\usepackage{graphicx}
\usepackage{Sweave}
\begin{document}
<<test>>=
pnorm(1)
@
\Sexpr{2+6}
2012 Jan 19
2
cacheSweave questions (usage and forward compatibility)
Hello all,
I would like to ask several questions regarding cacheSweave:
1) Is there a way to set "cache=true" globally? (I tried it
using \SweaveOpts but it didn't seem to work)
2) Is there a way to "flush" specific cache once it is created? (other
then erasing the entire cache directory)? Changing the code in the code
chunk seems to do it, but I am not sure to what
2004 Jul 05
1
Apparent conflict between \Sexpr in Sweave and R2HTML
I have come across an apparent bug in the operation of Sweave. If I
load the package R2HTML then execution of \Sexpr{} in an *.Rnw file no
longer works. The \Sexpr{} code is simply written to the *.tex file.
Below are my *.Rnw file, commands, and output.
The Sweave file, Sweave-test-1_short.Rnw:
% -*- mode: noweb; noweb-default-code-mode: R-mode; -*-
\documentclass{article}
\title{A Test
2006 Jul 17
6
Output and Word
Hi
I have just started to have a look at R. I have used most stats software
packages and can use perl, visual basic etc. I am interested in how well
it handles lots of output e.g. tables or charts. How would you get lots
of output most easily and quickly into a Word document?
Sharon Snowdon
------------------------------------------------------------------------
-
FIGHT BACK AGAINST SPAM!
2012 Oct 11
2
struggling with R2wd or SWord? Try rtf!
I have been looking for a way to write R-generated reports to Microsoft
Word documents. In the past, I used the package R2wd, but for some reason
I haven't been able to get it to work on my current set up.
R version 2.15.0 (64-bit)
Windows 7 Enterprise - Service Pack 1
Microsoft Office Professional Plus 2010 - Word version
14.0.6123.5001 (32-bit)
I gave the package