Note that there are some explanatory texts on larger screens.

plurals
  1. POError using Slidify with knitr and R Markdown in Rstudio
    primarykey
    data
    text
    <p>I am trying out slidify after downloading the required packages from github as stated in this document on <a href="http://documentup.com/ramnathv/slidify" rel="nofollow">getting started with Slidify</a>. After creating the deck with create_deck() I used the function slidify() on a test code that I found online. This is the code:</p> <pre><code>--- ### A Simple Plot Let us create a simple scatterplot. ```{r simple-plot, fig.height = 6, fig.align = 'center', message = F} require(ggplot2) qplot(wt, mpg, data = mtcars) ``` --- ### A Table ```{r table, results = 'asis', comment = NA} library(xtable) options(xtable.type = 'html') xtable(head(mtcars)) ``` </code></pre> <p>I saved the above code as test_slidify.Rmd and called it using slidify("test_slidify.Rmd"). However, I keep running into the following error, at the end below:</p> <pre><code>processing file: C:/Users/VJ/test_slidify.Rmd |&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; | 20% ordinary text without R code |&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; | 40% label: simple-plot (with options) List of 4 $ fig.height: num 6 $ fig.align : chr "center" $ message : logi FALSE $ indent : chr " " |&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; | 60% ordinary text without R code |&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; | 80% label: table (with options) List of 3 $ results: chr "asis" $ comment: logi NA $ indent : chr " " |&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;| 100% ordinary text without R code output file: C:\Users\VJ\test_slidify.md Error in mapply(function(i, j) doc[i:j], begin, end, SIMPLIFY = FALSE) : Zero-length inputs cannot be mixed with those of non-zero length </code></pre> <p>I have downloaded the most recent version of slidify and other required packages, but still keep running into this error. Appreciate any help. Lastly, does slidify create a .md file only or a html file like in a regular Rmarkdown with knitr. How do we convert the generated .md file into a html file. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload