Re: Problem using R's table package with knitr.

2013-06-04 Thread Scott Kostyshak
On Tue, Jun 4, 2013 at 1:25 PM, John Kane wrote: > Thanks. I may be getting some glimmer of how all this holds together. Now > if I could just figure out what a chunk_option does I'm almost ready for > kniter nursery school. See here: http://yihui.name/knitr/options And once you're ready for k

Re: Problem using R's table package with knitr.

2013-06-04 Thread John Kane
June 4, 2013 11:49:06 AM Subject: Re: Problem using R's table package with knitr. On Tue, Jun 4, 2013 at 5:33 PM, John Kane wrote: > Thanks Yihui.  I understood the invisible(booktabs()) after a bit of > thought, but not Liviu's comment.  Using his approach,  could I run booktab

Re: Problem using R's table package with knitr.

2013-06-04 Thread Yihui Xie
That is right. Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Tue, Jun 4, 2013 at 8:49 AM, Liviu Andronic wrote: > On Tue, Jun 4, 2013 at 5:33 PM, John Kane wrote: >> Thanks Yihui. I under

Re: Problem using R's table package with knitr.

2013-06-04 Thread Liviu Andronic
;= latex(table(...)) @ >From memory this works. Liviu > > > From: Yihui Xie > To: Liviu Andronic > Cc: John Kane ; Lyx List > Sent: Tuesday, June 4, 2013 2:36:57 AM > > Subject: Re: Problem using R's table package with knitr. > &g

Re: Problem using R's table package with knitr.

2013-06-04 Thread John Kane
2013 2:36:57 AM Subject: Re: Problem using R's table package with knitr. But John needs the LaTeX table output in the next line of R code; include=FALSE will exclude everything in that chunk. Moving booktabs() to the previous chunk and using include=FALSE there will be fine. Regards, Yihu

Re: Problem using R's table package with knitr.

2013-06-03 Thread Yihui Xie
But John needs the LaTeX table output in the next line of R code; include=FALSE will exclude everything in that chunk. Moving booktabs() to the previous chunk and using include=FALSE there will be fine. Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statisti

Re: Problem using R's table package with knitr.

2013-06-03 Thread Liviu Andronic
15 Snedecor Hall, Ames, IA > > > On Mon, Jun 3, 2013 at 1:38 PM, John Kane wrote: >> >> >> >> From: Yihui Xie >> To: John Kane >> Cc: Lyx List >> Sent: Monday, June 3, 2013 4:17:18 PM >> Subject: R

Re: Problem using R's table package with knitr.

2013-06-03 Thread Yihui Xie
yx List > Sent: Monday, June 3, 2013 4:17:18 PM > Subject: Re: Problem using R's table package with knitr. > > Did you \usepackage{booktabs} in the preamble? That is what > ?tables::booktabs says. > > Yes , I tried it both with and without \usepackage{booktabs} > > I r

Re: Problem using R's table package with knitr.

2013-06-03 Thread John Kane
From: Yihui Xie To: John Kane Cc: Lyx List Sent: Monday, June 3, 2013 4:17:18 PM Subject: Re: Problem using R's table package with knitr. Did you \usepackage{booktabs} in the preamble? That is what ?tables::booktabs says. Yes , I tried it both

Re: Problem using R's table package with knitr.

2013-06-03 Thread Yihui Xie
Did you \usepackage{booktabs} in the preamble? That is what ?tables::booktabs says. Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Mon, Jun 3, 2013 at 3:07 PM, John Kane wrote: > I was havin

Problem using R's table package with knitr.

2013-06-03 Thread John Kane
I was having a look at the tables package in R and tried to run an example in LyX. It works fine until I try using the suggestion to use the booktabs() command in the knitr statement.  The code works fine in R.  I assume that I am in conflict with another latex package in LyX?  Any workarou