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 in Data Analytics by radha
105 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 by anonymous
• 31,840 points

Related Questions In Data Analytics

0 votes
0 answers

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

Hi, im getting below error while installing ...READ MORE

Jul 8 in Data Analytics by ramya
58 views
0 votes
1 answer
0 votes
0 answers
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,020 points
1,113 views
0 votes
1 answer

How to get interactive plots in R?

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

answered Nov 2 in Data Analytics by anonymous
• 31,840 points
24 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 in Data Analytics by anonymous
• 31,840 points
35 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
1,744 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,550 points
821 views
0 votes
2 answers

R Package installed or not

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

answered Jun 27 in Data Analytics by anonymous
• 31,840 points
23 views
0 votes
1 answer