The r-sharp script runtime environment functions