Every time I load Rcmdr, it wants to install some dependencies, though I do it every time, and also some times when I call Recommender it does not respond and I have to restart Rstudio, it was working good on Ubuntu 18, but after installing ubuntu 20, I am facing all these problems, please help.
library(Rcmdr)
Loading required package: splines
Loading required package: RcmdrMisc
Loading required package: car
Loading required package: carData
Loading required package: sandwich
Loading required package: effects
Registered S3 methods overwritten by 'lme4':
method from
cooks.distance.influence.merMod car
influence.merMod car
dfbeta.influence.merMod car
dfbetas.influence.merMod car
lattice theme set by effectsTheme()
See ?effectsTheme for details.
trying URL 'https://cloud.r-project.org/src/contrib/rgl_0.100.54.tar.gz'
Content type 'application/x-gzip' length 2952743 bytes (2.8 MB)
==================================================
downloaded 2.8 MB
- installing source package ‘rgl’ ...
** package ‘rgl’ successfully unpacked and MD5 sums checked
** using staged installation
checking for gcc... gcc -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for gcc... (cached) gcc -std=gnu99
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc -std=gnu99 accepts -g... (cached) yes
checking for gcc -std=gnu99 option to accept ISO C89... (cached) none needed
checking for libpng-config... yes
configure: using libpng-config
configure: using libpng dynamic linkage
checking for X... no
configure: error: X11 not found but required, configure aborted.
ERROR: configuration failed for package ‘rgl’ - removing ‘/home/prashanta/R/x86_64-pc-linux-gnu-library/3.6/rgl’
The downloaded source packages are in
‘/tmp/RtmpU4kbQM/downloaded_packages’
RcmdrMsg: [1] NOTE: R Commander Version 2.6-2: Tue May 12 18:00:59 2020
Rcmdr Version 2.6-2
Attaching package: 'Rcmdr'
The following object is masked from 'package:base':
errorCondition