Nvim-R icon indicating copy to clipboard operation
Nvim-R copied to clipboard

new feature: compile naked child Rnw file with local leader+n+p

Open smilesun opened this issue 7 years ago • 0 comments

I use Rnw files to create exams for my students, I put separate quiz into child Rnw file and include them in the main Rnw in the way

<<child="xx.Rnw">>@

The xx.Rnw contains the problem statement and also the answer and the main Rnw include the class of the latex template.

This means that you can not compile the child Rnw file alone since it has no latex \begin{document} like statement, is it possible to have a feature to compile those child document with a default latex template to see first if works or not?

This will be of particular useful since compiling the whole document is quite expensive.

smilesun avatar Oct 09 '18 19:10 smilesun