I am using org-babel for literate programming in R and I am using the following approach to test the code:
1) tangle 2) refresh buffer containing the tangled code (I use auto-revert-mode or global-auto-revert-mode for that)
3) load the tangled file into an existing R session via ESS R for evaluation
This involves switching between buffers in always the same sequence. Therefore my suggestion:
would it be possible to have a tangle-and-evaluate-tangled-file funcction, which is doing this automatically?
C-c - 0 and org-babel-execute-buffer do not work in this case, as functions are split over several code blocks in R.
Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa