Issue I’m using RStudio 0.98.1103. It is said in release notes that they’ve added “Syntax highlighting modes for XML, YAML, SQL, Python, and shell scripts.” But when I write something like this: “`{r engine=’python’, highlight=TRUE} print(“Hello World”) “` – I
Continue readingTag: rstudio
Highlighting bash code with knitr / rmarkdown
Issue I’m trying to generate an HTML report using RStudio, R Markdown and knitr. In the report I would like to display some bash code. I do not want to run the code but I would like it to be
Continue readingDifferences in R Markdown syntax highlighting for in-line code
Issue The following minimal R Markdown file minimal.Rmd produces different minimal.html output (via “Knit HTML” in RStudio) depending on my system. The first is the result on my Windows 8 machine. The second is the result on my Windows 7
Continue readingPrint Script with syntax highlighting R-Studio
Issue After finishing statistical analysis in R I always like to print out the script since it gives a good overview and one can adjust eventual errors. I like the syntax highlighting in R-Studio because it facilitates reading and fast
Continue readingWhy does Rstudio's console not accept changes set in the Appearance panel of Tools/Global Options?
Issue Earlier today I fielded a question that was complaining that changing the "Console theme" in the Appearance panel of the Tools/Global Options super menu. And example of the console was offered: Since there is not such a selection in
Continue readingAvoiding repeated creation of objects in RMarkdown document through if statement
Issue I’m working on a RMarkdown document that uses objects that take a long time to create and transform. The syntax is similar to this: — title: “Example” author: “Test” date: “October 29, 2015” output: pdf_document — Example “`{r} test_exc
Continue readingPass only specific variables to a shiny app when building a package
Issue I’m building a package which includes my shiny app. To do this, I build a wrapper around my “shiny::runApp” call, but unfortunatly the shiny app uses the global workspace variables. I want the wraper function to use the variables
Continue readingVertically scrollable code with RStudio and xaringan
Issue I am currently preparing html slides for an R modelling workshop, for which I use the awesome xaringan package for R. It is based on remark.js. Compared to ioslides and slidy, it does much better suit my expectations. I
Continue readingpagedown html resume – How to move disclaimer section within aside section to the last page?
Issue Taking the template resume from pagedown as an example, I would like the disclaimer section (currently on the bottom right of the first page, reading "This resume was made with the R package pagedown. Last updated on 2021-08-18.") moved
Continue reading