Home Comments Thread
New Thread

4 Comments

giscus-bot giscus-bot 2022-12-17 03:59:09
Guest *Emi Tanaka* @ 2018-09-20 10:36:03 originally posted:

Wow this works! You're so amazing.

giscus-bot giscus-bot 2022-12-17 03:59:10
Guest *james riley* @ 2019-03-01 13:33:23 originally posted:

Hi Yihui. I found this while editing my blog over my rstudio server. By default blogdown really really wanted to use the same port as the server, and I really really wanted to preview my site without doing something daft like a Netlify branch preview. Thanks for the one line fix! :D

giscus-bot giscus-bot 2022-12-17 03:59:11
Guest *James Morgan 🌈* @ 2019-05-29 04:35:19 originally posted:

Hey Yihui, this is great! Wondering if you can do the same thing with Xaringan and Infinite Moon Reader?

yihui yihui 2022-12-17 03:59:11

xaringan::inf_mr() doesn't allow you to specify the host. I just pushed a new version (0.13.2) of the servr package to Github: https://github.com/yihui/servr With this version, you can set options(servr.host = '0.0.0.0') before calling xaringan::inf_mr().

Originally posted on 2019-05-29 16:24:30

giscus-bot giscus-bot 2022-12-17 03:59:12
Guest *James Morgan 🌈* @ 2019-05-29 21:31:50 originally posted:

Oh awesome! Thanks

hlblade hlblade 2023-10-07 15:10:01

您好,在windows环境下,如何把shiny服务后台运行,写个bat脚本shiny::runApp(host = '0.0.0.0'),这样是可以运行的,但是这个命令窗口无法关闭。windows下也没有nohup,请教该如何处理?谢谢!

yihui yihui 2023-10-07 15:30:12

命令行通常可以在末尾添加 & 将其发送到后台运行,这对 Windows 和 Unix 应该都通用。不过为什么需要它在后台运行呢?发送到后台的弊端正是不方便关闭,你需要找到进程 ID 才能杀死它。

Sign in to join the discussion

Sign in with GitHub