Description Usage Arguments Value Note Examples
Function to delete a file on hdf server
1 | deleteDomain(url, domain)
|
url |
character string with http server url |
domain |
character string with domain name to be created |
r http response object
1 2 3 4 5 6 | if (nchar(Sys.getenv("password"))>0) {
tstring = sub("\\/", "", tempfile(tmpdir=""))
dom = putDomain("http://170.223.248.164:7248", paste(tstring, ".hdfgroup.org", sep=""))
delDom = deleteDomain("http://170.223.248.164:7248", paste(tstring, ".hdfgroup.org", sep=""))
readBin(delDom$content, what="character")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.