Installing a package from a zip file

Hi,

I have a laptop that is not connected to the internet
I am trying to install packages [1], [2] from a zip file. My steps are as follows

  1. Go to the website of each of the packages and download the package as a zip file.

  2. Taking the embed file as an example, it saves as embed-main.zip

  3. Open R Studio and go to the packages pane. Select install from Package Archive File. Navigate to the embed-main.zip and click install.

I then receive the following warning (?)

Installing package into ‘C:/Users/foo/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)

Then i get the > cursor again. The library didn't install and i don't have any other messages. Does anyone know why this might be?

Thank you for your time

Hi All,

I have found a working answer here

devtools::install_local(package.zip)

Thanks

This topic was automatically closed 7 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.