Re: Feature Request from Doug Martin and Tom Philips

2021-01-19 Thread Doug Martin
Paul, Thanks for the question/suggestion. It turns out that I used to use the chunks option cache = T, which I understood to result in R code not being run again unless something is changed in the code. But its behavior seemed to be somewhat random, so I gave it up for the book and always use

Re: Feature Request from Doug Martin and Tom Philips

2021-01-19 Thread Paul A. Rubin
On 1/19/21 12:03 PM, Doug Martin wrote: Scott (and all), I have attached the LYX segment from one of our book chapters, along with a page from the compiled pdf file that contains the resulting Table TS-2.1. This tiny example illustrates how we currently make most of our tables using the

Re: Feature Request from Doug Martin and Tom Philips

2021-01-19 Thread Dr Eberhard Lisse
RiKi, that is fortunately very easy to do on the Mac and Linux with the bang and Rscript: #!/usr/bin/env Rscript --vanilla local({ r <- getOption("repos") r["CRAN"] <- "https://cloud.r-project.org/; options(repos = r)

Re: Feature Request from Doug Martin and Tom Philips

2021-01-18 Thread Paul A. Rubin
On 1/18/21 5:12 PM, Richard Kimberly Heck wrote: On 1/18/21 2:49 PM, Paul A. Rubin wrote: On 1/18/21 2:03 PM, Doug Martin wrote: On Mon, Jan 18, 2021 at 10:41 AM Scott Kostyshak > wrote: On Mon, Jan 18, 2021 at 07:25:42PM +0100, Jean-Marc Lasgouttes wrote:

Re: Feature Request from Doug Martin and Tom Philips

2021-01-18 Thread Richard Kimberly Heck
On 1/18/21 2:49 PM, Paul A. Rubin wrote: > On 1/18/21 2:03 PM, Doug Martin wrote: >> >> >> On Mon, Jan 18, 2021 at 10:41 AM Scott Kostyshak > > wrote: >> >> On Mon, Jan 18, 2021 at 07:25:42PM +0100, Jean-Marc Lasgouttes wrote: >> > Le 14/01/2021 à 05:34, Doug

Re: Feature Request from Doug Martin and Tom Philips

2021-01-18 Thread Paul A. Rubin
On 1/18/21 2:03 PM, Doug Martin wrote: On Mon, Jan 18, 2021 at 10:41 AM Scott Kostyshak > wrote: On Mon, Jan 18, 2021 at 07:25:42PM +0100, Jean-Marc Lasgouttes wrote: > Le 14/01/2021 à 05:34, Doug Martin a écrit : > > JMarc and all, > > > > Tom

Re: Feature Request from Doug Martin and Tom Philips

2021-01-18 Thread Scott Kostyshak
On Mon, Jan 18, 2021 at 11:03:49AM -0800, Doug Martin wrote: > On Mon, Jan 18, 2021 at 10:41 AM Scott Kostyshak wrote: > > > On Mon, Jan 18, 2021 at 07:25:42PM +0100, Jean-Marc Lasgouttes wrote: > > > Le 14/01/2021 à 05:34, Doug Martin a écrit : > > > > JMarc and all, > > > > > > > > Tom and I

Re: Feature Request from Doug Martin and Tom Philips

2021-01-18 Thread Jean-Marc Lasgouttes
Le 18/01/2021 à 20:03, Doug Martin a écrit : > So you want to import as .tex the result of R processing. This can be done > via "Paste from LaTeX". What would be missing for your intended usage? From what I understand, they would like to import a .Rds file without

Re: Feature Request from Doug Martin and Tom Philips

2021-01-18 Thread Doug Martin
On Mon, Jan 18, 2021 at 10:41 AM Scott Kostyshak wrote: > On Mon, Jan 18, 2021 at 07:25:42PM +0100, Jean-Marc Lasgouttes wrote: > > Le 14/01/2021 à 05:34, Doug Martin a écrit : > > > JMarc and all, > > > > > > Tom and I use knitr extensively for R code chunks, and we mostly use > > > kable with

Re: Feature Request from Doug Martin and Tom Philips

2021-01-18 Thread Scott Kostyshak
On Mon, Jan 18, 2021 at 07:25:42PM +0100, Jean-Marc Lasgouttes wrote: > Le 14/01/2021 à 05:34, Doug Martin a écrit : > > 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,

Re: Feature Request from Doug Martin and Tom Philips

2021-01-18 Thread Jean-Marc Lasgouttes
Le 14/01/2021 à 05:34, Doug Martin a écrit : 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

Re: Feature Request from Doug Martin and Tom Philips

2021-01-13 Thread Doug Martin
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

Re: Feature Request from Doug Martin and Tom Philips

2021-01-13 Thread Doug Martin
Riki, Thanks for the suggestion, which we will take a look at. Doug On Tue, Jan 12, 2021 at 4:39 PM Richard Kimberly Heck wrote: > On 1/12/21 6:04 PM, Doug Martin wrote: > > Tom and I are using various R packages for the book Portfolio Construction > and Risk Management that we are writing >

Re: Feature Request from Doug Martin and Tom Philips

2021-01-13 Thread Scott Kostyshak
On Wed, Jan 13, 2021 at 12:21:47PM -0500, Richard Kimberly Heck wrote: > On 1/13/21 12:19 PM, Scott Kostyshak wrote: > > Tom, > > > > No preferred Linux distribution and indeed we have users on the dev list > > and user list from several different ones. > > > > That said, I'm certain that such a

Re: Feature Request from Doug Martin and Tom Philips

2021-01-13 Thread Scott Kostyshak
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

Re: Feature Request from Doug Martin and Tom Philips

2021-01-13 Thread Richard Kimberly Heck
s/ghei36> >> >> >> From: Scott Kostyshak >> Sent: Wednesday, January 13, 2021, 11:57 AM >> To: Jean-Marc Lasgouttes >> Cc: lyx-devel@lists.lyx.org; Doug Martin; Thomas Philips >> Subject: Re: Feature Request from Doug Martin

Re: Feature Request from Doug Martin and Tom Philips

2021-01-13 Thread Richard Kimberly Heck
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

Re: Feature Request from Doug Martin and Tom Philips

2021-01-13 Thread Scott Kostyshak
> From: Scott Kostyshak > Sent: Wednesday, January 13, 2021, 11:57 AM > To: Jean-Marc Lasgouttes > Cc: lyx-devel@lists.lyx.org; Doug Martin; Thomas Philips > Subject: Re: Feature Request from Doug Martin and Tom Philips > > On Wed, Jan 13, 2021 a

Re: Feature Request from Doug Martin and Tom Philips

2021-01-13 Thread Scott Kostyshak
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

Re: Feature Request from Doug Martin and Tom Philips

2021-01-13 Thread Jean-Marc Lasgouttes
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

Re: Feature Request from Doug Martin and Tom Philips

2021-01-12 Thread Richard Kimberly Heck
On 1/12/21 6:04 PM, Doug Martin wrote: > 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

Feature Request from Doug Martin and Tom Philips

2021-01-12 Thread Doug Martin
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.