Shiny .Rmd won't run on ShinyApps (pandoc error read-only file system)

100 views
Skip to first unread message

Jordan Noble

unread,
Jun 7, 2015, 3:38:30 PM6/7/15
to shinyap...@googlegroups.com
Hi,

I've managed to run my .Rmd presentation locally and it's all fine. I want to deploy to ShinyApps, and am able to do so, but once it's finished deploying it doesn't appear to run correctly. Once it's finished loading I get the following error in the browser

Error: pandoc document conversion failed with error 1

Here are the most recent logs of the application:

2015-06-07T19:25:44.244529+00:00 shinyapps[45645]: 
  |                                                                       
  |............................................................     |  92%
2015-06-07T19:25:44.244592+00:00 shinyapps[45645]:   ordinary text without R code
2015-06-07T19:25:44.244600+00:00 shinyapps[45645]: 
2015-06-07T19:25:44.244792+00:00 shinyapps[45645]: 
  |                                                                       
  |..............................................................   |  95%
2015-06-07T19:25:44.245361+00:00 shinyapps[45645]: label: unnamed-chunk-22
2015-06-07T19:26:28.815026+00:00 shinyapps[45645]: 
  |                                                                       
  |...............................................................  |  98%
2015-06-07T19:26:28.815510+00:00 shinyapps[45645]: label: unnamed-chunk-23 (with options) 
2015-06-07T19:26:28.815681+00:00 shinyapps[45645]: List of 4
2015-06-07T19:26:28.816264+00:00 shinyapps[45645]:  $ echo      : logi FALSE
2015-06-07T19:26:28.816763+00:00 shinyapps[45645]:  $ fig.height: num 5
2015-06-07T19:26:28.817228+00:00 shinyapps[45645]:  $ fig.width : num 10
2015-06-07T19:26:28.817592+00:00 shinyapps[45645]:  $ fig.align : chr "center"
2015-06-07T19:26:28.817633+00:00 shinyapps[45645]: 
2015-06-07T19:26:30.777413+00:00 shinyapps[45645]: 
  |                                                                       
  |.................................................................| 100%
2015-06-07T19:26:30.777477+00:00 shinyapps[45645]:   ordinary text without R code
2015-06-07T19:26:30.777486+00:00 shinyapps[45645]: 
2015-06-07T19:26:30.777756+00:00 shinyapps[45645]: 
2015-06-07T19:26:30.778668+00:00 shinyapps[45645]: output file: /tmp/RtmpdUj82S/M4R.knit.md
2015-06-07T19:26:30.778670+00:00 shinyapps[45645]: 
2015-06-07T19:26:30.996803+00:00 shinyapps[45645]: pandoc: /opt/connect/ext/pandoc/pandoc-citeproc: fileAccess: permission denied (Read-only file system)
2015-06-07T19:26:31.004905+00:00 shinyapps[45645]: Error : pandoc document conversion failed with error 1

None of my R code in any of the chunks is attempting to write a file, perhaps this is an issue with the files that Knitr writes?

Other info: I am only deploying 2 files, the .Rmd and an accompanying bilbiography .bib file.

.Rmd metadata:

---
title: "Mixture Modelling<br>in Data Streams"
author: "Jordan Noble"
date: "<br>9 June 2015"
output:
  ioslides_presentation:
    widescreen: yes
bibliography: m4r.bib
runtime: shiny
---

Any help would be greatly appreciated as I was hoping to use ShinyApps as a platform for my presentation in 2 days.

Thanks,

Jordan

Jordan Noble

unread,
Jun 7, 2015, 4:24:46 PM6/7/15
to shinyap...@googlegroups.com
Upon further investigation I've discovered that removing the bibliography in the Rmd metadata seems to work. Can anyone else confirm if they are able to get bibliographies working on presentations hosted on ShinyApps?

Thanks,

Jordan
Reply all
Reply to author
Forward
0 new messages