Displaying 3 results from an estimated 3 matches for "url_default".
Did you mean:
uri_default
2018 Jun 04
2
encoding argument of source() in 3.5.0
...The issue appears when using the default (libcurl) method and specifying the encoding
Note that using method='internal' causes a segfault if used in conjunction with encoding. (and works when encoding is not set)
urlR <- "http://home.versanet.de/~s-berman/source2.R"
# works
url_default <- url(urlR)
scan(url_default, "")
# Read 7 items
# [1] "source.test2" "<-" "function()" "{" "print(\"Non-ascii:" "????\")"
# [7] "}"...
2018 Jun 05
0
encoding argument of source() in 3.5.0
...ng the default (libcurl) method and specifying the encoding
>
> Note that using method='internal' causes a segfault if used in conjunction with encoding. (and works when encoding is not set)
>
> urlR <- "http://home.versanet.de/~s-berman/source2.R"
> # works
> url_default <- url(urlR)
> scan(url_default, "")
> # Read 7 items
> # [1] "source.test2" "<-" "function()" "{" "print(\"Non-ascii:" "????\")"
> # [7] "}"
&g...
2018 Jun 04
3
encoding argument of source() in 3.5.0
>>>>> peter dalgaard
>>>>> on Sun, 3 Jun 2018 23:51:24 +0200 writes:
> Looks like this actually comes from readLines(), nothing
> to do with source() as such: In current R-devel (still):
>> f <- file("http://home.versanet.de/~s-berman/source2.R", encoding="UTF-8")
>> readLines(f)
> character(0)