Making R scripts executable

I have written a basic script within R Studio to do some wrangling of data from wide to long format so that data can go into company database. It is now time to make it executable so other users can run script and get data into the database.

I have followed the instruction at this link https://www.r-bloggers.com/2015/02/making-r-files-executable-under-windows/

which discusses this topic and it appears to work, however, when I libraries that need loading the script does not appear to work or I get an error message saying

"The procedure entry point EXTPTR could not be located in the dynamic link library

c:\Users\username\documents\R\win-library\4.0\Rccp\libs\x64\Rccp.dll

I am thinking it is something to do with how the libraries have been loaded (or not loaded) into the windows system environment?

Any tips/direction/ advice is appreciated

Without identical images for each user R + packages and maintaining them, these issues will be recurrent. This better runs in a server/client environment or in a containerized setting like Docker.

This topic was automatically closed 21 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.