Update app.R
Browse files
app.R
CHANGED
|
@@ -5,7 +5,6 @@ library(httr)
|
|
| 5 |
library(jsonlite)
|
| 6 |
library(readr)
|
| 7 |
library(DT)
|
| 8 |
-
library(reticulate)
|
| 9 |
library(recipes)
|
| 10 |
library(xgboost)
|
| 11 |
library(stringr)
|
|
@@ -16,6 +15,10 @@ library(tidyr)
|
|
| 16 |
library(dplyr)
|
| 17 |
library(shiny)
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
`%||%` <- function(a, b) if (!is.null(a)) a else b
|
| 20 |
|
| 21 |
# ============================================================
|
|
|
|
| 5 |
library(jsonlite)
|
| 6 |
library(readr)
|
| 7 |
library(DT)
|
|
|
|
| 8 |
library(recipes)
|
| 9 |
library(xgboost)
|
| 10 |
library(stringr)
|
|
|
|
| 15 |
library(dplyr)
|
| 16 |
library(shiny)
|
| 17 |
|
| 18 |
+
#reticulate is a package that is used to code python in R environments
|
| 19 |
+
library(reticulate)
|
| 20 |
+
use_python("/usr/bin/python3", required = TRUE)
|
| 21 |
+
|
| 22 |
`%||%` <- function(a, b) if (!is.null(a)) a else b
|
| 23 |
|
| 24 |
# ============================================================
|