Learn R Programming

epanet2toolkit (version 1.0.8)

ENopen: Open the EPANET Toolkit.

Description

ENopen opens the EPANET Toolkit to analyze a particular water distribution system.

Usage

ENopen(inpFileName, rptFileName, outFileName)

Value

returns NULL invisibly on success or raises an error or warning.

Arguments

inpFileName

A string, the name of the EPANET Input file.

rptFileName

A string, the name of the EPANET Report file.

outFileName

A string, the name of an optional binary Output file.

See Also

ENclose

Examples

Run this code
# path to Net1.inp example file included with this package
inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp")  
ENopen( inp, "Net1.rpt")
ENclose()

Run the code above in your browser using DataLab