how to reference r script using url

Is it possible to reference a url instead of MyLibrary.R for the r script file in RShiny?

library(shiny)
source("MyLibrary.R")

Have you looked at the source.https() function in the installr package?

Does it have to be on Github to work? It's not on Github.

Any valid URL that points to an R script should work (I think?!). If you try it and it fails, show us what the error/result is.

More details here: https://cran.r-project.org/web/packages/installr/installr.pdf

I'm working on getting an r file set up on aws to test thank you.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.