Thanks, the fix is now in R-patched and will be included in 3.5.1.
Tomas
On 06/06/2018 09:54 PM, Stephen Berman wrote:
On Tue, 5 Jun 2018 16:03:54 +0200 Tomas Kalibera
wrote:
Thanks for the report, fixed in R-devel (74848).
Best
Tomas
FTR, I confirm that the problem I reported is now fixed
On Tue, 5 Jun 2018 16:03:54 +0200 Tomas Kalibera
wrote:
> Thanks for the report, fixed in R-devel (74848).
>
> Best
> Tomas
FTR, I confirm that the problem I reported is now fixed under both
GNU/Linux and MS-Windows. Thanks!
Steve Berman
__
R-devel
ot;source.test2" "<-" "function()" "{"
"print(\"Non-ascii:" "äöüß\")"
# [7] "}"
url_libcurl_en <- url(urlR, encoding = "UTF-8", method = 'libcurl')
scan(
"function()" "{"
"print(\"Non-ascii:" "äöüß\")"
# [7] "}"
url_libcurl_en <- url(urlR, encoding = "UTF-8", method = 'libcurl')
scan(url_libcurl_en, "")
# Read 0
On Mon, 4 Jun 2018 10:44:11 +0200 Martin Maechler
wrote:
>> 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://ho
It's not Windows-specific, though. My example was on a Mac...
I hope we can sort this out before 3.5.1.
-pd
> On 4 Jun 2018, at 10:44 , Martin Maechler wrote:
>
> So it seems as if the bug is in the file() [or url()] C code ..
> But then we also have to consider Windows .. where I think most c
> 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")
>> readLi
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)
> close(f)
> f <- file("http://home.versanet.de/~s-berman/source2.R";)
> rea
In R 3.5.0 using the `encoding' argument of source() prevents loading
files from the internet; without the `encoding' argument files can be
loaded from the internet, but if they contain non-ascii characters,
these are not correctly displayed under MS-Windows (but they are
correctly displayed under