cannot install package

install.packages("fpp2", verbose=T)
How do you fix this error?
Warning in install.packages :
package ‘fpp2’ is not available (for R version 3.3.2)

We need more information to help you, can you post the whole error message you are getting?

Installing package into ‘C:/Users/tina/OneDrive/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘fpp2’ is not available (for R version 3.3.2)

That doesn't seem like the whole message, but it shows a couple of problems, R doesn't like cloud synced folders, try changing the lib path to a different location, and you are using a very old R version, try updating to the latest release 3.6.2.

I'm getting the latest:

BTW I selected No when prompted this because I don't have RGui.
It is best to run 'updateR()' from Rgui and not from RStudio. Would you like to abort the installation and run it again from RGui?

I'm getting this error when I run updateR().

Installing the newest version of R,
** please wait for the installer file to be download and executed.**
** Be sure to click 'next' as needed...**
trying URL ''
Content type 'application/x-msdownload' length 86419784 bytes (82.4 MB)
downloaded 82.4 MB

The file was downloaded succesfully into:
** C:\Users\tina\AppData\Local\Temp\RtmpScgENs/R-3.6.2-win.exe **

Running the installer now...

Installation status: TRUE . Removing the file:
** C:\Users\tina\AppData\Local\Temp\RtmpScgENs/R-3.6.2-win.exe **
** (In the future, you may keep the file by setting keep_install_file=TRUE) **

We can not seem to find the location if the new R you have installed.
The rest of the updating process is aborted, please take care to copy
your packages to the new R installation.
[1] TRUE

Well you could update manually.

okay thank you andresrcs

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