Displaying 3 results from an estimated 3 matches for "in_r_httpopen".
Did you mean:
in_r_httpopen2
2018 Dec 04
3
patch to support custom HTTP headers in download.file() and url()
...PREC_FN, 0}},
};
diff --git a/src/modules/internet/internet.c b/src/modules/internet/internet.c
index 0a4305348f..8f6c75931c 100644
--- a/src/modules/internet/internet.c
+++ b/src/modules/internet/internet.c
@@ -32,7 +32,7 @@
#include <errno.h>
#include <R_ext/Print.h>
-static void *in_R_HTTPOpen(const char *url, const char *headers,
const int cacheOK);
+static void *in_R_HTTPOpen(const char *url, const char *agent, const
char *headers, const int cacheOK);
static int in_R_HTTPRead(void *ctx, char *dest, int len);
static void in_R_HTTPClose(void *ctx);
@@ -44,17 +44,17 @@ SEXP in_do_cu...
2003 Sep 08
1
Stifling REprintf() output
...stent with the rest of the package and the 'cannot
open' line is confusing some users.
The problem is that I can not figure out how to turn it off, the comment
in printutils says that REprintf writes to stderr and is not redirected by
sink(). The call in question appears to be coming from in_R_HTTPOpen, in
that if the HTTP return code is != 200 the REprintf is called.
Is there any way within R to keep this output from appearing?
Thanks
-J
2006 May 09
1
Seg fault when installing package from bad repository
..."B", size=1000,
format=0x3 <Address 0x3 out of bounds>, ap=0x34 <Address 0x34 out of
bounds>) at ../../../../R-2.3.0/src/main/errors.c:211
#4 0x01092e68 in Rf_warning (format=0x3 <Address 0x3 out of bounds>)
at ../../../../R-2.3.0/src/main/errors.c:223
#5 0x023c39a8 in in_R_HTTPOpen (url=0x212c930
"/Library/Frameworks/R.framework/Resources/share/locale/en/LC_MESSAGES/R.mo",
cacheOK=404) at
../../../../../R-2.3.0/src/modules/internet/internet.c:490
#6 0x023c3f00 in in_do_download (call=0x5f4d4553, op=0xbfff2a03,
args=0x195d300, env=0x34) at
../../../../../R-2.3.0/src...