search for: rdownload

Displaying 2 results from an estimated 2 matches for "rdownload".

Did you mean: download
2006 Jul 16
1
install.packages for local zip files
...s or binary package/bundle archive files (as created by 'R CMD build --binary'). ...... lib: character vector giving the library directories where to install the packages. Recycled as needed. So I have issued a command like this: > install.packages(pkgs="~/Rdownloads/hgug4112a_1.12.0.tar.gz", lib = "~/Rlib", repos=NULL, contriburl=NULL) Warning in download.packages(pkgs, destdir = tmpd, available = available, : no package '~/Rdownloads/hgug4112a_1.12.0.tar.gz' at the repositories As far as I can tell, I've given it the...
2018 Dec 04
3
patch to support custom HTTP headers in download.file() and url()
...l, strlen(open) ? open : "r", headers_flat, winmeth); ((Rurlconn)con->private)->type = type; } } else { diff --git a/src/main/internet.c b/src/main/internet.c index 10dfa2b30a..801d9ed1cd 100644 --- a/src/main/internet.c +++ b/src/main/internet.c @@ -90,11 +90,11 @@ SEXP Rdownload(SEXP args) } Rconnection attribute_hidden -R_newurl(const char *description, const char * const mode, int type) +R_newurl(const char *description, const char * const mode, SEXP headers, int type) { if(!initialized) internet_Init(); if(initialized > 0) - return (*ptr->newurl)(des...