This function changes the current R process to an AppArmor profile.
Note that this generally is a one way process: most profiles explicitly prevent switching into another profile, otherwise it would defeat the purpose.
aa_change_profile(profile, verbose = TRUE)
character string with the name of the profile.
print some C output (TRUE/FALSE)
Jeroen Ooms (2013). The RAppArmor Package: Enforcing Security Policies in R Using Dynamic Sandboxing on Linux. Journal of Statistical Software, 55(7), 1-34. http://www.jstatsoft.org/v55/i07/.