Type: Package
Title: Launch a Shiny Application without Opening R or RStudio
Version: 0.2.0
Description: Launch an application by a simple click without opening R or RStudio. The package has 3 functions of which only one is essential in its use, ‘shiny.exe()'. It generates a script in the open shiny project then create a shortcut in the same folder that allows you to launch the app by clicking.If you set 'host = ’public'', the application will be launched on the public server to which you are connected. Thus, all other devices connected to the same server will be able to access the application through the link of your 'IPv4' extended by the port. You can stop the application by leaving the terminal opened by the shortcut.
License: GPL-2
URL: https://github.com/AODiakite
Encoding: UTF-8
RoxygenNote: 7.2.3
Suggests: shiny, knitr, rmarkdown
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2023-05-18 21:13:20 UTC; abdouloudoussdiakite
Author: Abdoul Oudouss Diakité [aut, cre]
Maintainer: Abdoul Oudouss Diakité <abdouloudoussdiakite@gmail.com>
Repository: CRAN
Date/Publication: 2023-05-18 21:30:02 UTC

hostUnix

Description

hostUnix

Usage

hostUnix(
  appDir = getwd(),
  port = getOption("shiny.port"),
  launch.browser = getOption("shiny.launch.browser", interactive()),
  host = getOption("shiny.host", "127.0.0.1"),
  workerId = "",
  quiet = FALSE,
  display.mode = c("auto", "normal", "showcase"),
  test.mode = getOption("shiny.testmode", FALSE)
)

Arguments

appDir

see host parameter in shiny::runApp()

port

see port parameter in runApp()

launch.browser

see launch.browser parameter in shiny::runApp()

host

see host parameter in shiny::runApp()

workerId

see workerId parameter in shiny::runApp()

quiet

see quiet parameter in shiny::runApp()

display.mode

see display.mode parameter in shiny::runApp()

test.mode

see test.mode parameter in shiny::runApp()

Value

launch a shiny application

Examples

## Not run: 
hostUnix(appDir = getwd(), port = getOption("shiny.port"),
 launch.browser = getOption("shiny.launch.browser", interactive()),
  host = getOption("shiny.host", "127.0.0.1"), workerId = "",
   quiet = FALSE, display.mode = c("auto", "normal", "showcase"),
    test.mode = getOption("shiny.testmode", FALSE))

## End(Not run)

hostWin

Description

hostWin

Usage

hostWin(
  appDir = getwd(),
  port = getOption("shiny.port"),
  launch.browser = getOption("shiny.launch.browser", interactive()),
  host = getOption("shiny.host", "127.0.0.1"),
  workerId = "",
  quiet = FALSE,
  display.mode = c("auto", "normal", "showcase"),
  test.mode = getOption("shiny.testmode", FALSE)
)

Arguments

appDir

see host parameter in shiny::runApp()

port

see port parameter in runApp()

launch.browser

see launch.browser parameter in shiny::runApp()

host

see host parameter in shiny::runApp()

workerId

see workerId parameter in shiny::runApp()

quiet

see quiet parameter in shiny::runApp()

display.mode

see display.mode parameter in shiny::runApp()

test.mode

see test.mode parameter in shiny::runApp()

Value

launch a shiny application

Examples

## Not run: 
hostWin( appDir = getwd(),
port = getOption("shiny.port"),
launch.browser = getOption("shiny.launch.browser",
interactive()),
host = getOption("shiny.host", "127.0.0.1"),
workerId = "",
quiet = FALSE,
display.mode = c("auto", "normal", "showcase"),
test.mode = getOption("shiny.testmode", FALSE))

## End(Not run)

shiny.exe

Description

shiny.exe

Usage

shiny.exe(
  appName,
  port = getOption("shiny.port"),
  host = getOption("shiny.host", "127.0.0.1"),
  appDir = getwd()
)

Arguments

appName

the name of you shortcut or application

port

see port parameter in shiny::runApp()

host

see host parameter in shiny::runApp(). If host = 'public', the application will be launched on the public server to which you are connected. Thus, all other devices connected to the same server will be able to access the application through the link of your IPv4 extended by the port. You can stop the application by leaving the terminal opened by the shortcut.

appDir

see host parameter in shiny::runApp()

Value

character(0)

Examples

## Not run: shiny.exe(appName = "MyApp", host = 'public')