Re: Problem producing tables with knitr and xtable

2013-05-13 Thread John Kane
,  caption.placement=top, floating=FALSE) @ From: Liviu Andronic landronim...@gmail.com To: John Kane jrkrid...@yahoo.ca Cc: Users LyX lyx-users@lists.lyx.org Sent: Friday, May 10, 2013 4:23:00 PM Subject: Re: Problem producing tables with knitr and xtable On Fri

Re: Problem producing tables with knitr and xtable

2013-05-13 Thread Liviu Andronic
LyX lyx-users@lists.lyx.org Sent: Friday, May 10, 2013 4:23:00 PM Subject: Re: Problem producing tables with knitr and xtable On Fri, May 10, 2013 at 8:55 PM, John Kane jrkrid...@yahoo.ca wrote: I have been playing with LyX and knitr. I have had no problem generating figures generally using

Re: Problem producing tables with knitr and xtable

2013-05-13 Thread John Kane
, May 13, 2013 10:18:26 AM Subject: Re: Problem producing tables with knitr and xtable On Mon, May 13, 2013 at 4:04 PM, John Kane jrkrid...@yahoo.ca wrote: I finally got it. It was the xtable placed within the float that was causing the table error.  Once I had realised that and got rid

Re: Problem producing tables with knitr and xtable

2013-05-13 Thread John Kane
,  caption.placement=top, floating=FALSE) @ From: Liviu Andronic landronim...@gmail.com To: John Kane jrkrid...@yahoo.ca Cc: Users LyX lyx-users@lists.lyx.org Sent: Friday, May 10, 2013 4:23:00 PM Subject: Re: Problem producing tables with knitr and xtable On Fri

Re: Problem producing tables with knitr and xtable

2013-05-13 Thread Liviu Andronic
LyX lyx-users@lists.lyx.org Sent: Friday, May 10, 2013 4:23:00 PM Subject: Re: Problem producing tables with knitr and xtable On Fri, May 10, 2013 at 8:55 PM, John Kane jrkrid...@yahoo.ca wrote: I have been playing with LyX and knitr. I have had no problem generating figures generally using

Re: Problem producing tables with knitr and xtable

2013-05-13 Thread John Kane
, May 13, 2013 10:18:26 AM Subject: Re: Problem producing tables with knitr and xtable On Mon, May 13, 2013 at 4:04 PM, John Kane jrkrid...@yahoo.ca wrote: I finally got it. It was the xtable placed within the float that was causing the table error.  Once I had realised that and got rid

Re: Problem producing tables with knitr and xtable

2013-05-13 Thread John Kane
caption = "An xtable example", label = "tab:A table")  digits(tli.table)[c(2, 6)] <- 0  print(tli.table,  caption.placement="top", floating=FALSE) @ From: Liviu Andronic <landronim...@gmail.com> To: John Kane <jrkrid.

Re: Problem producing tables with knitr and xtable

2013-05-13 Thread Liviu Andronic
s could automatically force floating=T. (The help page seems silent on this.) If I remember, the first .lyx file that I sent you worked exactly as you want here. Liviu > ____________ > From: Liviu Andronic <landronim...@gmail.com> > To: John Kane <jrkrid...

Re: Problem producing tables with knitr and xtable

2013-05-13 Thread John Kane
.lyx.org> Sent: Monday, May 13, 2013 10:18:26 AM Subject: Re: Problem producing tables with knitr and xtable On Mon, May 13, 2013 at 4:04 PM, John Kane <jrkrid...@yahoo.ca> wrote: > I finally got it. It was the xtable placed within the float that was causing > the table error.  On

Re: Problem producing tables with knitr and xtable

2013-05-11 Thread John Kane
From: Liviu Andronic landronim...@gmail.com To: John Kane jrkrid...@yahoo.ca Cc: Users LyX lyx-users@lists.lyx.org Sent: Friday, May 10, 2013 4:23:00 PM Subject: Re: Problem producing tables with knitr and xtable On Fri, May 10, 2013 at 8:55 PM, John Kane

Re: Problem producing tables with knitr and xtable

2013-05-11 Thread John Kane
From: Liviu Andronic landronim...@gmail.com To: John Kane jrkrid...@yahoo.ca Cc: Users LyX lyx-users@lists.lyx.org Sent: Friday, May 10, 2013 4:23:00 PM Subject: Re: Problem producing tables with knitr and xtable On Fri, May 10, 2013 at 8:55 PM, John Kane

Re: Problem producing tables with knitr and xtable

2013-05-11 Thread John Kane
From: Liviu Andronic <landronim...@gmail.com> To: John Kane <jrkrid...@yahoo.ca> Cc: Users LyX <lyx-users@lists.lyx.org> Sent: Friday, May 10, 2013 4:23:00 PM Subject: Re: Problem producing tables with knitr and xtable On Fri, May 1

Problem producing tables with knitr and xtable

2013-05-10 Thread John Kane
I have been playing with LyX and knitr.  I have had no problem generating figures generally using ggplot2 I cannot get LyX to generate a table with knitr and xtable.  The file table.knitr one is my last attempt to generate a table.  Not a success though there is something there. 

Re: Problem producing tables with knitr and xtable

2013-05-10 Thread Liviu Andronic
On Fri, May 10, 2013 at 8:55 PM, John Kane jrkrid...@yahoo.ca wrote: I have been playing with LyX and knitr. I have had no problem generating figures generally using ggplot2 I cannot get LyX to generate a table with knitr and xtable. See attached. Two issues: - You need to use chunk option

Problem producing tables with knitr and xtable

2013-05-10 Thread John Kane
I have been playing with LyX and knitr.  I have had no problem generating figures generally using ggplot2 I cannot get LyX to generate a table with knitr and xtable.  The file table.knitr one is my last attempt to generate a table.  Not a success though there is something there. 

Re: Problem producing tables with knitr and xtable

2013-05-10 Thread Liviu Andronic
On Fri, May 10, 2013 at 8:55 PM, John Kane jrkrid...@yahoo.ca wrote: I have been playing with LyX and knitr. I have had no problem generating figures generally using ggplot2 I cannot get LyX to generate a table with knitr and xtable. See attached. Two issues: - You need to use chunk option

Problem producing tables with knitr and xtable

2013-05-10 Thread John Kane
I have been playing with LyX and knitr.  I have had no problem generating figures generally using ggplot2 I cannot get LyX to generate a table with knitr and xtable.  The file table.knitr one is my last attempt to generate a table.  Not a success though there is something there. 

Re: Problem producing tables with knitr and xtable

2013-05-10 Thread Liviu Andronic
On Fri, May 10, 2013 at 8:55 PM, John Kane wrote: > I have been playing with LyX and knitr. I have had no problem generating > figures generally using ggplot2 I cannot get LyX to generate a table with > knitr and xtable. > See attached. Two issues: - You need to use chunk