DyfanJones / RAthena

Connect R to Athena using Boto3 SDK (DBI Interface)
https://dyfanjones.github.io/RAthena/
Other
35 stars 6 forks source link

RStudio emr write data to S3 #87

Closed DyfanJones closed 4 years ago

DyfanJones commented 4 years ago

A second user is having issue with install_boto: https://community.rstudio.com/t/emr-write-data-to-s3/55408/4

Might need to add better documentation to help improve user's experience with the package.

Will investigate in how to improve the function install_boto.

DyfanJones commented 4 years ago

Reticulate has some good documentation around selecting the correct Python and Python environment: https://rstudio.github.io/reticulate/articles/versions.html

DyfanJones commented 4 years ago

It appears that reticulate package favours environments with numpy. If numpy isn't installed then reticulate struggles to bind to environment and requires python environment to be select with parameter required to be set to TRUE

reticulate::use_condaenv("RAthena",required = TRUE)
reticulate::use_virtualenv("RAthena",required = TRUE)

To resolve this then numpy is required in install_boto function.

DyfanJones commented 4 years ago

Closing ticket as initial issue of RStudio community has been resolved and install_boto now includes numpy when creating python environments