Maybe someone has a little "toy shiny page" with markdown that (s)he can share?
Thanks, Philipp
If I include an includeMarkdown statement in the ui.R file and hard code the file path, it works. However, my file path can change. So I tried to pass a file name from the server.R file to ui.R, and I'm just not sure how to do this.
Suppose, the variable file.name contains my file name. How do I get this to ui.R? I tried things such as:
output$name <- renderText(file.name), but all I get is "Error: Need input from either a file or text string". I tried:
output$contents <- renderTest({
paste(readLines(file.name), collapse="\n")
})
I get: Error in dependsOnFile(path): addFileDependency was called at an unexpected time
... and now I'm stuck :-(
Any pointers how to fix this would be great!
Thanks, Philipp
I tried. And I'm back to this error:
addFileDependency was called at an unexpected time
Any other ideas?
Many thanks, Philipp