r - Install local package from zip archive -


how can install package zip file in r? i'm using tools > install packages selecting install 'package archive file (.zip, .tar.gz)' option. error message occurs. have devtools installed, console window looks this:

library("devtools", lib.loc="~/r/win-library/3.2") install.packages("c:/users/noodl/downloads/rpux/rpux_0.5.1/rpud_0.5.1.zip", repos = null) installing package ‘c:/users/noodl/documents/r/win-library/3.2’ (as ‘lib’ unspecified) 

error in install.packages : type == "both" cannot used 'repos = null'

i'm using r version 3.2

this common question ... common, in fact, didn't find question answered in answer vice comment. recent found @dirkeddelbuettel's comment here: add type="binary" command.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -