Packages missing in shiny-server

后端 未结 6 2306
后悔当初
后悔当初 2020-12-18 11:48

I am trying to create a web application using shiny. It requires me to load a package I have installed on my computer. For example:

## Contents ui.R:
library         


        
6条回答
  •  既然无缘
    2020-12-18 12:13

    If the package is installed in your R library. The easiest way to make it run on shiny-server is to indicate to Shiny the library directory where the package is. Something like: library(plyr, lib.loc="/usr/local/lib/R/site-library") . If you have R-Studio installed, you can view the directory with .libPaths()

提交回复
热议问题