inst/demo_app/www/script/intro.md

shinydrive

R package with a simple Shiny module for easily sharing files.

Admin can manage directories & files (add, remove, edit, ...)

User can only download files

img

Installation

You can install:

devtools::install_github("datastorm-open/shinydrive")

Demo application

runApp(system.file("demo_app", package = "shinydrive"))

Example

require(shinydrive)

ui <- fluidPage(
    shiny_drive_ui(id = "idm")
)
server <- function(input, output, session) {
    callModule(module = shiny_drive_server,
             id = "idm",
             admin_user = TRUE,
             save_dir =  getwd(),
             lan = "EN")
}

shinyApp(ui, server)

Admin view

img

img

User view

img

img



Try the shinydrive package in your browser

Any scripts or data that you put into this service are public.

shinydrive documentation built on Sept. 29, 2022, 9:06 a.m.