Cannot install forecast package on Revolution 7.1

When I attempt to install a package - forecast, I get the following error

trying URL '
Content type 'application/zip' length 1194249 bytes (1.1 Mb) 
opened URL 
downloaded 1.1 Mb

package ‘forecast’ successfully unpacked and MD5 sums checked 
Warning: cannot remove prior installation of package ‘forecast’

Error in library(forecast) : there is no package called ‘forecast’

There are instances of this happening to not only the forecast package.  It appears to happen when the previous version does not get removed because to file is in use or the archive is corrupt.  The correction is not difficult.

In RRE, type 

.libPaths() and press enter

This should give you the directory(ies) the libraries are stored. Navigate to the location and delete the forecast folder and it's contents.

You will need to close RRE before you can delete the folder.

Then restart RRE, and type 
install.packages('forecast') and press enter

Once complete, type 

This will re install the latest version of the package or clean up the archive if corrupt.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

ID článku: 3104094 - Poslední kontrola: 10/29/2015 05:42:00 - Revize: 1.0

Revolution Analytics

  • KB3104094
Váš názor