In library package lib loc lib loc character only TRUE logical return TRUE there is no package called gridExtra

0 votes

Hi Guys,

I am trying to use the gridExtra module to combine two plot. But it is showing me the below error.

gridExtra::grid.arrange(iris1,iris2)
Error in loadNamespace(name) : there is no package called ‘gridExtra’

How can I solve this error?

Jun 10, 2020 in Data Analytics by akhtar
• 38,230 points
4,260 views

1 answer to this question.

0 votes

Hi@akhtar,

In your r studio, the gridExtra module is not available. You can use the below command to install this module.

> install.packages('gridExtra')
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
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
C:\Users\Nadeem Akhter\AppData\Local\Temp\Rtmps3pgcC\downloaded_packages

Hope this will solve your error.

answered Jun 10, 2020 by MD
• 95,440 points

Related Questions In Data Analytics

0 votes
1 answer

Error in library(randomForest) : there is no package called ‘randomForest’

Hi@akhtar, You need to install the library in ...READ MORE

answered Oct 6, 2020 in Data Analytics by MD
• 95,440 points
9,821 views
0 votes
1 answer

Error in library(Metrics) : there is no package called ‘Metrics’

Hi@akhtar, The matrics library is not available in ...READ MORE

answered Oct 6, 2020 in Data Analytics by MD
• 95,440 points
3,656 views
0 votes
1 answer

Error in library("XML") : there is no package called ‘XML’

Hi@akhtar, You can find some packages pre-installed in ...READ MORE

answered Oct 29, 2020 in Data Analytics by MD
• 95,440 points
2,577 views
0 votes
1 answer

Error in library("xlsx") : there is no package called ‘xlsx’.

Hi@akhtar, You can use the following command in ...READ MORE

answered Oct 29, 2020 in Data Analytics by MD
• 95,440 points
2,300 views
0 votes
1 answer

Error in library(data.table) : there is no package called ‘data.table’

Hi@akhtar, You need to install the package in ...READ MORE

answered Oct 6, 2020 in Data Analytics by MD
• 95,440 points
2,516 views
0 votes
1 answer

Error in library(plotrix) : there is no package called ‘plotrix’

Hi@akhtar, You can use the install command at ...READ MORE

answered Oct 28, 2020 in Data Analytics by MD
• 95,440 points
4,031 views
0 votes
1 answer

Error in library(RColorBrewer) : there is no package called ‘RColorBrewer’

Hi@akhtar, It may happen that some libraries are ...READ MORE

answered Oct 28, 2020 in Data Analytics by MD
• 95,440 points
2,009 views
0 votes
1 answer

Error in library(wesanderson) : there is no package called ‘wesanderson’

Hi@akhtar, You can create a pie chart with ...READ MORE

answered Oct 28, 2020 in Data Analytics by MD
• 95,440 points
684 views
+3 votes
1 answer

Error in library(cowplot) : there is no package called ‘cowplot’

Hi@akhtar, By default, the cowplot module is not ...READ MORE

answered Jun 10, 2020 in Data Analytics by MD
• 95,440 points
2,770 views
0 votes
1 answer

Error in library(plyr) : there is no package called ‘plyr’

Hi@akhtar, You need to install this library in ...READ MORE

answered Sep 7, 2020 in Data Analytics by MD
• 95,440 points
6,571 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP