Мы можем развернуть приложение с URL et c et c. Но как мы можем просто безопасно передавать данные в Shiny через REST API?
Соответствующие ссылки:
R Shiny / Restful Api Communication
https://groups.google.com/forum/#! Тема / блестящее обсуждение / -JYOXAeLCtI
https://analyticsprofile.com/business-analytics/convert-r-programs-into-rest-api/ (пример) https://github.com/rstudio/plumber/tree/master/R (пакет)
library(shiny) library(tidyverse) ui <- fluidPage( DT::dataTableOutput("display") ) server <- function(input, output, session) { output$display <- DT::renderDataTable({ #browser() DT::datatable(mtcars, options = list(pageLength = 7,scrollX = TRUE)) }) # How to send this data via REST API securely ? } shinyApp(ui, server)