Articles by csgillespie

Speeding up package installation

November 15, 2017 | csgillespie

Can’t be bothered reading, tell me now A simple one-line tweak can significantly speed up package installation and updates. See my post at the Jumping Rivers blog (no point duplicating content in two places)   [Read more...]

UK R Courses

June 8, 2017 | csgillespie

Over the next few months we’re running a number of R, Stan and Scala courses around the UK. June (London) Mon Jun 26 – Introduction to R Tue Jun 27 – Statistical Modelling with R Wed Jun 28 – Programming with R Thu Jun 29 (2-day course) – Advanced R Programming August (Belfast) Thu Aug 10 […] [Read more...]

Security: the dangers of copying and pasting R code

June 7, 2017 | csgillespie

Most of the time when we stumble across a code snippet online, we often blindly copy and paste it into the R console. I suspect almost everyone does this. After all, what’s the harm? Consider this simple piece of R code that performs simple linear regression # Generate data x = ... [Read more...]

Training courses: R, Stan and Scala

January 25, 2017 | csgillespie

Over the next few months we’re running a number of R, Stan and Scala courses around the UK. Feburary Mon 13 – Introduction to R (London) Tue 14 – Programming with R (London) Wed 15 – Advanced Graphics with R (London) Thur 16 (2-day course) – Predictive Analysis (London) March Tue Mar 21 – R for […] [Read more...]

Input/output benchmarks

January 22, 2017 | csgillespie

To quantify the impact of the CPU on an analysis, I created the package benchmarkme. The idea is simple. If everyone runs the same R script, we can easily compare machines. One of the benchmarks in the package is for comparing read/write speeds; we write a large CSV file (...
[Read more...]

benchmarkme Update

January 9, 2017 | csgillespie

When discussing how to speed up slow R code, my first question is what is your computer spec? It always surprises me when complex biological experiments, costing a significant amount of money, are analysed using a six year old laptop. A new desktop machine costs around £1000 and that money would ...
[Read more...]

List of R conferences and useR groups

November 1, 2016 | csgillespie

Recently Steph Locke asked on twitter if there was a list of R conferences. After some googling, all that I came up was a list of useR groups maintained by Microsoft. While the list was lengthy, it was missing a few groups (and twitter handles). So the other night I ... [Read more...]

R Courses at London, Leeds and Newcastle

August 30, 2016 | csgillespie

Over the next few months we’re running a number of R courses at London, Leeds and Newcastle. September 2016 (Newcastle) Sept 12th: Introduction to R Sept 13th: Statistical modelling Sept 14th: Programming with R Sept 15th: Efficient R: speeding up your code Sept 16th: Advanced graphics October 2016 (London) Oct 3rd: ... [Read more...]

R Courses at Newcastle

April 22, 2016 | csgillespie

Over the next two months I’m running a number of R courses at Newcastle University. May 2016 May 10th, 11th: Predictive Analytics May 16th – 20th: Bioconductor May 23rd, 24th: Advanced programming June 2016 June 8th: R for Big Data June 9th: Interactive graphics with Shiny Since these courses are on  advanced ... [Read more...]

RStudio addins manager

March 31, 2016 | csgillespie

RStudio addins let you execute a bit of R code or a Shiny app through the RStudio IDE, either via the Addins dropdown menu or with a keyboard shortcut. This package is an RStudio addin for managing other addins. To run these addins, you need the latest version of RStudio. ...
[Read more...]

RANDU: The case of the bad RNG

February 16, 2016 | csgillespie

The German Federal Office for Information Security (BSI) has established criteria for quality random number generator (rng): A sequence of random numbers has a high probability of containing no identical consecutive elements. A sequence of numbers which is indistinguishable from true random’ numbers (tested using statistical tests. It should be ...
[Read more...]

Shiny benchmarks

February 15, 2016 | csgillespie

A couple of months ago, the first version of benchmarkme was released. Around 140 machines have now been benchmarked. From the fastest (an Apple i7) which ran the tests in around 10 seconds, to the slowest (an Atom(TM) CPU N450 @ 1.66GHz) which took 420 seconds! Other interesting statistics: Around 6% of people ran ... [Read more...]

Crowd sourced benchmarks

December 1, 2015 | csgillespie

When discussing how to speed up slow R code, my first question is what is your computer spec? It always surprises me when complex biological experiments, costing a significant amount of money, are analysed using a six year old laptop. A new desktop machine costs around £1000 and that money would ...
[Read more...]

useR 2015: Computational

July 1, 2015 | csgillespie

These are my initial notes from useR 2015. I will/may revise when I have time. Computational Performance; Chair: Dirk Eddelbuettel Running R+Hadoop using Docker Containers (E. James Harner) Introduction Big data architectures: HDFS/Hadoop: software framework for distributed storage and distributed processing Tachyon/Spark: uses in-memory Rc2 server (R ... [Read more...]

useR 2015: Networks

July 1, 2015 | csgillespie

These are my initial notes from useR 2015. Will revise when I have time. fbRads: Analyzing and managing Facebook ads from R (Gergely Daroczi) Modern advertising Google/Amazon/Facebook use our information Ad platforms: Google: RAdwords, facebook likes: fbRads. You can use the facebook API to get information from facebook. Get ... [Read more...]

useR 2015: Romain Francois: My R adventures

July 1, 2015 | csgillespie

Using R since 2002 and has been working on Rcpp, Rcpp11, Rcpp14 and dplyr internals. Worked on a number of big projects. 2005 he set up the R Graph Gallery 2009 worked on rJava 2010 Rcpp 2013 dplyr Key themes are Performance and usabililty rJava 0.7-* Creating objects was messy d [Read more...]

Standardising Function Names in R

March 31, 2015 | csgillespie

The renamer Package Tired of the disparate naming systems in R? Then this is the package for you. Installing the package The package is located in my drat. To install install.packages("renamer", repos="http://csgillespie.github.io/drat", type="source") or if you have drat installed drat::addRepo("csgillespie") ... [Read more...]

UK R Courses – 2012

September 17, 2011 | csgillespie

The School of Mathematics & Statistics at Newcastle University (UK), are again running some R courses. In January, 2012, we will run: January 16th: Introduction to R; January 17th: Programming with R; January 18th & 19th: Advanced graphics with R. The courses aren’t aimed at teaching statistics, rather they aim to go ... [Read more...]

Development of R (useR! 2011)

August 19, 2011 | csgillespie

Michael Rutter – R for Ubuntu Ubuntu 10.10 uses 2.10.1. Backports are newer versions of software for old releases. R backports are available CRAN (link). Lauchpad is a website for users to develop and maintain software (Canonical). One of Launchpad’s services is the personal package archive (PPA). This allows users to upload .... [Read more...]
1 2 3

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)