Learn R Programming

rHpcc (version 1.0)

parseResults: Parses the XML returned from eclDirectCall().

Description

Parses the XML returned from eclDirectCall() and allows you to download the result in either CSV or XML format

Usage

parseResults(xmlResult, downloadPath, format)

Arguments

xmlResult
XML Output returned from eclDirectCall()
downloadPath
The path where you want to file. Do not specify the file name.
format
The format of the file to download. The file can be downloaded only in CSV and XML format. If no format is specified the file is downloaded in CSV format.

Examples

Run this code
  ## Not run: 
#     xmlContent <- eclDirectCall(hostName = "127.0.0.1", eclCode=ecl)
#     data <- parseResults(xmlContent, downloadPath="C:/Temp", format="xml")
#   ## End(Not run)

Run the code above in your browser using DataLab