Displaying 20 results from an estimated 10000 matches similar to: "Sweave question"
2010 Aug 21
1
error possibly related to sweave, path, and spaces on windows
I have downloaded a file that I don't know how to describe correctly.
It contains R code and Latex, and I should be able to reproduce an
analysis by running an R script in this folder.
There is a line in the R script:
junk <- system(paste("/usr/texbin/pdflatex ",latexFiles[i1]),
intern=TRUE)
that needs to be modified to run on my computer. I use WinEdt with
2006 Oct 18
7
Latex editor recommendations
This question is not oriented towards R, but is posted here because I
have the impression that there are at least some Latex users among the
contributors. The question is: What editors for Latex are to be
recommended? I have located one:
http://www.latexeditor.org/
What other alternatives are there? I am (for the most part) using
Windows XP.
Tom
2005 Jul 08
4
Sweave resource leak: leftover temp files (PR#7998)
Harold, I've taken a closer look at your example and I'd call this an
Sweave bug. It creates tempfiles each time you run it, and doesn't
delete them at the end. For example:
> list.files(tempdir())
character(0)
> testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils")
> Sweave(testfile, out="junk.tex")
2013 Dec 23
4
ayuda con documento knitr
Hola, no se si es este el sitio apropiado para mi consulta, pero
igual alguien también ha tenido el mismo problema.
Estoy preparando un
documento con knitr a través de Tinn-R y WinEdt. Todo va bien hasta que
quiero mostrar directamente el resultado
de una secuencia de código
directamente en el documento. Entonces al crear el documento latex me
sale el siguiente error:
("C:ARCHIVOS DE
2005 Jul 08
2
Sweave resource leak: leftover temp files (PR#7999)
This is great. Thank you for your help, but let me make sure I fully
understand. Here is the looping file I use to subset the data frame,
create a tex file, and Sweave it. This results in N number of tex files
where N is equal to the number of rows in the data frame.
list <- unique(wide$stuid)
master = "master.tex"
for (i in list){
tmp1 <- subset(wide, stuid==i)
tmp2
2008 Oct 16
1
package Utils Sweave Example Error
Hi:
I'm still trying to figure out how use Sweave. Trying the example below I get the error message when texi2dvi is executed. Any ideas about how to make texi2dvi work?
library(tools)
> testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils")
> options(device.ask.default=FALSE)
> Sweave(testfile)
Writing to file Sweave-test-1.tex
2010 Feb 12
1
Sweave
Hello, I am trying to start using Sweave. I copy the example from help Sweave
testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils")
## enforce par(ask=FALSE)
options(device.ask.default=FALSE)
## create a LaTeX file
Sweave(testfile)
## This can be compiled to PDF by
tools::texi2dvi("Sweave-test-1.tex", pdf=TRUE)
and I
2010 Feb 20
3
LaTeX/R/Sweave Problems
Dear All:
For a few days now I have struggled with recreating a stable LaTeX/R/Sweave
environment on a new Windows XP SP3 machine. Unfortunately it seems that I
ran out of good ideas and I would like your expert opinion on how I should
approach this task and be successful. In essence, I installed (several
times) in this order the following: R2.10.1 (and then R 2.9.2), Adobe
Acrobat Reader 9
2005 Sep 05
12
TeX distribution on Windows
I'm looking for a Windows distribution of TeX that works with R, after a
few years' absence from Windows. On Duncan Murdoch's Rtools page fptex is
still recommended, but it turns out that fptex is "defunct" as of May 2005,
see
http://www.metz.supelec.fr/~popineau/xemtex-7.html
So, what is suggested? TUG (tug.org) recommends something called proTeXt,
which is said to be
2002 Oct 10
1
problem with Sweave on 1.6 on NT4
Hi,
I recently compiled 1.6 on NT4 but
I am having a problem with Sweave.
Using the inbuilt 'Sweave-test-1.Rnw' file as an example:
-------
> library(tools)
> testfile <- file.path(.path.package("tools"),
"Sweave", "Sweave-test-1.Rnw")
## create a LaTeX file
Sweave(testfile)
testfile <-
2008 Oct 13
1
MiKTEX-texi2dvi
Sorry, I forgot to include a reproducible example on my last e-mail but here it is: Since the file is large to be included here:
The path to the foo.Rnw examples is:
www.stat.umn.edu/~charlie/Sweave/foo.Rnw
and is suppossed to produce a pdf like this one:
http://www.stat.umn.edu/~charlie/Sweave/foo.pdf
I have downloaded MiKTEX but I don't know how to make it work. Sweave and Stangle seem to
2009 Feb 02
2
Sweave
I'm trying to (re)learn Sweave and run into some problems. I use now ubuntu
(8.10), emacs + ess.
Slowly getting upto speed on ess. I have a complete (hopefully) .Rnw file,
but the resulting .tex
will not compile. The file does not contain anything exotic, but it produces
pdf figures, and that
is where the problems come:
library(tools)
> Sweave("varioCoo.Rnw")
Writing to file
2006 Oct 08
2
'weaver' package problem
Hi Seth,
The possibility of caching computations would be a great boon when
one is iteratively refining a paper; so I'm most grateful for your
work on this. Unfortunately I have a problem to report:
******************installing******************
> source("http://bioconductor.org/biocLite.R")
> biocLite("weaver")
Running getBioC version 0.1.8 with R version
2003 Apr 30
2
Working comfortably with (X)Emacs + Sweave
Dear List,
I am trying to become more familiar with Sweave at the moment, beacuse
I am convinced that it will eventually make my life easier. However,
I have not found anything relevant in the mail archives about the
following problem.
Both the article in R-News and the Sweave FAQ suggest that Emacs would
be a great development environment for working with Sweave. So far, it
doesn't seem to
2011 Feb 07
2
Error with named chunks in Sweave with the development version of R
Dear all,
There seems to be a problem with named chunks in Sweave with the version
of R under development (downloaded yesterday). When I sweave the file
toto.Rnw described at the end of this mail (Ubuntu 10.04 LTS), the
function Sweave returns an Internal error:
> utils::Sweave("toto.Rnw")
Writing to file toto.tex
Processing code chunks ...
1 : echo term verbatim (label=a)
2
2008 Jul 27
2
Colors in Sweave
Hi list,
I was using Sweave and was wondering if anyone has had any luck changing the font colors of the code chunks. For instance, in my .Rnw preample I tried including:
===
\usepackage[usenames]{colors}
\definecolor{darkred}{rgb}{0.545,0,0}
\definecolor{midnightblue}{rgb}{0.098,0.098,0.439}
\DefineVerbatimEnvironment{Sinput}{Verbatim}{fontshape=sl,formatcom={\color{midnightblue}}}
2008 Mar 30
1
Second & subsequent calls to function fails. Please help debug.
Dear R-helpers,
I'm running Sweave() on a file. First run:
> Sweave('20080331.Rnw')
Writing to file 20080331.tex
Processing code chunks ...
1 : term hide (label=setup)
2 : echo term verbatim (label=oatvar)
3 : echo term verbatim (label=oatvar1)
4 : echo term verbatim (label=oat2wt)
5 : echo term verbatim (label=oat2wt)
6 : echo term verbatim (label=lm)
7 : echo term
2010 Oct 25
1
Sweave and absolute escaped backslashed Windows paths in R 2.12.0
I've noticed a change in behavior in R 2.12.0 from 2.11.1 regarding the
treatment of absolute paths in the file argument of Sweave in a Windows
environment.
Consider the minimal Rnw file, attached and reproduced below my
signature in case .Rnw files get stripped. This file is stored on my
(Windows) computer in H:/My Documents. Using an absolute path with the
standard window's
2008 Dec 14
2
Sweave/Rweave and results="verbatim"
Hello,
in a Rnw-file I have this used stuff to try out tex-results...
==============================
<<>>>=
texme <- function() cat( "{\\bf Hallo, das ist voll fett!}\n" )
@
<<results="verbatim">>=
texme()
@
==============================
I used this command: "R CMD Sweave example.Rnw"
and got this error:
2011 Mar 07
2
Sweave with scan()-ed data
In an Sweave slide, I want to use sem::read.moments() and
sem::specify.model(), which work
by using scan() to read the following lines, up to the first blank
line. However, Sweave
throws an error:
> Sweave("sem-thurstone.Rnw")
Writing to file sem-thurstone.tex
Processing code chunks ...
1 : term hide (label=arrests-setup)
2 : echo term hide (label=thurstone-data)
Error: