Re: [R] xtable caption knitr

2015-02-24 Thread Ulises M. Alvarez
On 02/24/2015 05:16 AM, AURORA GONZALEZ VIDAL wrote: I have a problem with the caption option on the xtable function. Using Rmarkdown, knitr generates correctly a pdf when I write something like this: ```{r xtable, results=asis} library( xtable ) variableName - c( V03_1 ) age - c(

[R] xtable caption knitr

2015-02-24 Thread AURORA GONZALEZ VIDAL
Dear all, I have a problem with the caption option on the xtable function. Using Rmarkdown, knitr generates correctly a pdf when I write something like this: ```{r xtable, results=asis} library( xtable ) variableName  - c( V03_1 ) age - c( rep(1,10),rep(2,10),rep(3,10) ) gender - c( rep(m,15),

Re: [R] xtable caption knitr

2015-02-24 Thread Michael Dewey
Dear Aurora I suspect the underscore character in your variable name is the problem. On 24/02/2015 11:16, AURORA GONZALEZ VIDAL wrote: Dear all, I have a problem with the caption option on the xtable function. Using Rmarkdown, knitr generates correctly a pdf when I write something like this: