Package Shiny not loading


I am trying to install package shiny in RStudio (recently installed - version up-to-date) using command "install.packages ("shiny")" however I am getting this error:

  • installing source package 'shiny' ...
    ** package 'shiny' successfully unpacked and MD5 sums checked
    Warning in file(file, if (append) "a" else "w") :
    cannot open file 'C:/Users/Pavlmna/Documents/R/win-library/3.5/shiny/DESCRIPTION': No such file or directory
    Error in file(file, if (append) "a" else "w") :
    cannot open the connection
    ERROR: installing package DESCRIPTION failed for package 'shiny'

Can anyone help me?
Thanks a lot in advance!

Hi Pavlina, welcome!

It seems like you are having permissions issues, are you running RStudio as administrator?

Hi, I was not however now I tried and did not help. Same message occured.

Does the same happen if you install the library system wide instead of per user?

# libpath might be a little different in your system since I don't know exactly which version of R are you using
install.packages("shiny", lib = "C:/Program Files/R/R-3.5.0/library")

Sorry for delay, was not at computer for some time. This helped - thanks a lot!!! Apparently there was a problem with diacritics in file path. It worked with other packages allright but shiny does not seam to like diacritics.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.