Did you \usepackage{booktabs} in the preamble? That is what
?tables::booktabs says.

Regards,
Yihui
--
Yihui Xie <xieyi...@gmail.com>
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 <jrkrid...@yahoo.ca> wrote:
> 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
> workarounds?
>
> It's not a serious problem as I don't actually need to use the tables
> package; I was just playing around with tables  trying to understand the
> syntax and decided to try it in LyX.

Reply via email to