search for: urlr

Displaying 5 results from an estimated 5 matches for "urlr".

Did you mean: url
2018 Jun 04
2
encoding argument of source() in 3.5.0
On R 3.5.0 (Mac) 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(\"N...
2018 Jun 05
0
encoding argument of source() in 3.5.0
...ELSON, Michael wrote: > > On R 3.5.0 (Mac) > > 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()" "{"...
2018 Jun 04
3
encoding argument of source() in 3.5.0
...t; [1] "source.test2 <- function() {" " print(\"Non-ascii: ????\")" > [3] "}" > -pd and that's not even readLines(), but rather how exactly the connection is defined [even in your example above] > urlR <- "http://home.versanet.de/~s-berman/source2.R" > readLines(urlR, encoding="UTF-8") [1] "source.test2 <- function() {" " print(\"Non-ascii: ????\")" [3] "}" > f <- file(urlR, encodi...
2018 Jun 04
0
encoding argument of source() in 3.5.0
...ion() {" " print(\"Non-ascii: ????\")" > > [3] "}" > > > -pd > > and that's not even readLines(), but rather how exactly the > connection is defined [even in your example above] > > > urlR <- "http://home.versanet.de/~s-berman/source2.R" > > readLines(urlR, encoding="UTF-8") > [1] "source.test2 <- function() {" " print(\"Non-ascii: ????\")" > [3] "}" > > f &lt...
2018 Jun 02
2
encoding argument of source() in 3.5.0
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 GNU/Linux). With R 3.4.{2,3,4} there is no such problem: using `encoding' the files are