All examples on this website uses CRAN version of R packages, and they should be installed as such.
Installing Docker should be fairly straightforward. Please refer to Get Started for how to.
For the smoothest experience, we recommend that you authenticate using
environment variables. The two variables you will need are
CONNECT_SERVER
and CONNECT_API_KEY
.
Tip
The function usethis::edit_r_environ() can be very handy to open
.Renviron
file to specify your environment variables.
CONNECT_SERVER
is the URL of the posit connect page. So if your
connect server is accessed through
https://example.com/connect/#/content/
then you can find
CONNECT_SERVER
by removing connect/
and everything that follows it,
leaving you with https://example.com/
.
CONNECT_API_KEY
is created through your Connect server. 1. Click on
your name in the upper right upper right. 1. Click API keys
. 1. Click
New API Key
. 1. Give your API a key, click `Create Key
.
Once you have those two, you can add them to your .Renviron
file in
the following format:
CONNECT_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxx
CONNECT_SERVER=https://example.com/
Note that you don’t want to put quotes around the values.
For the smoothest experience, we recommend that you authenticate using
environment variables. The two variables you will need are
AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
.
Warning
Depending on your S3 setup, you will need to use additional variables to connect. Please see https://github.com/paws-r/paws/blob/main/docs/credentials.md and this pins issue for help if the following paragraphs doesn’t work for you.
Tip
The function usethis::edit_r_environ() can be very handy to open
.Renviron
file to specify your environment variables.
You can find both of these keys in the same location.
- Open the AWS Console
- Click on your username near the top right and select
Security Credentials
- Click on
Users
in the sidebar - Click on your username
- Click on the
Security Credentials
tab - Click
Create Access Key
- Click
Show User Security Credentials
Once you have those two, you can add them to your .Renviron
file in
the following format:
AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxx
AWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Note that you don’t want to put quotes around the values.
For the smoothest experience, we recommend that you authenticate using
environment variables. The two variables you will need are
AZURE_CONTAINER_ENDPOINT
and AZURE_SAS_KEY
.
Tip
The function usethis::edit_r_environ() can be very handy to open
.Renviron
file to specify your environment variables.
First we need to create a Azure container for us to point to. You can find out how to create a storage account and how to create a container from the official documentation. Furthermore, generating a SAS key should be done as well.
Once you have those two, you can add them to your .Renviron
file in
the following format:
AZURE_CONTAINER_ENDPOINT=xxxxxxxxxxxxxxxxxxxxxxxxxxxx
AZURE_SAS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxx
The container endpoint will have the following format
https://name-of-storage-account.blob.core.windows.net/name-of-container
.