similar to: R echo code chunk runs off the page using Lyx and Sweav

Displaying 20 results from an estimated 7000 matches similar to: "R echo code chunk runs off the page using Lyx and Sweav"

2009 Nov 10
1
R echo code chunk runs off the page using Lyx and Sweave
I am not really sure where in the interactions this is handled, but I would like to keep echo-ed R code chunks from running past the right margin and off the page. I started with R and options(width=n), but this does not seem to do anything (in the context of a document -- line command works just fine). I have beating my head against different Lyx document settings without anything to
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
2009 Jul 23
1
SweaveOpts(eval=false) not working - CORRECTION
On Thu, Jul 23, 2009 at 3:04 PM, Duncan Murdoch<murdoch at stats.uwo.ca> wrote: > On 23/07/2009 8:58 AM, Rainer M Krug wrote: >> >> Hi >> >> I hope this is the right mailing list - if not, could you please refer >> me to a mora appropriate? >> >> My question: >> >> I am using sweave (in LyX with beamer) for a lecture and I would like
2008 Aug 22
0
Forthcoming R Conferences
Dear useRs and developeRs, I hope all attending useR! in Dortmund last week had as much a good time as I had and a safe trip home. This email is to announce our plans for forthcoming conferences. In 2009 there will be a useR! in Rennes, France (July 8-10), directly followed by a DSC in Copenhagen, Denmark (July 13-14). We would like to have a useR! 2010 in North America, and 2011 in Europe.
2008 Aug 22
0
Forthcoming R Conferences
Dear useRs and developeRs, I hope all attending useR! in Dortmund last week had as much a good time as I had and a safe trip home. This email is to announce our plans for forthcoming conferences. In 2009 there will be a useR! in Rennes, France (July 8-10), directly followed by a DSC in Copenhagen, Denmark (July 13-14). We would like to have a useR! 2010 in North America, and 2011 in Europe.
2009 Feb 05
0
R-help Digest, Vol 72, Issue 3
> Date: Mon, 2 Feb 2009 12:56:15 +0100 > From: friedrich.leisch at stat.uni-muenchen.de > Subject: Re: [R] Problems in Recommending R > To: thomas.petzoldt at tu-dresden.de > Cc: "r-help at r-project.org" <r-help at r-project.org>, > useR-2009 at r-project.org, paul at stat.auckland.ac.nz > Message-ID: <18822.57183.637787.426445 at
2009 Aug 07
1
sweave and R. Searching for a document that will get me started
windows XP R 2.8.1 I would like to learn to use Sweave with R. I have no experience using Latex. I have looked at the sweave manual (http://www.statistik.lmu.de/~leisch/Sweave/Sweave-manual.pdf) and have found it difficult to understand, probably because I don't know Latex. Can someone recommend a document that will get me started with Sweave? Thanks John Confidentiality Statement: This
2005 Jul 27
4
LyX and Sweave
>>>>> On Mon, 25 Jul 2005 14:12:41 +0200, >>>>> Gorjanc Gregor (GG) wrote: > Hello R-users! > I have tried to use Sweave within LyX* and found two ways to accomplish > this. I have attached LyX source file for both ways as well as generated > PDFs. I have copied Gregor's files at http://www.ci.tuwien.ac.at/~leisch/Sweave/LyX for those who
2010 Jun 30
1
Sweave PDF files show plot symbols as "q"
I'm guessing this is a FAQ but I can't find it and that it is probably not exclusive R related but relevant so I thought I'd ask: When I view the PDF output from Sweave (e.g. Example 1 from the author's web site at [1]) on a Linux system using the standard PDF viewer [2], the circles for the outliers in the plot [boxplot(Ozone ~ Month, data = airquality)] show up as the letter
2009 Jun 25
1
Setting default plot size in Sweave
Dear Colleagues: I have used \SweaveOpts{prefix.string=plot, eps = FALSE, pdf = TRUE} \SweaveOpts{width=5, height=4} <<fig=T>>= plot(...) @ But the figure still has a width of 80% of the text width, the default set up by Sweave, which issues a LateX command in Sweave.sty of \setkeys{Gin}{.8\textwidth}. Sweave.sty has a command \ifthenelse{\boolean{Sweave at
2009 Feb 18
4
Google Summer of Code 2009
Hi, in approximately one months time mentoring institutions can propose projects for the Google Summer of Code 2009, see http://code.google.com/soc/ Last year the R Foundation succesfully participated with 4 projects, see http://www.r-project.org/SoC08/ for details. We want to participate again this year. Our project proposals will be managed by Manuel Eugster (email address in CC). Manuel
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
2011 Sep 21
1
R CMD build and vignettes
Dear R-helpers, www.statistik.lmu.de/~*leisch*/*Sweave*/*Sweave*-Rnews-2003-2.pdf says that R CMD build creates the pdf from a .Rnw file. But when I do R CMD build followed by R CMD check it gives me a warning that there is a vignette without a PDF. My query is : when R CMD build works it creates a pdf in the doc subdirectory of the directory returned by system.file(package = mypackage) and not
2005 Jul 25
1
FW: LyX and Sweave
Hello R-users! I have tried to use Sweave within LyX* and found two ways to accomplish this. I have attached LyX source file for both ways. *<http://www.lyx.org> Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical
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 Aug 07
0
several figures from one Sweave chunk? [solved]
(on-list) Hello Cameron On Fri, 6 Aug 2010 19:02:22 +0100 Liviu Andronic <landronimirc at gmail.com> wrote: > On Fri, 6 Aug 2010 11:30:59 -0600 > Cameron Bracken <cameron.bracken at gmail.com> wrote: > > There is no real good way to deal with this in Sweave. Sweave does > > not actually know anything about the graphics it is creating, all > > it knows it that a
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}
2011 Apr 14
1
trouble with \SweaveOpts{grdevice=...}
Dear all I've just tried the brand new 'grdevice' option in Sweave but couldn't make it work. When I declare \SweaveOpts{grdevice=pdf} or \SweaveOpts{grdevice=cairo_pdf} trying to plot something simple <<fig=T, echo=T>>= plot(1:10,1:10,main='Some title') @ would result in an Sweave error: 18:16:47.299: 1 : term verbatim 18:16:47.308: 2 : echo term verbatim
2007 Jun 28
4
Sweave bug? when writing figures / deleting variable in chunk
I have found a quite strange (to me) behaviour in Sweave. It only occurs in the following situation: 1. define a variable in one chunk 2. use it within a subsequent figure-generating chunk 3. delete it at the end of that same chunk Then the Sweave driver chokes, not finding the variable name when generating the figure Example: % document bug2.Rnw \documentclass{article} \usepackage{Sweave}
2009 Jun 12
2
Sweave recode(car) and Lyx, compiling but not executing on Mac
I am just beginning to use Sweave with Lyx on a Mac (R2.8.1). I have 12 chunks of Sweave code that work fine, but this piece: <<>>= library(car)