I installed the package tabulate
in RStudio
by the code from the reticulate
documentation.
With the simple installation code:
library(reticulate)
py_install("tabulate")
It works perfectly except the warning message: the tabulate version is low and suggest conda update
. So I try the Conda installation code:
library(reticulate)
py_install("tabulate")
# create a new environment
conda_create("r-reticulate")
# install tabulate
conda_install("r-reticulate", "tabulate")
# import tabulate (it will be automatically discovered in "r-reticulate")
tabulate <- import("tabulate")
It does not work; but when I switch back to the simple installation, it does not work anymore-it seems like they have to stay with Conda. I wonder if I could go back to simple installation as the very beginning? I guess I need to remove the Conda environment, but I do know how to do it. I really want to remove the Conda and go back the state before Conda installation.