Alternative to `source` for best practices?

I seem to remember a package for including external R scripts that was better in some way, (safer?) than just plain old source.

I've googled a bunch and searched this forum, but I can't find it.

Any help is appreciated, thanks!

Are you looking for the callr package? The rscript() function might be what you are thinking of.

3 Likes

Thanks! I think this is what I was looking for.

Since I'm running everything in global scope (just some simple cleaning scripts) I don't think I need to use this, but its good to know the package is there when I do need it!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.