Displaying 16 results from an estimated 16 matches for "httpuserag".
Did you mean:
httpuser
2019 May 06
2
read.table() fails with https in R 3.6 but not in R 3.5
...page with 'curl' produces also a 403
> error plus some HTML text (in German) explaining that I am treated as a
> 'robot' due to the supplied User-Agent (here: curl/7.52.1). One
> suggested solution is to adjust that value which does solve the issue:
>
> > options(HTTPUserAgent='mozilla')
I confirm that works for me, too. Thanks! FWIW, the default value of
HTTPUserAgent in R 3.6 here is "R (3.6.0 x86_64-suse-linux-gnu x86_64
linux-gnu)", and using this (in R 3.6) fails as I reported, while the
default value of HTTPUserAgent in R 3.5 here is "R...
2010 Nov 04
3
postForm() in RCurl and library RHTMLForms
...uot;="01-11-2010",
"ToDate"="02-11-2010",
"IndexType"="S&P CNX NIFTY",
"Indicesdata"="Get Details"),
.opts=list(useragent = getOption("HTTPUserAgent")))
But it doesn't give me desired result
Also I was trying to use the function getHTMLFormDescription from the
package RHTMLForms but there we can't use the argument
.opts=list(useragent = getOption("HTTPUserAgent")) which is needed for this
particular website
Thanks...
2012 Dec 02
1
postForm() in RCurl and library RHTMLForms
...="01-11-2010",
"ToDate"="02-11-2010",
"IndexType"="S&P CNX NIFTY",
"Indicesdata"="Get Details"),
.opts=list(useragent = getOption("HTTPUserAgent")))
But it doesn't give me desired result
Also I was trying to use the function getHTMLFormDescription from the
package RHTMLForms but there we can't use the argument
.opts=list(useragent = getOption("HTTPUserAgent")) which is needed for this
particular website
T...
2019 May 13
0
read.table() fails with https in R 3.6 but not in R 3.5
...#39; produces also a 403
>> error plus some HTML text (in German) explaining that I am treated as a
>> 'robot' due to the supplied User-Agent (here: curl/7.52.1). One
>> suggested solution is to adjust that value which does solve the issue:
>>
>> > options(HTTPUserAgent='mozilla')
> I confirm that works for me, too. Thanks! FWIW, the default value of
> HTTPUserAgent in R 3.6 here is "R (3.6.0 x86_64-suse-linux-gnu x86_64
> linux-gnu)", and using this (in R 3.6) fails as I reported, while the
> default value of HTTPUserAgent in R...
2019 May 04
2
read.table() fails with https in R 3.6 but not in R 3.5
In versions of R prior to 3.6.0 the following invocation succeeds,
returning the data frame shown:
> read.table("https://www.dwds.de/r/stat?corpus=kern&cnt=tokens&date=decade&format=text", header=TRUE)
Dekade Anzahl
1 1900 11467254
2 1910 13023370
3 1920 13434601
4 1930 13296355
5 1940 12121250
6 1950 13191131
7 1960 10587420
8 1970 10944129
9
Control statements with condition with greater than one should give error (not just warning) [PATCH]
2017 Mar 03
2
Control statements with condition with greater than one should give error (not just warning) [PATCH]
...uot;, "demo.ask", "device",
"digits", "dvipscmd", "echo", "editor", "encoding",
"example.ask", "expressions", "help.search.types",
"help.try.all.packages", "htmlhelp", "HTTPUserAgent",
Index: src/main/eval.c
===================================================================
--- src/main/eval.c (revision 72298)
+++ src/main/eval.c (working copy)
@@ -1851,9 +1851,13 @@
Rboolean cond = NA_LOGICAL;
if (length(s) > 1) {
+ int check = asInteger(GetOption1(insta...
2012 Oct 17
0
postForm() in RCurl and library RHTMLForms
..."ToDate"="02-11-2010",
> > "IndexType"="S&P CNX NIFTY",
> > "Indicesdata"="Get Details"),
> > .opts=list(useragent = getOption("HTTPUserAgent")))
> >
> > But it doesn't give me desired result
>
> You need to be more specific about how it fails to give the desired result.
>
> You are in fact posting to the wrong URL. The form is submitted to a
> different
> URL -
> http://www.nseindia.com/marke...
2018 Dec 04
3
patch to support custom HTTP headers in download.file() and url()
...nstant for internal
and wininet.
* For url() the method is only chosen in C, so we pass both a string
vector and the collapsed string vector to C. This is simpler than
collapsing in C.
* It is not possible to specify headers for file(), even though it handles URLs.
* The user agent (coming from the HTTPUserAgent options), will the the
first header, for the methods that need it together with the other
headers.
* We don't check for duplicate headers, just pass to the methods as
the user specified them.
* We test all methods.
* We have run the tests on macOS, Debian Linux and Windows 2016 Server.
You...
2008 Apr 27
2
R_DEFAULT_DEVICE (PR#11294)
Setting enviroment variable R_DEFAULT_DEVICE causes an error.
The patch below fixes this.
I guess the same goes for R_INTERACTIVE_DEVICE.
--- R-2.7.0/src/library/grDevices/R/zzz.R 2008-04-27 13:49:11.000000000 +0200
+++ R-2.7.0/src/library/grDevices/R/zzz.R.new 2008-04-27 13:59:37.000000000 +0200
@@ -22,7 +22,7 @@
extras <- if(.Platform$OS.type == "windows")
Control statements with condition with greater than one should give error (not just warning) [PATCH]
2017 Mar 03
0
Control statements with condition with greater than one should give error (not just warning) [PATCH]
...quot;, "device",
> "digits", "dvipscmd", "echo", "editor", "encoding",
> "example.ask", "expressions", "help.search.types",
> "help.try.all.packages", "htmlhelp", "HTTPUserAgent",
> Index: src/main/eval.c
> ===================================================================
> --- src/main/eval.c (revision 72298)
> +++ src/main/eval.c (working copy)
> @@ -1851,9 +1851,13 @@
> Rboolean cond = NA_LOGICAL;
> if (length(...
2019 May 06
0
read.table() fails with https in R 3.6 but not in R 3.5
....6.0. Trying to read the page with 'curl' produces also a 403
error plus some HTML text (in German) explaining that I am treated as a
'robot' due to the supplied User-Agent (here: curl/7.52.1). One
suggested solution is to adjust that value which does solve the issue:
> options(HTTPUserAgent='mozilla')
>
read.table("https://www.dwds.de/r/stat?corpus=kern&cnt=tokens&date=decade&format=text",
header=TRUE)
Dekade Anzahl
1 1900 11467254
2 1910 13023370
3 1920 13434601
4 1930 13296355
5 1940 12121250
6 1950 13191131
7 1960 105874...
Control statements with condition with greater than one should give error (not just warning) [PATCH]
2017 Mar 03
2
Control statements with condition with greater than one should give error (not just warning) [PATCH]
...vice",
> > "digits", "dvipscmd", "echo", "editor", "encoding",
> > "example.ask", "expressions", "help.search.types",
> > "help.try.all.packages", "htmlhelp", "HTTPUserAgent",
> > Index: src/main/eval.c
> > ===================================================================
> > --- src/main/eval.c (revision 72298)
> > +++ src/main/eval.c (working copy)
> > @@ -1851,9 +1851,13 @@
> > Rboolean cond = NA_...
2007 Nov 26
0
R-2.6.1 is released
...on x86_64-unknown-linux-gnu.
o Deparsing will (if option warnIncomplete is set) warn on
strings longer than the parser limit (8192 bytes).
o url() now uses the UserAgent header in http transactions in
the same way as download.file() (making use of option
"HTTPUserAgent").
BUG FIXES
o iconv() is again able to translate character strings with
embedded nuls (such as those in UCS-2).
o new.packages() and update.packages() failed when called on an
empty library, since old.packages() threw an error.
old.packages() now retu...
2007 Nov 26
0
R-2.6.1 is released
...on x86_64-unknown-linux-gnu.
o Deparsing will (if option warnIncomplete is set) warn on
strings longer than the parser limit (8192 bytes).
o url() now uses the UserAgent header in http transactions in
the same way as download.file() (making use of option
"HTTPUserAgent").
BUG FIXES
o iconv() is again able to translate character strings with
embedded nuls (such as those in UCS-2).
o new.packages() and update.packages() failed when called on an
empty library, since old.packages() threw an error.
old.packages() now retu...
2006 Oct 03
1
R-2.4.0 is released
...quot;) < 0 and not just == 0.
o warnings() is now an accessor function for 'last.warning' (which
is no longer stored in the workspace) with a print() method.
o The internal internet download functions have some new
features from libxml 2.6.26.
o There is an option "HTTPUserAgent" to set the User Agent in R
download requests etc. Patch from S. Falcon.
o PCRE has been updated to version 6.7.
o The C function substituteList now has tail recursion expanded
out, so C stack overflow is less likely. (PR#8141, fix by
Kevin Hendricks)
o The (somewhat soft...
2006 Oct 03
1
R-2.4.0 is released
...quot;) < 0 and not just == 0.
o warnings() is now an accessor function for 'last.warning' (which
is no longer stored in the workspace) with a print() method.
o The internal internet download functions have some new
features from libxml 2.6.26.
o There is an option "HTTPUserAgent" to set the User Agent in R
download requests etc. Patch from S. Falcon.
o PCRE has been updated to version 6.7.
o The C function substituteList now has tail recursion expanded
out, so C stack overflow is less likely. (PR#8141, fix by
Kevin Hendricks)
o The (somewhat soft...