Latest version of knitr persists python engine across chunks. Add this to RStudio eval · Issue #1651 · rstudio/rstudio

It would be great to be able to use python engine the same way we can use R engine where R process persists across chunks. Currently python engine does not persist process across chunks. Persisting...