Displaying 20 results from an estimated 8000 matches similar to: "problem with Sweave on 1.6 on NT4"
2008 Jun 17
3
Sweave: problem with usepackage{C:/PROGRA~1/R/R-27~1.0/share/texmf/Sweave}
R users,
I'm at a loss with a problem considering running .tex files produced
by Sweave. When I run (R 2.7.0):
---------------------------------------------------
#Taken from ?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)
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}
2011 Sep 30
2
Understanding the workflow between sweave, R and Latex
Let's say I have written the following tiny .Rnw file:
_________________________________________
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{Sweave}
\usepackage{tikz}
\usepackage{pgf}
\begin{document}
<<>>=
sessionInfo()
@
\end{document}
_________________________________________
I then can go to R and use sweave to translate the .Rnw file into a .tex
2002 Oct 10
3
Sweave (PR#2142)
In the 'RWeaveLatexSetup' function in the 'tools' package in R 1.6.0 , the
code below does not work (pdflatex can't find 'Sweave.sty'):
if (stylepath)
styfile <- file.path(R.home(), "share", "texmf", "Sweave")
else styfile <- "Sweave"
In R 1.5.1, that was:
if(stylepath)
styfile <-
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
2005 Jun 16
1
Sweave and sideways
Hi there,
I'm rying to 'turn' an Schunk in an .Rnw file(Xemacs-21.4.13, ESS-5.2.8,
R-2.1, miktex-2.4.1705).
Has anyone got the isorot package to work with Sweave?
JC
example test.Rnw:
\documentclass[a4paper]{article}
\usepackage{Sweave}
\usepackage{isorot}
\rotdriver{dvips}
\clockwise
\title{Sweave Example 1}
\author{apologies to Friedrich Leisch }
\begin{document}
\maketitle
2004 Jan 29
2
Finding Sweave.sty and other problems
Hi,
I've just tried to run example-3 from Friedrich Leish. I'm using R 1.8.1
and MiKTeX 2.2 on Windows XP.
I go
===
> library(tools)
> Sweave("example-3.Snw")
Writing to file example-3.tex
Processing code chunks ...
1 : term hide
2 : echo term verbatim
3 : term tex
4 : term verbatim eps pdf
You can now run LaTeX on example-3.tex
===
The file example-3.tex
2010 Jun 15
1
location of Sweave.sty in R devel (2010-06-15 r52280)
Sorry if I was supposed to file a bug report, but I don't know whether
we're supposed to do that on R devel. I just built R devel from source
(2010-06-15 r52280) and tried to check a package with it and Sweave
failed on the vignette. It puts the line
\usepackage{/HOME/faculty/charlie/local/devel/lib64/R/share/texmf/Sweave}
in the *.tex file but, that's not where Sweave.sty is
oak$
2004 Dec 20
3
Sweave and LaTeX beamer class
Hi,
has anyonne experienced problems between the LaTeX beamer class and
Sweave? The following code does not work properly:
#################################
\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ngerman}
\begin{document}
\frame{
\frametitle{test}
test
<<>>=
1+1
@
}
\end{document}
#################################
Below is the
2003 Sep 10
1
sweave problem
hi!
using:
Version 1.8.0 Under development (unstable) (2003-09-02)
using the Sweave function of the tools package i get this error when
latexing with texi2dvi --pdf
! LaTeX Error: File `upquote.sty' not found.
if i change the line
\usepackage{/users/faculty/ririzarr/R-1.8.0/lib/R/share/texmf/Sweave}
to
\usepackage{/users/faculty/ririzarr/R-1.7.1/lib/R/share/texmf/Sweave}
in the tex file,
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
2007 Sep 27
3
Sweave problem in Windows
Hi,
I have searched the lists but still can not solve the problem. I am using a
windows machine. After I sweave some Rnw file, I got a tex file. However,
the tex file can not be compiled. I know the problem is in the line
\usepackage{C:/PROGRA~1/R/R-25~1.1/share/texmf/Sweave} and I need to modify
this line to
\usepackage{Sweave}.
I hope there can be some automatic way to do this instead of
2011 May 21
1
dealing with sweave.sty and pgfSweave
Hi,
I would appreciate some help with a very basic problem in using pgfSweave. That
is, dealing with the sweave.sty file. After some googling, I did the following :
(1) copied the sweave.sty file to my trial folder and (2) added the line??
\usepackage{Sweave}?? to the Rnw file. Are there more elegant ways of dealing
with this issue?
I have read something about letting Miktex know about the
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 Mar 17
1
Combining Sweave and fancyvrb
I find Sweave very useful and I was trying to combine it with the
latex package fancyvrb. I was trying to get line numbering and labels
in order to reference the lines where particular commands occur.
Unfortunately, I haven't been able to figure out how to do it. Maybe
somebody can help me.
The following is a sample Rnw file: the first part shows what I would
like to get, the second what I
2007 May 06
1
Sweave and size10.clo
Using Sweave on Windows (MikTeX 2.5 and R 2.4.1), I've ran into a bit of a
problem with the tex -> DVI process.
First, I've corrected the common \usepackage error by using
\usepackage{"C:/Program Files/R/R-2.4.1/share/texmf/Sweave"} to get around
the spacing problem. That is, LaTeX is finding the Sweave.sty, which has
been a common problem in past postings here.
However, my
2006 Aug 28
2
[Bioc-devel] Sweave windows style path (was Re: texmf error on 7 packages on devel winXP build nodes)
>>>>> On Sun, 27 Aug 2006 07:45:00 -0700,
>>>>> Martin Morgan (MM) wrote:
> [A build system misconfiguration at Bioconductor lead to a discussion
> about whether \usepackage{Sweave} should be included in .Rnw
> documents. Leaving this line out causes a problem on Windows, as
> indicated below.]
> I think the problem is '~', which
2009 Feb 04
2
Sweave and \Sexpr{}
Hi:
I am trying to create a dynamic latex table using \Sexpr{} but it's not evaluating it. I also tried the example below without Sweave and also fails. I have also copied the Sweave.sty to my working directory but nothing seems to work. Do I need to have certain package in order to run \Sexpr{}?
\documentclass[a4paper]{article}
\usepackage{C:/R/R-2.8.1/share/texmf/Sweave}
\begin{document}
2008 May 16
1
Sweave.sty problems under WinXP (English locale) with default settings
Hi R-devels,
I encounter the following problem when I want to build a vignette
in the package building process under Windows
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor
2008 Nov 18
1
Sweave
Dear All,
I have both R 2.80 and Scientific Workplace 5.5 installed on my computer.
I copied the following commands from HTML help provided by R:
testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils")
Sweave(testfile)
I then compile Sweave-test-1.tex file using Scientific Workplace 5.5. Apparently, Scienfic Workplace 5.5 does not recognize