Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R-markdown presentation webserver on a local server

I was wondering if there is any way to run and share within my network an R-markdown presentation that contains a shiny presentation using my IP and a given port. Knitting and sharing the html file is not an option as my R-markdown has a shiny presentation.

Very similar to the feature that shiny has:

runApp(list(ui=ui, server=server), host="0.0.0.0", port=1234)

Thank you.

like image 528
Antarqui Avatar asked Feb 21 '26 02:02

Antarqui


1 Answers

I just solved this issue:

rmarkdown::run("...", shiny_args = list(host="0.0.0.0", port=1234))

I still wonder if R is able to add semaphores and keep track of people accessing my presentation.

like image 62
Antarqui Avatar answered Feb 22 '26 17:02

Antarqui



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!