My problem is for example changing working dir and editing files. I do not want to be limited to a single working Directory. If i change dir in Rstudio and try to edit the files I get this message:
Furthermore, I'm also accessing some Linux functions using the system command. Some of these calls don't work either, but i have not investigated if that was because of Rstudio server or just a missing password in my sudo command because of the new User Rstudio is running on.
Thanks for the tip. but currently all of the code is working, but its on my bucketlist anyways 
TY!