Error package or namespace load failed for ggplot2 - R

0 votes
Hi all, please help me with this error.

I'm getting the below error when loading plotly package.

> library(plotly)

Loading required package: ggplot2 Error: package or namespace load failed for ‘ggplot2’ in get(method, envir = home): lazy-load database 'C:/Users/Cherukuri_Sindhu/Documents/R/win-library/3.6/ggplot2/R/ggplot2.rdb' is corrupt Error: package ‘ggplot2’ could not be loaded In addition: Warning messages: 1: In .registerS3method(fin[i, 1], fin[i, 2], fin[i, 3], fin[i, 4], : restarting interrupted promise evaluation 2: In get(method, envir = home) : restarting interrupted promise evaluation 3: In get(method, envir = home) : internal error -3 in R_decompress1

Need help.
Aug 29, 2019 in Data Analytics by radha
3,415 views

1 answer to this question.

0 votes
Radha, Try restarting the session. the same happened in my R session.

I'm not sure of the problem, but the restarting session will not throw an error.
answered Aug 30, 2019 by anonymous
• 33,030 points

Related Questions In Data Analytics

0 votes
1 answer

Error: package or namespace load failed for ‘arulesViz’ in R

I installed package KernSmooth and it seemed ...READ MORE

answered Sep 4, 2020 in Data Analytics by Chandrakant
• 140 points
1,051 views
0 votes
1 answer
0 votes
0 answers

Error: package or namespace load failed in R

Hi, I want to use dplyr package ...READ MORE

Jul 8, 2019 in Data Analytics by ramya
1,332 views
0 votes
1 answer

R - Error: Duplicate identifiers for rows

You can try the below code as ...READ MORE

answered Apr 9, 2018 in Data Analytics by kappa3010
• 2,090 points
2,717 views
0 votes
1 answer

How to get interactive plots in R?

The best packages for creating interactive visualizations ...READ MORE

answered Nov 2, 2019 in Data Analytics by anonymous
• 33,030 points
410 views
0 votes
1 answer

How to convert a ggplot to plotly object?

Hi, John, There is a package called ggplotly ...READ MORE

answered Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
1,349 views
0 votes
1 answer

How to plot side-by-side Plots with ggplot2 in R?

By Using gridExtra library we can easily ...READ MORE

answered Apr 16, 2018 in Data Analytics by DeepCoder786
• 1,720 points

edited Jun 9, 2020 by MD 8,496 views
0 votes
1 answer

Aligning title in ggplot2

You can use the theme layer to ...READ MORE

answered Apr 27, 2018 in Data Analytics by Bharani
• 4,660 points

edited Jun 9, 2020 by MD 3,457 views
0 votes
2 answers

R Package installed or not

To see all installed packages in system ...READ MORE

answered Jun 27, 2019 in Data Analytics by anonymous
• 33,030 points
663 views
0 votes
1 answer
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