-
Notifications
You must be signed in to change notification settings - Fork 5
/
R.conf
29 lines (25 loc) · 719 Bytes
/
R.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
- code to add to `/usr/lib/R/etc/Rprofile.site`
```
### ADDED BY Luca dd-mm-yyyy ############
options(
repos = c(CRAN = 'https://cran.rstudio.com/'),
download.file.method = 'libcurl',
Ncpus = 6
)
library(devtools)
library(data.table)
library(sf)
#########################################
```
- code to add to `/usr/lib/R/etc/Renviron`
```
###################################################
### ADDED BY LUCA dd-mm-yyyy
PUB_PATH = '/usr/local/share/public'
R_LIBS_USER = '/usr/local/share/public/R_library'
R_MAX_NUM_DLLS = 1000
GITHUB_PAT = 'enter-api-key-here'
GOOGLE_MAPS_API_KEY = 'enter-api-key-here'
US_CENSUS_API_KEY = 'enter-api-key-here'
###################################################
```