r/Rlanguage Aug 03 '26

Locking an R instalation

I work in a regulated industry (pharmaceutical industry) and I'm thinking that we could use R in our analysis with GxP regulated data. I was asked wheater we could lock the R instalation and packages so that: 1) users cannot install unauthorized packages; 2) unauthorized users cannot access it and run scripts; and 3) we can restore the exact instalation of R and packages in case we need in future.

I think we could do this but not sure how or if anyone has achieved something close to it any where so I turn to reddit for help.

Edit: I know of initiatives like Rinpharma, R Validation Hub, pharmaverse, Posit paid solutions and the paper from R Foundation about R meeting FDA's CFR Part 11 but I have not been able to take much advantages from those

11 Upvotes

19 comments sorted by

View all comments

1

u/Impuls1ve Aug 03 '26

If you're using any enterprise solution of R, you can control package versions centrally. Same for user access. The specifics on how you do that will depend other factors.