Feature Request from Doug Martin and Tom Philips

Doug Martin martinrd3d at gmail.com
Thu Jan 14 04:34:01 UTC 2021


JMarc and all,

Tom and I use knitr extensively for R code chunks, and we mostly use kable
with kableExtra to make tables.
The input to kable are R data frames, or data.tables, which are the result
of model fitting and related calculations.
But we like to put mathematical expressions in selected cells of tables,
which is so easy with LYX tables, and we currently
have to make the data entry into LYX by hand from data tables and
data.tables in order to make use of that feature.
So it would be great if we could import R data tables and data.tables into
LYX tables, rather than using the kable/kableExtra
solution for our tables  (maybe I didn't make that clear in my earlier
email).  Then we would probably would drop use of
kable/kableExtra.

Thanks everyone for all the other comments.

Doug


On Wed, Jan 13, 2021 at 1:50 AM Jean-Marc Lasgouttes <lasgouttes at lyx.org>
wrote:

> Le 13/01/2021 à 00:04, Doug Martin a écrit :
> > Tom and I are using various R packages for the book Portfolio
> > Construction and Risk Management that we are writing
> > using LYX.  A LYX feature that would help us in that effort a lot would
> > be the ability to import R data framesm and data.table
> > objects created using the excellent data.table package. Given the
> > thousands of R packages, and the popularity of the
> > data.table package, we guess that this import feature for LYX would
> > benefit a lot of people who use both R and LYX.
>
> Hi Doug,
>
> Did you consider using knitr or Sweave? They allow to insert raw R code
> in your document. I use that a lot and it is great.
>
> JMarc
>
> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210113/da4af89b/attachment.html>


More information about the lyx-devel mailing list