Good morning everyone,
I have a problem transforming a R file to a HTML file. The error i was given was the following:
Error while opening file
impossible to find the object ggplotly
I really don'understand how this is possible, since I have already installed and used ggplotly in my report.
I'm relatively new to R ( and coding in general), so I'm extremely confused.
I don't understand what you mean, ggplotly() is a function from the plotly package, you need to load the plotly package in order to use it.
To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:
I solved the issue: instead of using library(plotly) I wrote library(ggplotly), thats why it didn't find it. I must have confused the function name with the package name. Quite embarassing. Thank you so much for helping me.
Have a nice day!