Steps taken so far - I have upgraded my Rstudio version into R-3.5.3, but I sill can't download the package named"hottopics", which is a package of google trend.
devtools::install_github("hrbrmstr/hottopic")
Downloading GitHub repo hrbrmstr/hottopic@master
Error in normalizePath(key$InstallPath, mustWork = FALSE, winslash = "/") :
file name conversion problem -- name too long?
I tried more than dozen times to install the package hottopic, but it still doesn't work and keep showing the same error result even though I unstall the old version and install the latest version of R and Rstudio.
what does it mean by file name conversion problem-name too long?
Did anyone face the same problem before? How can I handle with this?
Thank you!!
This may imply the path that hottopic is attempting to use is too long, or R is otherwise unable to normalize it. Unfortunately, I'm not sure what the true underlying cause could be.
Can you share the output of:
.libPaths()
tempdir()
However, the issue is likely independent of RStudio -- I suspect you may be able to reproduce the issue in e.g. RGui, so it may be something else.
The only thing surprising to me is that your R temporary directory lives within your public documents folder -- by default, the R temporary directory is in a folder like:
C:\Users\<user>\AppData\Local
This is normally controlled by your system's environment variables; e.g. the TEMP or TMP environment variables. It's a shot in the dark, but perhaps worth investigating.