Difficulty using RStudio on Ubuntu 20.04.6

I successfully installed R and Rstudio on Ubuntu 20.04.6. However, when I tried to to confirm successful installation with the command rstudio I got an error response:
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Permission denied
[20424:1024/103512.187577:FATAL:zygote_host_impl_linux.cc(201)] Check failed: . : Invalid argument (22)
Trace/breakpoint trap (core dumped) [20426:0100/000000.495793:ERROR:zygote_linux.cc(672)] write: Broken pipe (32)
I have been at it since and I have tried other versions of Ubuntu