Load R code and compiled files