[R] Sweave error in example code

2006-07-31 Thread LL
Hi.. I am running R version 2.3.1 on a Windows XP machine with the latest Miktex 2.5 installed. I get no errors from R when running the Sweave example, testfile - system.file(Sweave, Sweave-test-1.Rnw, package = utils) However, when I tex the resulting .tex file (after installing a4.sty) I get

Re: [R] Sweave error in example code

2006-07-31 Thread Sundar Dorai-Raj
LL wrote: Hi.. I am running R version 2.3.1 on a Windows XP machine with the latest Miktex 2.5 installed. I get no errors from R when running the Sweave example, testfile - system.file(Sweave, Sweave-test-1.Rnw, package = utils) However, when I tex the resulting .tex file (after

Re: [R] Sweave error in example code

2006-07-31 Thread Prof Brian Ripley
On Mon, 31 Jul 2006, Sundar Dorai-Raj wrote: LL wrote: Hi.. I am running R version 2.3.1 on a Windows XP machine with the latest Miktex 2.5 installed. I get no errors from R when running the Sweave example, testfile - system.file(Sweave, Sweave-test-1.Rnw, package = utils)

[R] sweave error

2006-04-17 Thread ernesto
Hi, I'm getting the folowing error with sweave. Does someone knows what it means ? Thanks EJ Warning messages: 1: not enough rows for columns in: fun(key = list(text = list(lab = c(v1, v2)), col = #00, 2: not enough rows for columns in: fun(key = list(text = list(lab = c(v1, v2)), col =

Re: [R] sweave error

2006-04-17 Thread Don MacQueen
I would guess that you're trying to create a plot with a legend, and something in the legend specifications isn't right. That guess is based on presence of key = ... in the *warning* message. Does your R code succeed outside of sweave? Without some context, it's difficult to say. (the posting