mod_wd_loadUI: mod_wd_loadUI and mod_wd_load

Description Usage Arguments Examples

Description

A shiny module that load and display a path to a working directory

Usage

1
2
3
mod_wd_loadUI(id)

mod_wd_load(input, output, session)

Arguments

id

shiny id

input

internal

output

internal

session

internal

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
library(shiny)
library(shinyFiles)
if (interactive()){
ui <- fluidPage(
  mod_wd_loadUI("wd")
)

server <- function(input, output, session) {
  path <- callModule(mod_wd_load,"wd")
}

shinyApp(ui, server)
}

BenjaminLouis/manageR documentation built on May 8, 2019, 12:50 p.m.