I'm getting a bit closer, but still stuck. I followed the steps in this tutorial for preparing the RStudio IDE to use python.
Then I installed several python packages:
pip install pandas geopandas shapely pyquadkey2
which resulted in:
Successfully built pyquadkey2
Successfully installed ... geopandas-0.9.0 pandas-1.3.3 pyquadkey2-0.2.0 shapely-1.7.1
However, when I run from pyquadkey2 import quadkey in a python block in the RStudio IDE, I get:
ModuleNotFoundError: No module named 'pyquadkey2'
> reticulate::py_config()
python: /Users/epg4/Library/r-miniconda/envs/r-reticulate/bin/python
libpython: /Users/epg4/Library/r-miniconda/envs/r-reticulate/lib/libpython3.6m.dylib
pythonhome: /Users/epg4/Library/r-miniconda/envs/r-reticulate:/Users/epg4/Library/r-miniconda/envs/r-reticulate
version: 3.6.10 |Anaconda, Inc.| (default, Mar 25 2020, 18:53:43) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]
numpy: /Users/epg4/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/numpy
numpy_version: 1.19.4