when I add in shiny: includemarkdown ((render)) ..... turns gray in shiny apps

38 views
Skip to first unread message

Juan Castillo

unread,
Sep 5, 2014, 8:47:00 PM9/5/14
to shinyap...@googlegroups.com
the screen turns gray when I upload my application to shinyapps

using

observe({
  if(input$rt_report_view!=0){
    output$reportui<-renderUI({
      list(tags$style(".modal .modal-body {margin:0px}"),includeHTML(render("Report_Hours_.Rmd","html_document",runtime = c("shiny"),clean=T,quiet = FALSE)),
           tags$style("#viewreport{width:95%;left:1%;top:1%;bottom:1%;right:50%;padding:3px}"), 
           tags$style("#viewreport {margin:2px;overflow:scroll;}")
      )})}})

Tareef Kawaf

unread,
Sep 8, 2014, 8:24:06 AM9/8/14
to Juan Castillo, shinyap...@googlegroups.com
Juan,
Would you mind sharing the output of showLogs() and the URL to your application?

Thanks,
Tareef


--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/42a121f6-7215-43ce-9f18-5cbfc0a5d19b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Juan Castillo

unread,
Sep 8, 2014, 11:10:44 AM9/8/14
to shinyap...@googlegroups.com
In the search to find because uploading the app to shinyapps placed in this "gray screen" I suggested to evaluate the function "showlogs ()" 
In reviewing the APP who climbs shinyapps using the instruction "showlogs ()", the following result appears ...... please can you help me as interpreted?

> shinyapps::showLogs(appDir="C:/Users/Name/Desktop/GUI_Shiny_webpage_080414",appName="GUI")
2014-09-06T14:17:43.230162+00:00 shinyapps[shuttle]: List of 2
2014-09-06T14:17:43.230913+00:00 shinyapps[shuttle]:  $ echo   : logi FALSE
  |.......................................................          |  84%
2014-09-06T14:17:43.718397+00:00 shinyapps[shuttle]:    inline R code fragments
2014-09-06T14:17:43.718405+00:00 shinyapps[shuttle]: 
  |........................................................         |  86%
2014-09-06T14:17:43.720021+00:00 shinyapps[shuttle]: List of 2
2014-09-06T14:17:43.721484+00:00 shinyapps[shuttle]:  $ message: logi FALSE
2014-09-06T14:17:43.721537+00:00 shinyapps[shuttle]: 
2014-09-06T14:17:43.719822+00:00 shinyapps[shuttle]: label: unnamed-chunk-19 (with options) 
2014-09-06T14:17:43.720867+00:00 shinyapps[shuttle]:  $ echo   : logi FALSE
  |.........................................................        |  88%
2014-09-06T14:17:44.035951+00:00 shinyapps[shuttle]:    inline R code fragments
2014-09-06T14:17:44.035958+00:00 shinyapps[shuttle]: 
  |...........................................................      |  90%
2014-09-06T14:17:44.037521+00:00 shinyapps[shuttle]: List of 2
2014-09-06T14:17:44.039065+00:00 shinyapps[shuttle]:  $ message: logi FALSE
2014-09-06T14:17:44.039111+00:00 shinyapps[shuttle]: 
2014-09-06T14:17:44.037332+00:00 shinyapps[shuttle]: label: unnamed-chunk-20 (with options) 
2014-09-06T14:17:44.038445+00:00 shinyapps[shuttle]:  $ echo   : logi FALSE
  |............................................................     |  92%
2014-09-06T14:17:44.588742+00:00 shinyapps[shuttle]:    inline R code fragments
2014-09-06T14:17:44.588783+00:00 shinyapps[shuttle]: 
  |.............................................................    |  94%
2014-09-06T14:17:44.590781+00:00 shinyapps[shuttle]: List of 2
2014-09-06T14:17:44.592195+00:00 shinyapps[shuttle]:  $ message: logi FALSE
2014-09-06T14:17:44.592235+00:00 shinyapps[shuttle]: 
2014-09-06T14:17:44.590596+00:00 shinyapps[shuttle]: label: unnamed-chunk-21 (with options) 
2014-09-06T14:17:44.591572+00:00 shinyapps[shuttle]:  $ echo   : logi FALSE
  |..............................................................   |  96%
2014-09-06T14:17:44.984450+00:00 shinyapps[shuttle]:    inline R code fragments
2014-09-06T14:17:44.984452+00:00 shinyapps[shuttle]: 
  |................................................................ |  98%
2014-09-06T14:17:44.985864+00:00 shinyapps[shuttle]: List of 2
2014-09-06T14:17:44.987135+00:00 shinyapps[shuttle]:  $ message: logi FALSE
2014-09-06T14:17:44.987187+00:00 shinyapps[shuttle]: 
2014-09-06T14:17:44.985683+00:00 shinyapps[shuttle]: label: unnamed-chunk-22 (with options) 
2014-09-06T14:17:44.986582+00:00 shinyapps[shuttle]:  $ echo   : logi FALSE
  |.................................................................| 100%
2014-09-06T14:17:45.342370+00:00 shinyapps[shuttle]:   ordinary text without R code
2014-09-06T14:17:45.342379+00:00 shinyapps[shuttle]: 
2014-09-06T14:17:45.342380+00:00 shinyapps[shuttle]: 
2014-09-06T14:17:45.342885+00:00 shinyapps[shuttle]: output file: Report_creation_shiny_24Hours_082514_0700.knit.md
2014-09-06T14:17:45.342893+00:00 shinyapps[shuttle]: 
2014-09-06T14:17:45.355030+00:00 shinyapps[shuttle]: /opt/shiny-server/ext/pandoc/pandoc Report_creation_shiny_24Hours_082514_0700.utf8.md --to html --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash-implicit_figures --output Report_creation_shiny_24Hours_082514_0700.html --smart --email-obfuscation none --self-contained --standalone --section-divs --template /usr/local/lib/R/site-library/rmarkdown/rmd/h/default.html --variable 'theme:bootstrap' --include-in-header /tmp/RtmpgiIkVT/rmarkdown-str145e55333.html --mathjax --variable 'mathjax-url:https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --no-highlight --variable highlightjs=/usr/local/lib/R/site-library/rmarkdown/rmd/h/highlight 
2014-09-06T14:17:45.961685+00:00 shinyapps[shuttle]: 
2014-09-06T14:17:45.961742+00:00 shinyapps[shuttle]: Output created: Report_creation_shiny_24Hours_082514_0700.html
2014-09-06T14:17:58.887028+00:00 shinyapps[shuttle]: 
2014-09-06T14:17:58.984516+00:00 shinyapps[shuttle]: 
2014-09-06T14:17:58.888693+00:00 shinyapps[shuttle]: Execution halted
2014-09-06T14:17:58.984731+00:00 shinyapps[shuttle]:
Reply all
Reply to author
Forward
0 new messages