Articles by Françoisn - [email protected]

Submitting packages to CRAN

March 23, 2016 | Françoisn - [email protected]

This note lists a few of the mistakes that one can make before submitting a package to CRAN. The list is based on my own mistakes when submitting the ggnetwork package to CRAN for the first time (see this other note for comments about the package itself). Single quotes around ... [Read more...]

Sustainable code for social scientists

February 18, 2016 | Françoisn - [email protected]

Over at his blog “One Tip per Day”, Xianjun Dong has produced an excellent list of “15 Practical Tips For a Bioinformatician”. This note is my own version of these tips, aimed at social scientists who need to write sustainable (i.e. reproducible) code for either individual or collective research projects. ... [Read more...]

Quick shell commands for R users

February 6, 2016 | Françoisn - [email protected]

This note explains how to use an application launcher along with text expansion and shell commands to accomplish a few specific tasks that can be useful to R users. Software requirements This note assumes that you are equipped with an application launcher that supports text expansion and can process shell ... [Read more...]

Exponential random graph models with R

February 5, 2016 | Françoisn - [email protected]

This note documents the a small but growing microverse of R packages on CRAN to produce various forms of exponential random graph models (ERGMs), which are a kind of modelling strategy akin to logistic regression for dyadic data. The starting point: ergm The gravitational centre of the ERGM microverse is ... [Read more...]

Teaching with RStudio

December 13, 2015 | Françoisn - [email protected]

The RStudio IDE is a central component of the R software ecology that makes it easier to code in R, or to use R with other tools. This note discusses its use in a teaching environment. Most of my teaching experience lies with Stata, but in recent years, I have ... [Read more...]

Latest R bookmarks

December 13, 2015 | Françoisn - [email protected]

This note shows the most recent R-related bookmarks from my Pinboard feed. Most of them come from GitHub or R-Bloggers. The links open in new tabs/windows. The bookmarks are converted from RSS to HTML by Engin Kizil’s FeedEk plugin, whic... [Read more...]

Unit tests for R packages

December 7, 2015 | Françoisn - [email protected]

Karl Broman has written a nice blog post to recommend writing unit tests for R packages. Here are a few more pointers on how to write these tests. I was introduced to unit tests by Barret Schloerke, who asked me to write some for the network plotting functions that I ... [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)