Displaying 20 results from an estimated 10000 matches similar to: "Sweave problem in Windows"
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 <-
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
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)
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 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
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
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
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
2011 Apr 09
1
Trouble with Sweave and Beamer
Dear All,
I am running Debian testing on my box and I installed latex and R from
the standard repositories.
I am trying my hands at sweave, but somehow I am experiencing problems
(I am trying to use beamer and Sweave). Please see the snippet at the
end of the email and saved as report.Rnw.
When I run the command
$ R CMD Sweave report.Rnw
Writing to file report.tex
Processing code chunks ...
2009 Jan 13
6
basic sweave question
I am trying to learn the basics of Sweave so I read some things and a
friend gave me his Rnw file
to play with. I am able to do R CMD Sweave mark-example.Rnw. That works.
But,
then when I do latex mark-example.tex, I get the message below. I looked
in the archives
and Martin Morgan mentioned something in 2004 in terms of making sure
that latex is
looking at where Sweave.sty is but I am unsure
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
2006 Sep 20
2
Sweave processes \Sexpr in commented LaTeX source (2.3.1patched and 2.4.0)
Hi all,
On FC5, using:
Version 2.3.1 Patched (2006-08-06 r38829)
and today's
R version 2.4.0 alpha (2006-09-19 r39397)
with the following .Rnw file:
\documentclass[10pt]{article}
\begin{document}
This line should print '2': \Sexpr{1 + 1}
%% This line should NOT print '2': \Sexpr{1 + 1}
\end{document}
The \Sexpr in the second line is processed even though the
2006 Sep 20
2
Sweave processes \Sexpr in commented LaTeX source (2.3.1patched and 2.4.0)
Hi all,
On FC5, using:
Version 2.3.1 Patched (2006-08-06 r38829)
and today's
R version 2.4.0 alpha (2006-09-19 r39397)
with the following .Rnw file:
\documentclass[10pt]{article}
\begin{document}
This line should print '2': \Sexpr{1 + 1}
%% This line should NOT print '2': \Sexpr{1 + 1}
\end{document}
The \Sexpr in the second line is processed even though the
2007 Aug 31
2
Bugreport on integration of Sweave and latex beamer
I think I have isolated a problem with integration between Sweave and beamer.
Could you please see the file:
http://www.mayin.org/ajayshah/tmp/bugdemo.Rnw
Unfortunately, it uses some of my internal libraries, so you can't run
it. When I put it through Sweave, I get:
http://www.mayin.org/ajayshah/tmp/bugdemo.tex
which is, of course, a generic latex file which you can read and
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:
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
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
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
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