Turn an R call into an Unix call
r(code)
the function to call
an unix R call
r(print("yeay"))
#> R -e 'print("yeay")'
r(install.packages("plumber", repo = "http://cran.irsn.fr/"))
#> R -e 'install.packages("plumber", repo = "http://cran.irsn.fr/")'