]> git.vanrenterghem.biz Git - www2.vanrenterghem.biz.git/blob - posts/R_and_github.org
Voeg alle posts toe.
[www2.vanrenterghem.biz.git] / posts / R_and_github.org
1 #+date: 2016-09-23 19:47:35 +0800
2 #+title: R and Github
4 Where [[file:posts/first_r_package][my first R package]] was more a
5 proof-of-concept, I now certainly left the /beginneRs/ group by
6 publishing an R package to a private Github repository at work. I used
7 that package in some R scripts performing various real-time analysis of
8 our operations already. This by loading it through the
9 [[https://cran.r-project.org/web/packages/devtools/README.html][devtools
10 package]], and specifically the =install_github()= function.
12 Next, I will have to check the =install_url()= function, as I had not
13 quite figured out at the time of writing my initial R package how I
14 could actually use it in a script without manually installing it first.
16 The ability to script regular reporting and publish results as graphs
17 and tables and publishing these in emails (opening a gateway into for
18 instance Slack) or in Excel files, is very empowering. To an extent, I
19 used to do this using VBA some years ago. Doing that in an integrated
20 way with various datasources required a lot more work though, certainly
21 given how the MS Windows environment until not so long ago lacked decent
22 support for scripted operations for anyone but in-the-know IT
23 professionals.