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'
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.