My text KeenWrite supports R Markdown. I wrote a simple function to convert CSV data into a Markdown table[1] along with a tutorial demonstrating usage[2]. This allows users to keep the data separate from the document.
Having the ability to apply spreadsheet functions as per EqualTo is brilliant.
[1]: https://github.com/DaveJarvis/KeenWrite/blob/main/R/csv.R
[2]: https://youtu.be/XSbTF3E5p7Q?list=PLB-WIt1cZYLm1MMx2FBG9KWzP...