R Markdown with Shiny Server change host parameter

前端 未结 2 509
无人共我
无人共我 2020-12-30 14:31

I am running RStudio on a server and I created a RMarkdown (.Rmd) file. It works fine if I create it as a static HTML but it does not work if I want it to be interactive (by

2条回答
  •  灰色年华
    2020-12-30 14:39

    Set the default values you want to initialize in (~/.Rprofile) under user directory

    Sys.setenv(TZ = "UTC")  # for Timezone
    options(shiny.port = 9999)
    

提交回复
热议问题