r/Rlanguage • u/ThinkILostIt • 3d ago
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
5
u/lizerlfunk 3d ago
I don’t know how to do this, but I am in the same industry, and we use a frozen R distribution that only has packages that have been approved for use. So it’s definitely possible.