R for web analytics CUDA edition

Swiss army knife image for web analytics. Based on rocker ml-verse:latest with addition of apache arrow, data.table, googleAnalyticsR, rym, Rpostgres, RTableau, etc

cuda-ml-verse
Download as Docker image from:
Copy
This image was imported from: rocker/ml-verse:latest

Included packages:

Start with installing Rclone to upload results into S3-compatible object storage or any other cloud storage for that matter. For reticulate package to work we also need python modules

apt update && apt install progress curl libxt6 python3-pip -y
pip3 install pandleau pandas 
curl https://rclone.org/install.sh | sudo bash
31.6s
Bash in R
cuda-ml-verse
apt upgrade -y
101.6s
Bash in R
cuda-ml-verse

Next, let's install the necessary R packages for data wrangling and import-export operations

options(Ncpus = 4)
install.packages(
  c("data.table",
    "googleAuthR",
    "vroom",
    "googleAnalyticsR",
    "rym",
    "RPostgres",
    "RPostgreSQL",
    "DBI",
    "readr",
    "janitor",
    "hms", 
    "forcats",
    "RcppRoll", 
    "tibble", 
    "bit64",
    "gdata",
   "reticulate", 
   "rdrop2",
   "rfacebookstat",
   "rvkstat"),  verbose=T)
library(devtools)
devtools::install_github("zhiruiwang/RTableau")
devtools::install_github("paulhendricks/anonymizer")
devtools::install_github("exploratory-io/exploratory_func")
devtools::install_github('domoinc-r/DomoR')
devtools::install_github("MarkEdmondson1234/searchConsoleR")
devtools::install_github("MarkEdmondson1234/youtubeAnalyticsR")
update.packages(ask = FALSE)
246.1s
R
cuda-ml-verse
options(Ncpus = 4)
options(repos = c(
  "https://dl.bintray.com/ursalabs/arrow-r",
  getOption("repos")
))
install.packages("arrow")
8.1s
R
cuda-ml-verse
sessionInfo()
0.6s
R
cuda-ml-verse
#library(RTableau)
library(rym)
library(dplyr)
library(data.table)
library(vroom)
library(googleAnalyticsR)
library(DBI)
library(RPostgres)
library(RPostgreSQL)
#library(foreach)
library(exploratory)
library(janitor)
library(lubridate)
library(hms)
library(tidyr)
library(stringr)
library(readr)
library(forcats)
library(RcppRoll)
library(tibble)
library(bit64)
library(arrow)
2.6s
R
cuda-ml-verse
source("https://raw.githubusercontent.com/apache/arrow/master/r/R/install-arrow.R")
install_arrow()
7.3s
R
cuda-ml-verse
nvidia-smi
0.9s
Bash in R
cuda-ml-verse
nvcc --version
0.7s
Bash in R
cuda-ml-verse
0.5s
Bash in R
cuda-ml-verse
Runtimes (1)