Displaying 20 results from an estimated 1000 matches similar to: "Finding Sweave.sty and other problems"
2006 Aug 04
1
Questions about sweave...
Evening all:
I'm taking a little time to experiment with R, Sweave, and Miktex/LaTex but
I've run up against some problems and -well- I hope that there are some on
the list who might have some suggestions. This will be kind of wordy as I
will include the complete files involved as I'm just not sure what I'm
looking for. Apologies at the outset.
I created the source file
2003 Dec 26
1
Problems converting output from Sweave to PDf
I am having trouble converting the output from Sweave
into a valid PDF file.
I have created a simple .Rnw file which will become a
full vignette at some point, but during the
intermediate testing, I got errors from texi2dvi.
This is what I have done.
0) Using a Windows Xp system
1) Created a file called GeneSpring.Rnw
2) Convert this to Tex using Sweave("GeneSpring.Rnw")
from within R
2010 Feb 11
1
Sweve/cacheSweave
Hi there
I have a problem with using Sweave in combination with the option driver = cacheSweave.
Whichever code I try to run - when it comes to converting the tex file into pdf it comes up with the same errors (\csname \endcsname errors). Does anybody have an idea what it going wrong?
> Sweave("pgfSweave-example.Rnw",driver = cacheSweaveDriver)
Writing to file
2008 Mar 24
2
Newbie help with Sweave
I think I've gotten my Emacs/Sweave/R system set up correctly, thanks to
Vincent and Jim, but I haven't been successful getting my first document
produced. I'm trying to use one of Friedrich Leisch's examples,
http://www.ci.tuwien.ac.at/~leisch/Sweave/example-1.Snw. I cut and
pasted the text into a document sweaveexample.Rnw in Emacs. It seemed to
be processed successfully with R:
2003 May 17
1
problem building dvi and pdf documentation on Darwin 10.2.6
I just installed R-1.7.0 on Darwin 6.6 (a.k.a. MacOS 10.2.6).
'make' and 'make check' run without any problems. 'make info'
builds with no complaints, but 'make dvi' and 'make pdf' fail.
I get refman.dvi and refman.pdf OK (with some warnings from
pdftex that some names are referenced that do not exist), but
R-FAQ.{dvi,pdf} fails as shown below. Attempts
2009 Jun 26
0
Modifying Sweave.sty to allow escapes with fancyvrb package in LaTeX
Dear Colleagues:
In an attempt to have things like # See page \pageref{this} inside
comments in R code chunks I have modified Sweave.sty as below. I have
followed fancyvrb's manual with regard to the use of the commandchars
argument. But when compiling with LaTeX (using attached test file) I
get a LaTeX error
(/usr/share/texmf-texlive/tex/latex/ae/t1aett.fd)
! Missing \endcsname
2012 Apr 04
3
Rgui maintains open file handles after Sweave error
Hello Folks,
When I run the document below through sweave, rgui.exe/rsession.exe
leaves a file handle open to the sweave-001.pdf graphic (as verified by
process explorer). Pdflatex.exe then crashes (with a Permission Denied
error) because the graphic file is locked.
This only seems to happen when there is an error in the sweave document.
When there are no errors, no file handles are left open.
2003 Dec 17
1
Building packages in XP
R users,
I recently upgraded (?) to Windows XP from 2000. I am trying to build an R
package. I have done this many times on my old system and I am not sure why
it is not working in XP.
To build the package I call a bat file that specifies all the necessary
paths -- but the "build" file (which appears to be a perl script) is looking
for a "src" subdirectory in the src
2004 Jan 05
2
build R package on winXP
Hello,
I wrote an R function and want to build an R package on winXP. I have
set my
path:C:\bin;C:\MinGW\bin;C:\Perl\bin\;C:\Tcl\bin;C:\texmf\miktex\bin;C:\Program
Files\R\rw1081\bin;
I tried to run "Rcmd build --help" but failed. Under
C:\WINDOWS\System32\cmd.exe, I got the error message:
Please set TMPDIR to a valid temporary directory.
Under Cygwin, I got the error message:
2005 Aug 05
3
Latex error with Sweave example
I created a tex file following the example in the Sweave help which
produced the following files in my working directory.
Sweave-test-1-006.eps
Sweave-test-1-006.pdf
Sweave-test-1-007.eps
Sweave-test-1-007.pdf
Sweave-test-1.tex
When I run latex on this, I get a latex error, log file below. I am
running R 2.1.1 on Windows XP. I have installed "small MiKTeX" and I
have added
2004 Feb 20
1
Sweave not found from MikTeX?
I've been working on a LaTeX document that contains Sweave code and cannot
get MikTeX to find the Sweave.sty file. I've added the c:\rw1081\share\texmf
path in the MikTeX roots (I've ven added the path in the environment
variables ) but to no avail. Is there a trick to getting Sweave installed
correctly when using MikTeX on Windows XP? Do I need to move/copy the
Sweave.sty file to the
2005 Oct 02
1
Problem Sweaving vignettes: MiKTeX's texi2dvi reports errors
Hi,
I am trying to create a Bioconductor package. Everything installs and checks
fine. Now I'm on my last step, which is to create a vignette. I'm trying to
test the Sweave process, to make sure I can build a vignette. I am stuck at
the texi2dvi stage, which fails when I try to process the example
Sweave-test-1.tex file.
I am using Windows binary R distributions, and have the same
2018 May 29
2
CentOS 7 issues with pdf manual / tex conversion
On a CentOS 7 machine, I am at a loss with respect to an inability to run a
full R CMD check as anything involving tex files ends in tears.
We followed the README at CRAN and installed a large number of tex-live
packages on this machine. But when a manual is created, we end up with what
follows below. Here, I chopped some of the error messages, the key seems to
be 'Insufficient extension
2004 Jul 01
1
\middle in Rd.sty conflicts with newer LaTeX?
Rd.sty defines
\newlength{\middle}
which seems to be in conflict with the my latex installation.
Here is a minimal example:
\documentclass{article}
\newlength{\middle}
\begin{document}
\end{document}
It runs fine on a Linux box:
carp:136% latex test.tex
This is TeX, Version 3.14159 (Web2C 7.3.1)
(test.tex
LaTeX2e <2000/06/01>
Babel <v3.7h> and hyphenation patterns for american,
2008 Aug 05
0
patchDVI update: SyncTex support
A while ago I wrote a package called patchDVI, that allowed
"reverse-search" from the YAP .dvi previewer (or others) to jump
directly to the .Rnw source of an Sweave document.
Recently support for reverse search has been integrated into pdflatex
(through SyncTex). There aren't many PDF previewers on Windows that
support this (only an unreleased version of SumatraPDF, as far as
2015 Jan 08
2
latex warning
Dear all,
I am getting an R CMD check warning about the PDF manual. I am having a
hard time finding out what is wrong, here is the log of the Rd2pdf call.
The full check (and other) log is at
https://api.travis-ci.org/jobs/46373922/log.txt?deansi=true if anybody is
interested, and the package itself is here:
https://github.com/metacran/r-builder/tree/bintex/rbuildertest
Thanks, Best,
Gabor
2012 Mar 14
1
issue with Rd2pdf and \Sexpr in Rd files
Hi,
The following command:
R CMD Rd2pdf --no-preview --output=./tmp.pdf --title=test genefu-package.Rd
run against this file:
https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/genefu/man/genefu-package.Rd
(username: readonly; password: readonly)
produces a very verbose error (see below)
with R version 2.15.0 alpha (2012-03-07 r58622).
The .Rd file has these lines in it:
Version: \tab
2009 Apr 16
2
there are fontencoding problem in Sweave
I want write article by russian language using Sweave. For cyrillic text
LaTeX use T2A encoding
\usepackage[T2A]{fontenc}
But in Sweave.sty we find:
\RequirePackage[T1]{fontenc}
It is source of critical problem.
For example Rnw file
$ cat estimation.Rnw
\documentclass[A4paper]{article}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian,english]{babel}
2010 Mar 17
2
Sweave and kile
Dear R-users,
I want to give a try to Sweave and Latex but I am having some problems
compiling my .Rnw files within Kile. I have followed the recommendations
given in http://tolstoy.newcastle.edu.au/R/e5/help/08/10/4277, but they do
not seem to address my particular problem.
I am using R 2.11.0 and Kile v 2.0.83 on an OpenSUSE11.2 installation (KDE
4.3 environment). According to the log (see
2009 Apr 24
2
Error building package: LaTeX error when creating PDF version
Hi all
I am trying to build an R package, which I have successfully done many times before, but have an error I cannot trace. I hope someone can help me.
Here's is some edited output (full output below if it is useful):
pdunn2 at PDunnUbuntu:~/DSdata$ R CMD build GLMsData
* checking for file 'GLMsData/DESCRIPTION' ... OK
* preparing 'GLMsData':
* checking DESCRIPTION