Search code examples
rinstall.packagesslidify

Unable to install [R] package slidify on Windows


I downloaded ramnathv-slidify-4260813.zip and copied it into C:/Users//Documents/R/win-library/3.5

On Windows 7 64bit machine

In Rstudio with Admin privileges I ran this:

install.packages("~/R/win-library/3.5/ramnathv-slidify-4260813.zip", repos = NULL, type = "win.binary") Installing package into ‘C:/Users//Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) Warning in install.packages : cannot open compressed file 'ramnathv-slidify-4260813/DESCRIPTION', probable reason 'No such file or directory' Error in install.packages : cannot open the connection

How can I bypass the Error message above and install 'slidify' successfully on my machine?

thank you


Solution

  • Managed to install by first downloading 'slidify' and 'slidifyLibraries' gz files and then running: *install.packages("C:/Users/<...>/Downloads/ramnathv-slidify-v0.3.3-154-g1dd41a3.tar.gz", repos = NULL, type = "source")

    install.packages("C:/Users/<...>/Downloads/slidifyLibraries-master.zip", repos = NULL, type = "win.binary") commands in RStudio

    Alternatively, in RStudio this can be done via GUI: click Packages > Install Packages > in Install Packages window select Install from: package archive ... > then Browse to the location you downloaded your file to > click Install.

    Thanks