Getting Started

Dyfan Jones

The RAthena package aims to make it easier to work with data stored in AWS Athena. RAthena package attempts to provide three levels of interacting with AWS Athena:

Installing RAthena:

As RAthena utilising the python AWS SDK boto3, Python 3+ is required. Please install Python 3+ either by Python or Python Anaconda. To install RAthena:

# cran version

# Dev version

Next is to install Python boto3. This can be done either by RAthena’s installation method:


Or pip method:

pip install boto3

Python Environments:

If RAthena doesn’t pick up boto3 after using install_boto(), please consider specifying the python environment.install_boto() creates RAthena environment. This is either a Python virtual environment or a conda environment depending on your system.

Note: Python environments are not required if boto3 is either in the root Python or if R and Python are in their own environment (for example conda environment).


Low - Level API: