I am trying to deploy a very simple proof-of-concept Rmarkdown doc to Connect, that uses the reticulate package. However, I'm getting the following error when deploying a Rmarkdown document to connect (using the Quick Start):
* reticulate is in use, but python was not specified
Execution halted
My setup R chunk is:
library(ggplot2, quietly = T)
library(reticulate)
reticulate::use_virtualenv(virtualenv = "r-reticulate")
And then I have a python chunk:
import pandas as pd
import numpy as np
I previously had some trouble getting this to run locally, which was resolved by updating the reticulate
package to v1.9.
https://stackoverflow.com/questions/54836065/not-able-to-import-python-modules-in-rmarkdown/54870719#54870719