You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From experience, code evaluated with callr::r_safe can read environment variables from /proc/*/environ, and modify the files ${TMPDIR}/<random>/callr-client--<version>.so and ${TMPDIR}/<random>/callr-env-<random> which enables hijacking other evaluation sessions. The serialized input and output files of other sessions can also be read provided callr::r_safe is run in parallel (or that those files are not properly cleaned up).
Activity
gaborcsardi commentedon Oct 19, 2023
It is in the documentation, see
?callr::r_safe. It is a completely different definition of safe, I am afraid.