similar to: dynamic reports with sweave: error when compiling the tex-file

Displaying 20 results from an estimated 4000 matches similar to: "dynamic reports with sweave: error when compiling the tex-file"

2016 Apr 07
1
dynamic reports with sweave: error when compiling the tex-file
Hello, I took my first steps in dynamic reports with Gnu R and used sweave(). I therefore run Sweave() with an example of Friedrich Leisch, starting like this: \ documentclass [ a4paper ]{ article } \ title { Sweave Example 1} \ author { Friedrich Leisch } \ begin { document } \ maketitle and so on. It worked very well but when I tried to compile the latex file I get this error message: !
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 Dec 22
1
Error in generating sweave-tex -> pdf file
Hi, I created a Sweave file (see below). when I want to convert tex file generated from it into pdf, I get error message as follows: > texi2dvi("test.tex", pdf=TRUE) Error in texi2dvi("test.tex", pdf = TRUE) : Running 'texi2dvi' on 'test.tex' failed. LaTeX errors: ! Undefined control sequence. l.8 \begin {Schunk} ? ! Interruption. !
2009 Jul 02
0
SweaveListingUtils --- a package for joining markup provided by TeX package 'listings' with Sweave
As indicated in some off-list mail by Frank E. Harrell Jr., the announcement of the availability of package %--------------------------------------------- SweaveListingUtils %--------------------------------------------- on CRAN, mingled into mail "New versions for the distr-family of packages" to R-pkgs from 21 Apr 2009, will probably have gone unnoticed by some people who might be
2009 Jul 02
0
SweaveListingUtils --- a package for joining markup provided by TeX package 'listings' with Sweave
As indicated in some off-list mail by Frank E. Harrell Jr., the announcement of the availability of package %--------------------------------------------- SweaveListingUtils %--------------------------------------------- on CRAN, mingled into mail "New versions for the distr-family of packages" to R-pkgs from 21 Apr 2009, will probably have gone unnoticed by some people who might 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 <-
2010 Nov 11
4
Troubleshooting sweave
Hi All, I've reproduced the example from Prof. Friedrich Leisch's webpage. When I write sweave("Example-1.Snw") OR sweave("Example-1.Rnw"), (yes, I renamed them). I get the following error: Writing to file example-1.tex Processing code chunks ... 1 : echo term verbatim Error: chunk 1 Error in library(ctest) : there is no package called 'ctest' Also while
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)
2004 Jul 05
1
Apparent conflict between \Sexpr in Sweave and R2HTML
I have come across an apparent bug in the operation of Sweave. If I load the package R2HTML then execution of \Sexpr{} in an *.Rnw file no longer works. The \Sexpr{} code is simply written to the *.tex file. Below are my *.Rnw file, commands, and output. The Sweave file, Sweave-test-1_short.Rnw: % -*- mode: noweb; noweb-default-code-mode: R-mode; -*- \documentclass{article} \title{A Test
2010 Jun 01
0
Curso de Friedrich Leisch, creador de Sweave, en Barcelona
Estimados/as miembros de la lista, Tenemos el placer de anunciar que del día 28 de junio al día 1 de julio de 2010 se impartirá en Barcelona un curso de creación de librerías R (junto con algún otro tema, incluyendo Sweave) a cargo de Friedrich Leisch, autor de Sweave. El curso se impartirá en inglés. Los detalles sobre el mismo se pueden consultar en
2009 Oct 13
2
Sweave output encoding in R-2.10.0beta on Windows (Rgui <-> Rterm)
Dear developers, I have come across a (somewhat strange) change in the encoding of Sweave output from R-2.9.2pat to R-2.10.0beta (apparently specific to Rgui) on Windows installations. Of course, the NEWS file contains quite a few changes concerning encoding, but I was not able to locate an entry which explains the observed behaviour. I am not very familiar with encodings/locales/codepages,
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 Feb 10
0
calling sweave function from LaTex re directories, formatting
System info: Mandrake 9.0 R Version 1.6.1 ESS 5.1.21 Emacs 21.2.1 ------------------- Colleagues I have followed suggestions by David Whiting, Friedrich Leisch and Frank Harrell, but have a few more queries. 1. On formatting: I added the suggested sweave customization to my .emacs file ; Sweave customisation (defun Rnw-mode () (require 'ess-noweb) (noweb-mode) (if (fboundp
2012 Nov 01
0
(no subject)
Dear Claudia: Your question has many layers. Technically speaking, when I do "2011-05-01 CEST" -"2011-04-01 CEST" I get: > "2011-05-01 CEST" -"2011-04-01 CEST" Error in "2011-05-01 CEST" - "2011-04-01 CEST" : non-numeric argument to binary operator As previous posters suggest, storing the date strings as Date objects works
2008 Jan 21
1
Adding an Sweave Vignette to a package
I'm finalizing development of a package that will include a vignette. Without the vignette, the package builds fine with no warnings and is ready for distribution. Now, I am following the directions for developing vignettes "Sweave, Part II: Package Vignettes" by Friedrich Leisch. I am using a windows XP machine (other session info below). Here is what I have done. 1) I add the
2014 Jan 03
1
Sweave trims console output in "tex" mode
Hi In the example .Rnw file below, only the newline between c and d is visible in the resulting .tex file after running R CMD Sweave. What is the reason for this behavior? Newlines are important in LaTeX and should be preserved. In particular, this behavior leads to incorrect LaTeX code generated when using tikz(console=TRUE) inside a Sweave chunk, as shown in the tikzDevice vignette. A
2014 Apr 22
0
R 3.1.0: 'R CMD Sweave' deletes non tex files created upon batch mode exit
Hi Martin, I use R CMD Sweave often as well, so thanks for looking into this. I have now tested some of my scripts with R-devel revision 65449 (2014-04-22) on 64-Bit Linux Mint 14. I can confirm Marc's report that running R CMD Sweave no longer deletes graphic files and retains created non-tex files (eps and/or pdf). What does not behave as before is the output printed to stdout, which
2002 Nov 05
0
summary: Sweave - documenting a long function
Hi, Here is a summary of the replies to my question yesterday about documenting a long function with Sweave. My thanks to those who replied. Friedrich Leisch suggested a work around which was copied to the mailing list so I wont repeat it here. This worked well. (I made a minor addition by adding braces around each chunk of code to make the output in the pdf file look a bit prettier. This seems
2014 Apr 15
2
R 3.1.0: 'R CMD Sweave' deletes non tex files created upon batch mode exit
On 15 Apr 2014, at 13:14 , Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 14/04/2014, 10:23 AM, Marc Schwartz wrote: >> Hi Martin, >> >> Thanks for your confirmation on this. >> >> I normally do not use R CMD Sweave, as I too run under ESS in normal day to day operations. This finding was a quirk of having a particular Rnw document that I
2004 Jun 25
2
Sweave: R code in self defined TeX-commands
Hi, I need to produce a standard report for several variables in Sweave and thus would need the possibility to define a TeX-command which includes R-code like \newcommand{\meansd}[1]{The mean is \Sexpr{mean(#1)} and the standard deviation is \Sexpr{sd(#1)} . } and then just write \meansd{age} in the latex code to get the whole sentence. The above does not work, since