Farrel
Farrel

Reputation: 10444

How do I install RGoogleDocs from GitHub?

I see that there is a new version of RGoogleDocs in GitHub. It is Version 0.6-0. https://github.com/duncantl/RGoogleDocs.

How do I install it in the 64 bit version of R? In the past, Duncan Temple Lang provided pointed me to a zip file that contained the Windows binary file. I downloaded it and executed this command to get it installed

install.packages("C:/Users/Farrel/Dropbox/RGoogleDocs_0.5-0.zip",repos=NULL)

Upvotes: 4

Views: 598

Answers (3)

Ramnath
Ramnath

Reputation: 55695

If you have Rtools installed, you can use the devtools package and its install_github function to directly install packages from github.

Upvotes: 7

GSee
GSee

Reputation: 49820

For this particular package, you can click the button that says ZIP that is to the left of the git URL to download the zip file. Then, unzip it into your working directory. Or, you could use TortoiseGit to clone the code into a local directory.

Then, you can use install.packages with type='source'.

install.packages("duncantl-RGoogleDocs-0e3879c/", type='source', repos=NULL)

But, in general, it really would be a good idea to learn to build packages.

Upvotes: 4

Dirk is no longer here
Dirk is no longer here

Reputation: 368261

See the R on Windows FAQ about installing packages from source.

Upvotes: 2

Related Questions