Yihui Xie
unread,Sep 19, 2014, 4:35:49 PM9/19/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tareef Kawaf, Andrew Caines, shinyap...@googlegroups.com, Garrett Grolemund
That is also my guess. Files under the root directory of the app will
not be found by direct links, which might be a little surprising... In
shiny, you can put files under www/ and link to them without the www
prefix, e.g. for an app with files
ui.R
server.R
www/foo.wav
bar.wav
You can link to foo.wav by tags$a(href = 'foo.wav', 'foo') (or
tags$audio(src = 'foo.wav')) but tags$a(href = 'bar.wav') will not
work by default, unless you used shiny::addResourcePath().
Anyway, when something does not work, you first see if there are error
messages in the R console, then Ctrl + Shift + J in Google Chrome to
see if there are error messages in the browser console. For apps
deployed to ShinyApps.io, shinyapps::showLogs() is what might help
you. (To Garret: we probably should add these common techniques for
diagnosing shiny apps to
http://shiny.rstudio.com/articles/debugging.html)
Regards,
Yihui
--
Yihui Xie <
xiey...@gmail.com>
Web:
http://yihui.name