Change R_LIB to deployment directory to avoid writing
to runtime