r-simmer / simmer

Discrete-Event Simulation for R
https://r-simmer.org
GNU General Public License v2.0
222 stars 42 forks source link

Output options are too limited #298

Closed bknotwell closed 1 year ago

bknotwell commented 1 year ago

I've started using simmer to generate test data using the log_ primitive. The output from the run is then sanitized with something like the following:

sed ’/^{ Source/d; /^{ Monitor/d; /^simmer/d;s/^.*{/{/’ | jq -s .

as I'm removing the headers of the logs as well as the lines with the final monitoring information. It would be useful to have the following:

If this already exists, it's not clear why I can't find it.

Enchufa2 commented 1 year ago

Could you please give a small example of what you are trying to achieve?

As the name of the manual page for the log_ function suggests, it is intended for debugging, not for collecting data about the simulation. You should be able to get all you need from the monitoring values.

Enchufa2 commented 1 year ago

Closing here for lack of info. Please feel free to reopen if you have an example of what you are trying to do and what the issue is.