On Wed, Jan 13, 2021 at 12:19:38PM -0500, Richard Kimberly Heck wrote: > On 1/13/21 11:57 AM, Scott Kostyshak wrote: > > On Wed, Jan 13, 2021 at 10:50:49AM +0100, Jean-Marc Lasgouttes 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. > > I also find knitr to be very helpful with tables. > > > > By the way, if you happen to be on Linux, I can write a simple command for > > you that does the conversion from a data.table to a .lyx file that has a > > table. I know you're proposing a feature that will benefit all LyX users, > > but I offer this nonetheless. > > Can you write it in Python? Then it could function like other import > scripts.
I could probably figure it out. But right now I don't have time. If Tom and Doug would find the command useful in a few months, I can work on it then. Scott
signature.asc
Description: PGP signature
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel