March 2016

Porting Medium to Jekyll Github.io with R

March 23, 2016 | data_steve

[this transition post is a copy from my Medium account for your comparison.] I’m porting my Medium blog to host on Github using Jekyll at data-steve.github.io. I decided to do it with code and make a package out of it in case others might want to. Reasons ... [Read more...]

sample(): “Monkey’s Paw” style programming in R

March 22, 2016 | John Mount

The R functions base::sample and base::sample.int are functions that include extra “conveniences” that seem to have no purpose beyond encouraging grave errors. In this note we will outline the problem and a suggested work around. Obviously the R developers are highly skilled people with good intent, and ...
[Read more...]

Keynotes announced for EARL 2016

March 22, 2016 | Angela Roberts

We are pleased to announce our two keynote speakers this year at EARL (Effective Application of the R Language) Conference from 13th-15th September. The keynotes will be presenting on the morning of Wednesday 14th September. Kenneth Cukier Kenneth Cukier is … Continue reading → [Read more...]

Get Data – Safe, Easy, and Free

March 22, 2016 | data_steve

googleformr Genesis googleformr came out of a persistent series of questions: How to collect data remotely? And do it programmatically with R? And safely, easily, and free? Google seemed like an obvious choice. So gmail it? Save it as a spreadsheet and then email it? Aggregation is really an issue ... [Read more...]

rNDOW package

March 22, 2016 | Mitchell Gritts

Over the last few months I’ve been writing tons of R functions. They all go to GitHub, but they aren’t easily used in R. Each time I want to use one I have to use source('url.to.repo'). I finally decided it was time to write an ... [Read more...]

Data table exercises: keys and subsetting

March 21, 2016 | Han de Vries

The data.table package is a popular R package that facilitates fast selections, aggregations and joins on large data sets. It is well-documented through several vignettes, and even has its own interactive course, offered by Datacamp. For those who want to build some mileage practising the use of data.table, ... [Read more...]

HIBPwned, an R package for HaveIBeenPwned.com

March 21, 2016 | Steph

The answer in life to the inevitable question of “How can I do that in R?” should be “There’s a package for that”. So when I wanted to query HaveIBeenPwned.com (HIBP) to check whether a bunch of emails had been involved in data breaches and there wasn’t ... [Read more...]

Stemming and Spell Checking in R

March 20, 2016 | Jeroen Ooms

Last week we introduced the new hunspell R package. This week a new version was released which adds support for additional languages and text analysis features. Additional languages By default hunspell uses the US English dictionary en_US but the new version allows for checking and analyzing in other languages ...
[Read more...]

embed images in ggplot2 via subview and annotate a phylogenetic tree with images using inset function

March 19, 2016 | R on Guangchuang Yu

I extended the subview function to support embed image file in a ggplot object.
set.seed(123)
d = data.frame(x=rnorm(10), y=rnorm(10))

imgfile <- tempfile(, fileext=".png")
download.file("https://avatars1.githubusercontent.com/u/626539?v=3&u=e731426406dd3f45a73d96dd604bc45ae2e7c36f&s=140",
              destfile=imgfile, mode='wb')

p = ggplot(d, aes(x, y))
subview(p, imgfile, x=d$x[1], y=d$y[1]) + geom_point(size=5)
In previous post, I have introduced using annotation_image function for annotating tips with local images. Now with the updated subview function, we can use inset function to annotate nodes/tips with image files and/... [Read more...]
1 3 4 5 6 7 15

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)