flexdashboard和闪亮的pdf报告 [英] flexdashboard and shiny pdf report

查看:172
本文介绍了flexdashboard和闪亮的pdf报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Shiny和flexdashboard的新手.借助flexdashboard,我编写了一个.Rmd文件来制作一个不错的Shiny应用程序(我只是统计学家). 我想在带有pdf文件的报告中导出一些计算(通过下载按钮).在闪亮的示例中,我再次需要创建另一个Rmd文件,作为report.Rmd的示例.我可以在浏览器中打开我的应用程序,并且可以成功下载pdf文件.但是它不能在线运行(使用shinyapps.io).我有两个扩展名为.rmd的文件,另一个有.r扩展名(我的函数).可能是two.rmd的问题吗?您有任何想法或示例吗? 提前非常感谢

I'm new on shiny and flexdashboard.With flexdashboard I've written a .Rmd file to make a nice shiny application (I'm just a statistician). I want to export some calculations (by a download button)in a report with a pdf file. In shiny examples, I need again to create another Rmd file, as an example of report.Rmd. I can open my application in the browser, and i'm successful to download a pdf file. But it's not working online (with shinyapps.io). I have two files with .rmd extension, and another one with .r extensions(my functions). Can it be the problem of the two.rmd?Do you Have any idea or example working? thanks a lot in advance

推荐答案

服务器可能期望某个文件夹中的功能文件(* .R),而您正在将其上传到另一个文件夹(或基本文件夹中) ).

It may be that the server is expecting the function files (*.R) in a certain folder and you are uploading it to another (or in the base folder).

我相信惯例是将源文件放入一个名为"R"的子文件夹中:/R/ 如果那不起作用,请尝试\www\.这通常是图标的来源.

I believe the convention is to put source files into a sub-folder called "R": /R/ If that doesn't work then try \www\. This is where icons are normally sourced from.

这篇关于flexdashboard和闪亮的pdf报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆