jalvesaq / Nvim-R

Vim plugin to work with R
GNU General Public License v2.0
962 stars 125 forks source link

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

Closed smilesun closed 8 months ago

smilesun commented 6 years ago

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.

jalvesaq commented 8 months ago

Nvim-R is being superseded by R.nvim, a new project that will be inaugurated in a week at the R-nvim organization. Please, check out tmp-Nvim-R and help us to find the last remaining bugs before R.nvim inauguration. When the project is officially started, you will be able to open issues there and request new features.

Nvim-R will remain alive as a feature-frozen project for Vim users. If you want to know the reason, please, see this discussion.