Articles by jdm

Write an R Package from Scratch with Github

September 9, 2015 | jdm

Writing an R package is simple. Writing an R package via Github is simple and smart. Github adds all the traditional benefits of version control, in addition to showing off your work and providing and facilitating publication of your package. This tutorial was inspired by a blog post from the ... [Read more...]

R: Happy Pi Day

March 14, 2015 | jdm

Today, 3/14/2015, is Pi Day (see In honor of Pi Day, I threw together a little R code on Github, which discusses pi, prints it, and creates Julia set (fractal) images based on it: Happy Pi Day! [Read more...]

Ruby: Use R in Ruby via “rinruby”!

March 13, 2015 | jdm

  ____  sample_size = 10 ____  R.eval “x __  R.eval “summary(x)” ____  R.eval “sd(x)” With a here document: require "rinruby" #Set all your variables in Ruby n = 10 beta_0 = 1 beta_1 = 0.25 alpha = 0.05 seed = 23423 R.x = (1..n).entries #Use actual R code to perform the analysis R.eval […] [Read more...]

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)