1.7. Running the test configuration

To run the test configuration, launch R and type the following:

rm(list=ls())
getwd()

library(osmose)

demo = osmose_demo(path = "./", config="gog")

# run the osmose java core
run_osmose(demo$config_file)

# read the osmose outputs
data = read_osmose(demo$output_dir)

# plot the outputs
png(file="astart/_static/osmose_ref_conf.png")
plot(data)

You should obtain the following figure:

../_images/osmose_ref_conf.png

Fig. 1.1 Outputs of the reference configuration