Add support for R and ESS