R xquartz installer on MAC

I tried and fail to install R (3.6.1) on my MAC (Mojave 10.14.
At some point when I run R and type : library(‘Rcmdr’) to start Xquartx interface the program return to me this error (see picture)
enter image description here

anyone could help me?
thanks