Frustrating R problem

I installed the Plotly library from CRAN in my RStudio. When trying to plot I get the following error:

Storing ‘username’ as the environment variable 'plotly_username’
Error in Sys.setenv(plotly_username = username) :
wrong length for argument

Can someone help?

Hi, maybe you should show the code that is producing the error so other people can better help you.