similar to: Sweave (PR#2142)

Displaying 20 results from an estimated 1000 matches similar to: "Sweave (PR#2142)"

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
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
2003 Jun 30
4
french map
Hello, I would like to know if (as the usa map with Splus), it is possible with R to plot the french map and to add points (representing towns for instance) on the figure in the appropriate (x,y) system. Thank you. Nathalie Peyrard
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 Mar 04
2
Plotting a x axis from a vector with rownames
Hi all, suppose there is a vector y with rownames: > y cond1 cond2 cond3 cond4 78.952 87.308 86.490 74.040 how can I easily plot this vector using the rownames? plot(y) gives me a plot with a x-axis from 1 to 4 in 0.5 steps, also plot(rownames(y), y) and plot(y ~ rownames(y) don't work. I know I can build a x-axis with axis(1, ...), but in this case I need a character string like
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
2004 Jun 03
1
Problem with par("usr")
Hi, I'm trying to use the "usr" argument but I see no effect of this option on my plots. For example: > par(usr=c(0,4,0,4)) > plot(1,1) This plots one point fine, but the coordinates of the plotting region are not those that I specified using par()... I can check this with > par("usr") [1] 0.568 1.432 0.568 1.432 What can I change in order to have this
2004 Sep 28
3
S latex listings
Hello, I would like to insert S code to my latex document. I was looking for a listings package that supports S. In www.r-project.or in the software/other section there is an item with a link to latex package listings, but it seems that the link is broken. Does anybody know an alternative to get the package? Thanks in advance,
2005 Feb 25
1
how to produce disease maps
-------------- next part -------------- An embedded message was scrubbed... From: Martin Maechler <maechler at stat.math.ethz.ch> Subject: Re: producing maps Date: Fri, 25 Feb 2005 00:18:59 +0100 Size: 2511 Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050225/75bb1c86/producingmaps.mht
2005 Sep 09
1
measurement unit
Dear R-list, Could anybody tell me where to find information about changing the measurement unit from inch to centimeters? I read the help from X11, I read R-intro and I did some searhing in the R archives, but I couldn't find the answer. For example, I would like to produce a plot of a certain width and height: X11(width=10, height=5) and I would like these to be centimeters, rather
2004 May 18
7
Isotopic notation in plots
I really like to use R for all my graphs, and as I work with stable isotopes I want to have a proper chemical notation in my plots I have looked at ?plotmath, but didn't find the answer and also searched the R website. ------------------------------------------------------------------------ -- plot(1:10,xlab=expression(^{14}*C)) # I want to have a superscript with nothing in front, but it
1999 Apr 14
1
Re: R-0.64.0 for Win9X/WinNT
---------- > De : Guido Masarotto <guido at hal.stat.unipd.it> > A : r-announce at stat.math.ethz.ch > Objet : R-0.64.0 for Win9X/WinNT > Date?: mardi 13 avril 1999 10:08 > > > Windows binaries and source at CRAN (binaries/windows/Windows-NT/base) > have been updated to R-0.64.0. Thank you very much Guido and Brian! On my machine (with MikTeX installed), I use
2003 Jul 22
3
curves with shaded areas?
Hi, I want to make a plot with abline where the area below or above the curve is shaded. I can't find any documentation on that. Can anybody help me with that? thanks, Juffi
2003 Mar 10
3
VIM Syntax Highlighting
Has anyone got vim to have syntax highlighting with R function codes? I know there's something similar that works with emacs (ESS or something like that), but I was wondering if anyone knew an equivalent that worked with vim. Thank you, -- []'s mentus at gmx.de Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage!
2012 Aug 21
1
patchDVI: how to pass encoding of the .Rnw file?
On 12-08-19 3:47 PM, Marius Hofert wrote: > Dear Duncan, > > I recently asked a question concerning patchDVI on r-help, see > > ,---- > | https://stat.ethz.ch/pipermail/r-help/2012-August/321780.html > `---- > > Unfortunately, no one could help. I was wondering if you know a solution to the > above problem. Any hint is highly appreciated. Sorry, I'm writing this
2003 Jul 29
1
Sweave: pass scale parameter to includegraphics?
Hi all I'm using Sweave and find it a treat. But one question: I use Sweave to create my pictures which are automatically included into LaTeX. For example, in the file test.Snw, I may have: % LaTeX stuff \begin{figure} <<fig=true,width=5,height=5>>= x1 <- seq(1,5, length=10) x2 <- sin(x1) plot(x1,x2) @ \caption{Plot} \end{figure} % More LaTeX This produces the LaTeX
2003 Oct 21
2
report generator a la epiinfo
Hi I'd like to use R in epidemiology and disease surveillance. In EpiInfo you can have a script (.pgm) which calls a predefined report (.rpt), where a table is calculated and values picked from that table and placed where the author of the report wants them, with text around those values. (Please see example below.) I've looked at manuals, faq, mail-search and google. The closest is an
2004 Mar 30
2
Sweave and graphic output locations
Hello, I'm using R1.8.1 on windows 2000 and version 1.8.1 of the tools package. I am attempting to have Sweave write files to a different directory via: testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "tools") ## create a LaTeX file Sweave( testfile, output = "C:/temp/Sweave-test-1.tex",
2002 Sep 27
3
xtable()
Hi, Does anyone know how to manually configure the number of digits printed out from xtable()? For example, I'm exporting a data frame through xtable() into a LaTeX table, I only have two columns in the data frame so by default I only get two decimal places. But I'd like at least 5 decimal places. I had a look at ?xtable() but can't seem to find an example. Cheers, Kevin