WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

install.packages(c("tseries", "smooth", "seasonal", "forecast"))
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Warning in install.packages :
'lib = "C:/Program Files/R/R-4.0.4/library"' is not writable
Warning in install.packages :
не могу создать каталог 'C:\Users????????' по причине 'Invalid argument'
Error in install.packages : unable to create ‘C:/Users/????????/Documents/R/win-library/4.0’

If you will forgive a possibly foolish question, have you installed Rtools40?

Also, you need to run RStudio as administrator to be able to install in the system level package library.

And, you can't use a personal package library located in a path with non-ASCII characters.

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.