This Internet site provides information of a general nature and is designed for educational purposes only. If you have any concerns about your own health or the health of your child, you should always consult with a physician or other healthcare professional. Please review the Terms of Use before using this site. Your use of the site indicates your agreement to be bound by the Terms of Use.
This site is published by BabyCenter, L.L.C., which is responsible for its contents as further described and qualified in the Terms of Use.Q:
Interactive R Markdown Server
I want to create a R Markdown document that has some interactive graphs. I'm using Shiny with R to put them together. I don't want to change the source or modify the Markdown, but I want to dynamically construct the graphs, show them, hide them, and do whatever else is needed.
I've found it fairly easy to take a folder containing a Markdown file and a corresponding R file, and, with rmarkdown::render(), render the Markdown into a pdf document. However, it does not appear that rmarkdown::render() can take a parameter that is specified as interactive.
I thought I'd be clever and use knitr::include_resource(). It appears to do precisely what I want, with the only problem being that I can't turn on or off certain elements. If I put this line in my Rmd file:
---
output:
pdf_document:
fig_caption: yes
---
But I don't get any figures. Why not?
A:
The issue is that knitr::include_resource() is not part of the rmarkdown package. Use the interactive chunk option as described in the documentation.
Q:
creating a custom project at QtCreator
I am using QtCreator and I would like to create a custom project, not using the Qt wizard.
At this stage I am just trying to create a simple c++ project and save it as a project.
I don't know how to make the right settings at the Qt Creator - project properties-General-General-Item Type. What kind of project shall I create? (Qt? Standalone? Can this be done?)
I am using QtCreator Version 3.1.1 on Windows 10.
A:
You have to create a new project template. You can ac619d1d87
Related links:
Comments