I am trying to use the gridExtra module to combine two plot. But it is showing me the below error.
Error in loadNamespace(name) : there is no package called ‘gridExtra’
How can I solve this error?
In your r studio, the gridExtra module is not available. You can use the below command to install this module.
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
Installing package into ‘C:/Users/Nadeem Akhter/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/gridExtra_2.3.zip'
Content type 'application/zip' length 1109122 bytes (1.1 MB)
downloaded 1.1 MB
package ‘gridExtra’ successfully unpacked and MD5 sums checke
The downloaded binary packages are in
Hope this will solve your error.
You need to install the library in ...READ MORE
The matrics library is not available in ...READ MORE
You can find some packages pre-installed in ...READ MORE
You can use the following command in ...READ MORE
You need to install the package in ...READ MORE
You can use the install command at ...READ MORE
It may happen that some libraries are ...READ MORE
You can create a pie chart with ...READ MORE
By default, the cowplot module is not ...READ MORE
You need to install this library in ...READ MORE
Already have an account? Sign in.