A electronics package for R