Using Rstudio (Version 1.0.143) under Ubuntu (16.04), if I add system("echo 'Hello world'")
to my /usr/lib/R/etc/Rprofile.site
file, I have no Hello world message displayed in R studio at startup.
If I start R from the terminal I have the Hello world message.
It seems that R studio ignores the system
commands from Rprofile.site
(idem from the .Rprofile
file in the home directory)
Is it possible to enable system commands executions or is there a good reason to avoid this behavior ?