Displaying 20 results from an estimated 10000 matches similar to: "R echo code chunk runs off the page using Lyx and Sweave"
2009 Dec 09
0
R echo code chunk runs off the page using Lyx and Sweav
I somehow missed the response posted by Ben Bolker. He is quite correct
(happily for me!):
\SweaveOpts{keep.source=TRUE}
in your LaTeX code will (I think) keep whatever manual formatting you do,
in all code chunks (or use keep.source=TRUE) for particular code chunks
of concern
This information has made its way into the latest Sweave manual at
http://www.statistik.lmu.de/~leisch/Sweave/.
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
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)
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
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
2012 Dec 16
1
lyx knitr y toLatex
Hola.
Estoy utilizando lyx con el módulo de knitr y tengo un problemilla con
la función toLatex del paquete memisc.
Pongo un ejemplo mejor.
En Rstudio lo puedo hacer como sigue en un fichero Rnw. y la tabla en el
pdf aparece alineada en el pdf.
\documentclass{article}
\usepackage{booktabs}
\usepackage{dcolumn}
\begin{document}
<<>>=
library(memisc)
X1 <- rnorm(1000)
X2 <-
2012 Feb 14
3
configure lyx2.0.2 with sweave in windows 32 bit.
I am using R 2.14.1. I am trying to configure Lyx with Sweave. I have read
articles but I found none to be complete and I cannot import sweave
document in lyx . Can anyone please help me with a stepwise procedure how to
configure Lyx with Sweave so that I can run my R-code chunks from LYX ,the
output being a pdf.?
Thanks in advance.
-Atanu
--
View this message in context:
2010 May 12
1
Input encoding problem when using sweave with xetex
Hello
Because I want to use different true type fonts with latex, I''m using the
XeTeX typesetting engine for my sweave-documents. I''m using Lyx with Sweave
on a Windows 7 PC and have set up LyX to work with XeTeX according to the
following instructions:
http://wiki.lyx.org/LyX/XeTeX
Because the input file for XeTeX is assumed to be in UTF-8 encoding, I set
the encoding
2010 Dec 13
2
Integration with LaTex and LyX
Hello,
Are there any packages which allow for a good integration between R and
LaTex / LyX? I'm interested mainly in automatic (automagic?) imports of
plots/graphics.
Thanks in advance and best regards,
Eduardo de Oliveira Horta
[[alternative HTML version deleted]]
2010 Dec 07
5
LaTeX, MiKTeX, LyX: A Guide for the Perplexed
Hello Everyone,
Been learning R over the past several months. Read several books and have learned a great deal about data manipulation, statistical analysis, and graphics.
Now I want to learn how to make nice looking documents and about "literate programming." My understanding is that R users normally do this using LaTeX, MiKTeX, LyX, etc. in conjuction with Sweave. An alternative
2011 Nov 15
3
Sweave and accented letters
I often use Lyx/Sweave and I typically write in english.
Today I had to write a document in Italian and, as many of you know,
many italian popular words use ?, ?, ?. ?, etc.
I discovered that if I type in Italian (that is there is at least one
letter with accent) with the Sweave module selected lye is not able
to correctly compile the document.
I tried to change the input encoding, but it
2010 Jun 15
0
cambiar tipo de letra en sweave y lyx
Hola.
Estoy utilizando sweave y Lyx (aún no me atrevo a escribir directamente
en latex) para integrar resultados de R en los informes, pero no sé como
cambiar el tipo de letra de las órdenes de R ni de los resultados.
¿alguna idea?
Gracias
2009 Feb 27
1
Sweave doesn't do csv.get()
Hi Everybody
I use R2.8.0 on Mac OS X. I set up LyX 1.6.1 to use Sweave today. I can
compile the test file I found on CRAN (
http://cran.r-project.org/contrib/extra/lyx/) without a problem and the
output looks very nice. In the test file the following R code is used.
<<myFirstChunkInLyX>>=
xObs <- 100; xMean <- 10; xVar <- 9
x <- rnorm(n=xObs, mean=xMean, sd=sqrt(xVar))
2006 Jan 30
2
Sweave: trouble controlling Design package startup output
Hello, everybody:
I'm experimenting more with Sweave, R, and LyX. There's now an entry
in the LyX wiki on using R, so anybody can do it!
http://wiki.lyx.org/LyX/LyxWithRThroughSweave
Now I notice this frustrating thing. I think I've done everything
possible to make the Design library start up without any fanfare:
<<echo=F,quiet=T,print=F>>=
library(Design, verbose=F)
2010 Apr 08
1
texi2dvi runs but produces no output
I am working on a Windows XP machine with R 2.10.1 and a recent
installation of MiKTeX 2.8. I use LyX (www.lyx.org) to write documents
and have it set up to run Sweave, Stangle, and make the PDF through R
using a batch script and a MakeSweave.R file. This system worked just
fine until I ran some MiKTeX updates yesterday. This is a bit
embarrassing as I helped produce a "How-to" guide to
2020 Jan 24
2
Centos 7 Lyx - installing templates and class files
I'm not kind of an expert using Lyx, but I occasionally do some "structured writing" and on those occasions I've really enjoyed using Lyx; the workflow and the output just can't be beat.
I'm enough of a novice with it that I've never used anything other than the "Article (Standard Class)" document class.
I wrote a short paper using Lyx and the
2020 Jan 25
1
Centos 7 Lyx - installing templates and class files
On Fri, 24 Jan 2020 17:02:20 -0500
Noam Bernstein via CentOS wrote:
> Can you use
> yum whatprovides FILE_GLOB
> to figure out which package provides the particular class files that seem
> relevant?
It appears that most of the class files don't exist in the form of a rpm. In fact, some of this stuff doesn't seem to be downloadable as a .cls file (which is the format that lyx
2007 Feb 03
1
LyX 1.4.3-5 problem generating PDF documents
I just changed machines and, at first, could not get
LyX 1.4.3-4 to even load. I tried 1.5 which loaded
nicely but would not give me PDF output. Removed 1.5
tried using 1.4.3-5.exe. Result : On loading LyX :
lyx: Disabling socket
cont class std::basic_string<char struct std:
char::char_traits ...
Removed and installed from LyXWin143Complete-2-9.exe.
Loads okay but no PDF generation. My
2010 Jan 16
1
Sweave - How to use local objects in code chunks
Hello,
I wrote a function create_report that calls the function Sweave.
create_report shall be used to create a pdf-report about an lm-Object which
is passed as an argument to create_report.
I try to use an object sel_model, that is created within the function
environment of create_report and later on used within the first code chunk
of the file report_template.rnw.
When I use following code I
2011 Aug 19
2
R and Sweave
Hi everybody.
I'm trying to use R with Sweave but I have a problem perhaps with the
directory path of sweave in R.
The windows path is this:
C:\Program Files (x86)\R\R-2.9.2\share\texmf\Sweave
When I run the latex file with R, the program works well, without any
errors, but when I create the pdf file, the Scode doesn't work. I think the
problem is about the path.
Can anybody suggest to