putDomain: Function to create a file on hdf server

Description Usage Arguments Value Note Examples

View source: R/rhdf5api.R

Description

Function to create a file on hdf server

Usage

1
putDomain(url, domain)

Arguments

url

character string with http server url

domain

character string with domain name to be created

Value

r http response object

Note

"http://170.223.248.164:7248"

Examples

1
2
3
4
5
if (nchar(Sys.getenv("password"))>0) {
  tstring = sub("\\/", "", tempfile(tmpdir=""))
  dom = putDomain("http://170.223.248.164:7248", paste(tstring, ".hdfgroup.org", sep=""))
  readBin(dom$content, what="character")
  }

shwetagopaul92/rhdf5_api documentation built on May 21, 2019, 10:08 a.m.