pbiecek / Przewodnik

Wersja 4.0 ,,Przewodnika po pakiecie R''
http://pbiecek.github.io/Przewodnik/
31 stars 12 forks source link

funkcja html jest przestarzala, teraz to read_html #29

Closed MarcinKosinski closed 8 years ago

MarcinKosinski commented 8 years ago
> library(rvest)
Loading required package: xml2
> html()
Error in read_xml(x, encoding, ..., as_html = TRUE) : 
  argument "x" is missing, with no default
In addition: Warning message:
'html' is deprecated.
Use 'read_html' instead.
See help("Deprecated") 
pbiecek commented 8 years ago

Dzięki!

MarcinKosinski commented 8 years ago

Co ciekawe, jest to w ogole funkcja z pakietu xml2

> library(rvest)
Ładowanie wymaganego pakietu: xml2
> read_html
function (x, encoding = "", ...)
{
    suppressWarnings(read_xml(x, encoding, ..., as_html = TRUE))
}
<environment: namespace:xml2>

2016-03-01 20:14 GMT+01:00 Przemysław Biecek notifications@github.com:

Dzięki!

— Reply to this email directly or view it on GitHub https://github.com/pbiecek/Przewodnik/pull/29#issuecomment-190858077.