shinyFiles

A shiny extension for server side file access

https://github.com/thomasp85/shinyfiles

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 16 committers (12.5%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.7%) to scientific vocabulary

Keywords

filemanager rstats shiny ui-components
Last synced: 6 months ago · JSON representation

Repository

A shiny extension for server side file access

Basic Info
  • Host: GitHub
  • Owner: thomasp85
  • Language: JavaScript
  • Default Branch: main
  • Size: 1.23 MB
Statistics
  • Stars: 203
  • Watchers: 10
  • Forks: 49
  • Open Issues: 35
  • Releases: 6
Topics
filemanager rstats shiny ui-components
Created almost 12 years ago · Last pushed over 2 years ago
Metadata Files
Readme

README.md

shinyFiles

R-CMD-check CRAN\_Release\_Badge CRAN\_Download\_Badge <!-- badges: end -->

This package extends the functionality of shiny by providing an API for client side access to the server file system. As many shiny apps are run locally this is equivalent to accessing the filesystem of the users own computer, without the overhead of copying files to temporary locations that is tied to the use of fileInput().

The package can be installed from CRAN using install.packages('shinyFiles').

Usage

The package is designed to make it extremely easy to implement file system access. An example of implementing a file chooser would be:

In the ui.R file R shinyUI(bootstrapPage( shinyFilesButton('files', label='File select', title='Please select a file', multiple=FALSE) )) In the server.R file R shinyServer(function(input, output) { shinyFileChoose(input, 'files', root=c(root='.'), filetypes=c('', 'txt')) })

It is equally simple to implement directly in your custom html file as it only requires a single <button> element. The equivalent of the above in raw html would be: html <button id="files" type="button" class="shinyFiles btn" data-title="Please select a file" data-selecttype="single"> File select </button>

For an overview of all the different modules try the shinyFilesExample() function in the package. It gives an overview of all the necessary code, along with descriptions and working examples.

Credits

  • The file icons used in the file system navigator are taken from FatCows Farm-Fresh Web Icons (https://www.fatcow.com/free-icons)
  • RStudio is a trademark of RStudio, Inc. File icons used by permission of RStudio, Inc.

Owner

  • Name: Thomas Lin Pedersen
  • Login: thomasp85
  • Kind: user
  • Location: Copenhagen
  • Company: @posit-pbc, part of @tidyverse team

Maker of tools focusing on data science and data visualisation

GitHub Events

Total
  • Issues event: 4
  • Watch event: 5
  • Issue comment event: 8
  • Fork event: 1
Last Year
  • Issues event: 4
  • Watch event: 5
  • Issue comment event: 8
  • Fork event: 1

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 251
  • Total Committers: 16
  • Avg Commits per committer: 15.688
  • Development Distribution Score (DDS): 0.502
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Thomas Dybdal Pedersen t****5@g****m 125
vnijs r****t@r****u 61
Thomas Schaffner t****r@g****m 36
Michael A Bell b****a@l****m 7
Keqiang Li k****i@g****m 4
Lance Upton l****n@g****m 3
Sergio Oller s****r@g****m 3
sgvignali v****0@g****m 3
dipterix z****3@r****u 2
Dean Attali d****i@g****m 1
Eric Nantz t****t@g****m 1
Jonas e****o@g****m 1
Josua Troesch j****t 1
Rafael García Garaluz r****z@g****m 1
ifellows i****n@f****m 1
Rafael Garcia r****a@e****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 100
  • Total pull requests: 20
  • Average time to close issues: 3 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 82
  • Total pull request authors: 11
  • Average comments per issue: 3.52
  • Average comments per pull request: 4.45
  • Merged pull requests: 14
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 3
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • vnijs (6)
  • thomasp85 (6)
  • see24 (2)
  • mikeyEcology (2)
  • 13479776 (2)
  • jnhyeon (2)
  • JoshOBrien (2)
  • pakom (2)
  • ismirsehregal (2)
  • lz100 (2)
  • MayaGans (1)
  • c1au6i0 (1)
  • benmarchi (1)
  • pietrodito (1)
  • Yinlingzhu (1)
Pull Request Authors
  • AFriendlyRobot (5)
  • bellma-lilly (4)
  • WilDoane (2)
  • keqiang (2)
  • Tazovsky (1)
  • sgvignali (1)
  • dipterix (1)
  • ifellows (1)
  • lanceupton (1)
  • raggaraluz (1)
  • vnijs (1)
Top Labels
Issue Labels
help wanted (5) enhancement (4) unverified (1) bug (1)
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads:
    • cran 7,230 last-month
  • Total docker downloads: 46,460
  • Total dependent packages: 47
    (may contain duplicates)
  • Total dependent repositories: 161
    (may contain duplicates)
  • Total versions: 28
  • Total maintainers: 1
cran.r-project.org: shinyFiles

A Server-Side File System Viewer for Shiny

  • Versions: 16
  • Dependent Packages: 47
  • Dependent Repositories: 161
  • Downloads: 7,230 Last month
  • Docker Downloads: 46,460
Rankings
Dependent repos count: 1.5%
Forks count: 1.5%
Dependent packages count: 1.9%
Stargazers count: 2.2%
Average: 3.4%
Downloads: 4.2%
Docker downloads count: 9.3%
Maintainers (1)
Last synced: 6 months ago
proxy.golang.org: github.com/thomasp85/shinyfiles
  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago
proxy.golang.org: github.com/thomasp85/shinyFiles
  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • fs >= 1.2.6 imports
  • htmltools * imports
  • jsonlite * imports
  • shiny >= 1.1.0 imports
  • tibble >= 1.4.2 imports
  • tools * imports
  • covr * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action 4.1.4 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pr-commands.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/pr-fetch v2 composite
  • r-lib/actions/pr-push v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite