On Wed, 22 May 2019, Paul Smith wrote:
Regarding your other idea -- using xtable() or ktable -- I guess it is not very practical in my case, as I have too many table (about 50 tables), and therefore I would like to insert all of them in their right place in the LyX document, to avoid the work of copying and pasting 50 times!
Paul, Will writing the document in LyX with the knitr package produce the tables as well as desired code and figures? Rich