File Sharing Shiny Module

Shiny module for easily sharing files between users. Admin can add, remove, edit and download file. User can only download file. It's also possible to manage files using R functions directly.


version cranlogs Project Status: Active – The project has reached a stable, usable state and is being actively developed.

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

  • files are copied into target directory
  • we add date/time to filename on the drive
  • use a yaml file to save informations

Installation

You can install:

  • the latest development version from GitHub with
devtools::install_github("datastorm-open/shinydrive")

Demo application

online

https://datastorm-demo.shinyapps.io/shinydrive/

local

shiny::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",
             session = session,
             admin_user = TRUE,
             save_dir =  getwd(),
             lan = "EN")
}

shinyApp(ui, server)

Admin view

User view

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("shinydrive")

0.1.5 by Benoit Thieurmel, 10 months ago


Browse source code at https://github.com/cran/shinydrive


Authors: Benoit Thieurmel [aut, cre] , Thibaut Dubois [aut] , Jérémy Boussaguet [ctb]


Documentation:   PDF Manual  


GPL-3 license


Imports htmltools, shiny, tools, yaml, DT, R.utils, knitr, zip

Suggests testthat


See at CRAN