opendss: Open a DSS file.

View source: R/files.R

opendssR Documentation

Open a DSS file.

Description

Returns an object from the java class 'hec.heclib.dss.HecDss' used for reading and writing to the file located at filename. Don't forget to call myFile$close() or myFile$done() when finished.

file stored in variable dssfile can be closed with dssfile$close() or dssfile$done()

Usage

opendss(filename, warnIfNew = TRUE, stopIfNew = FALSE)

Arguments

filename

Location of DSS file to open.

Value

'hec.heclib.dss.HecDss' object of DSS file at filename

Note

This call failing saying that javaHeclib.dll cannot be found usually indicates that the dss_location configuration variable is not set correctly.

Author(s)

Evan Heisman


eheisman/dssrip documentation built on Feb. 10, 2024, 2:40 p.m.