Description Usage Arguments Value example
This is the core function, and why I want to write this package. wget just download www.foo.com/bar/index.html to ./www.foo.com/bar , and then overwrite that file to a folder while downloading other HTML files in www.foo.com/bar/ . I just want to ask whether you want to cry.
1 |
url |
string. mustn't contain tailing '/', because in this situation there is no need to distinguish www.foo.com/bar/index.html from www.foo.com/bar (www.foo.com/bar/ must be www.foo.com/bar/index.html) |
string. paste0(url, '/')
if it's accessible (there exist a index.html
file)
as_url2file('www.cookbook-r.com/Graphs'); as_url2file('www.cookbook-r.com/Graphs2'); # not exist, for testing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.