537 search results for "knitr"

Teaching a short topic to beginner R users

Teaching a short topic to beginner R users

A couple weeks ago I was given the opportunity to teach a 1 hr 30 min slot of an introduction to R course. In the past, I've taught lectures for similar courses, and I ended up asking myself what would be the best short topic to teach and how to teach ...

Read more »

R-devel in parallel to regular R installation

July 1, 2015
By
R-devel in parallel to regular R installation

Unfortunately, you need both: R-devel (development version of R) if you want to submit your packages to CRAN, and regular R for your research (you don’t want the unstable release for that). Fortunately, installing R-devel in parallel is less trouble than one might think. Say, we want to install R-devel into a directory called ~/R-devel/,

Read more »

How I made every tech company that I may ever want to work for in the future hate me, or “GO R Consortium!”

June 30, 2015
By
How I made every tech company that I may ever want to work for in the future hate me, or “GO R Consortium!”

It turns out that when people tell you things, you should listen. Like when Joe Rickert of Microsoft says “this is not news, please don’t repeat what I’m about to say”, you should maybe take note and keep your mouth shut. I’m not quite sure how I missed that, but I did. So on Sunday

Read more »

Bio7 2.2 for Windows, Linux and MacOSX released

June 26, 2015
By
Bio7 2.2 for Windows, Linux and MacOSX released

26.06.2015 I released a new version of Bio7 for Windows, Linux and MacOSX simultaneously. This release is based on Eclipse 4.5 which was published on Wednesday. It comes bundled with the latest ImageJ version (1.49u) and the latest R version (bundled with Windows and Mac). Download at: http://bio7.org New features: Based on Eclipse 4.5 (Mars)

Read more »

Presentations in (R)markdown

June 24, 2015
By
Presentations in (R)markdown

There are many ways to turn a markdown or Rmarkdown document into a presentation. Way too many, and none of them is perfect. I made my first presentation with knitr / Rmarkdown for the tmod package. After trying various options in knitr, I decided on an approach in which the Rmarkdown document is oblivious of

Read more »

Interactive R Notebooks with Jupyter and SageMathCloud

June 20, 2015
By
Interactive R Notebooks with Jupyter and SageMathCloud

Has the time come for Jupyter/IPython notebooks in R? This format, mixing code chunks, output, and markdown all in the same interface, is already wildly popular among Python users. Here's how to get a quick start using interactive, collaborative notebooks in Jupyter, with the help of SageMathCloud.

Read more »

Kneat tricks

June 18, 2015
By
Kneat tricks

So I have finally switched to knitr for doing my vignettes. The result is satisfactory, but the process was not entirely painless. The command to run instead of “R CMD Sweave foo.Rnw” is Rscript -e 'rmarkdown::render("foo.rmd")' I think that the concept of writing a package which has the main purpose to generate documentation in literate

Read more »

Processing an XL grading sheet with R

June 13, 2015
By
Processing an XL grading sheet with R

This tutorial is dedicated to Vincent and to Erwan, the former for proposing me an interesting challenge to solve with R and the latter for his suspicious remarks about the language not being suited for this kind of task. Disclaimer: of course, this script can not be used on a computer with Windows OS... Problem

Read more »

15 Easy Solutions To Your Data Frame Problems In R

June 11, 2015
By
15 Easy Solutions To Your Data Frame Problems In R

R’s data frames regularly create somewhat of a furor on public forums like Stack Overflow and Reddit. Starting R users often experience problems with the data frame in R and it doesn’t always seem to be straightforward. But does it really need to be so? Well, not necessarily. With today’s post, DataCamp wants to show The post

Read more »

Running Go language chunks in R Markdown (Rmd) files

June 8, 2015
By

After seeing IPython Markdown Opportunities in IPython Notebooks and Rstudio in the feeds today I wondered how easy/hard it would be to write a handler for something like go code. After taking a look at Yihui Xie‘s knitr source it seemed like it would be fairly easy to mimic a combination of Rcpp and “shell”...

Read more »