similar to: R and Sweave

Displaying 20 results from an estimated 10000 matches similar to: "R and Sweave"

2011 Aug 21
3
Sweave doesn't work
Hi R users. I've got a problem in producing the pdf file from Latex with R code. When I run the code Sweave("example.Rtex") in R it seems working, but when I run the Latex file it doesn't. The code error shown to me is below: *Runaway argument? {echo=FALSE} data<- read.csv("C:\\Users\\Daniele\\Desktop\\dati\\dati_england ! File ended while scanning use of \FV at
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 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 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
2009 Oct 19
3
Sweave file generation
Dear list,I have read really a lot the past few days, but I haven't found a matching solution for my problem.I have R 2.9.2 on Windows XP and MikTex 2.8 installed.What I want to do is to automate the sweave file generation.I thought I could use the R2Sweave, RweaveLatex, and Sweave in a combination so thatI won't need to do anything.Perhaps some minor modifications at the last step.My
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 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
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
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
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
2008 Dec 31
1
finding yap.exe with Sweave
Dear all: Just to make sure I am on the same page as everyone else. I just got a new computer and had to reinstall MikTex and of course R and Tinn-R. In order to be able to generate PDF's with Sweave I had to install notepad++ to tell Sweave where Latex.exe and yap.exe where located under MikTex path. So,I have two questions: 1- Do I need to have a Miktex editor in order to use Sweave? I am
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
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
2009 Nov 12
1
Rearranging long tables, Sweave, xtable, LaTeX
Dear R-users, consider the two following outputs, ## 1 and ## 2 \begin{Scode}{Setup, echo = FALSE, print = FALSE, eval = TRUE} with(expand.grid(Fact1 = 1:3, Fact2 = 1:40), table(Fact1, Fact2)) ## 1 xtable(with(expand.grid(Fact1 = 1:3, Fact2 = 1:40), table(Fact1, Fact2))) ## 2 \end{Scode} The first line with(expand.grid(Fact1 = 1:3, Fact2 = 1:40), table(Fact1, Fact2))
2006 Dec 20
2
\Sexpr in MikTex
Greetings, \Sexpr{} has worked on MikTex with earlier versions of R, I can not seem to get it to work with R-2.4.0. I run Sweave with MikTex using the following statement in Run under Accessories. latex -include-directory="C:\Program Files\R\R-2.4.0\share\texmf" "C:\Documents and Settings\Suzette\Desktop\MyFile\MyProgram.tex" Any advice would be much appreciated, Suzette
2008 Apr 09
1
Windows problem related to using shortPathName for Sweave style file
In the process of updating R to R 2.7 alpha or R 2.7 beta for the BioConductor 2.2 builds on Windows, I have hit a snag because the BioC build system has long path names (e.g. D:\biocbld\bbs-2.2-bioc\R) and these path names are not resolving properly by MiKTeX 2.7 during vignette construction. Take, for example, the attached vignette from Biobase, Bioconductor.Rnw. I have built R from source
2006 Nov 23
2
Sweave question
I try Sweave and get Sweave-test-1.tex but hot to run LaTeX on 'Sweave-test-1.tex'? I am using WinEdt. thanks, Aimin > Sweave(testfile) Writing to file Sweave-test-1.tex Processing code chunks ... 1 : print term verbatim 2 : term hide 3 : echo print term verbatim 4 : term verbatim 5 : echo term verbatim 6 : echo term verbatim eps pdf 7 : echo term verbatim eps pdf
2010 Sep 11
1
R CMD build cannot create vignettes on Windows if Makefile is used
Hi, I found the following problem with recent R-devel (2010-08-26 r52817) on Windows (32-bit and 64-bit): 'R CMD build <pkg>' gets stalled during vignette creation for packages that have a Makefile in <pkg>/inst/doc. It seems that the problem is that the commands used in the Makefile for converting .tex to .pdf are not able to locate the Sweave.sty file anymore (if I drop
2009 Jan 31
1
Question on Sweave-Latex and examples in the Sweave Manual
Hi List, I have a problem with using Latex and Sweave for creating a document. So I downloaded the Sweave manual from http://www.statistik.lmu.de/~leisch/Sweave/Sweave-manual.pdf and i have tried to replicate the example on pages 4-5, but i encounter the following problem: IT DOES NOT WORK. I can run Sweave, create the .tex file and then when building the .tex file in TeXnikCenter i get all