Unknown94 Unknown94 - 1 year ago 187
R Question

"plotly" package not working in r

I am trying to use 'plotly' package in R to build graphs, but I am getting the following error:

package ‘ggplot2’ 2.1.0 is loaded, but > 2.1.0 is required by ‘plotly’
In addition: Warning message:
package ‘plotly’ was built under R version 3.2.5

I have tried installing 'ggplot2' and 'plotly' again and again, but the error still remains the same.

Any solutions for this? Thanks in advance.

Answer Source

Try updating everything. Use the installr package like so:



Then be sure that you update the packages when prompted to do so.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download