Menu

Command_line_options

Skye Bender-deMoll

Command line arguments for SoNIA

The following arguments can be used when launching SoNIA to pass in data and control parameters. They make it possible to do batch operations using a script, or to launch sonia from within another program (see info on the [RSoNIA_package_for_R])

For example, from the directory containing sonia.jar you could type

$<your prompt here> java -jar sonia.jar seed:1234 file:"C:/mydocs/myFavoriteNetwork.son"

which would initialize the random number seed to 1234 and load the file.

  • seed: an integer random number seed
  • file: path and filename of network data to be loaded
  • network: network data included directly in the command line (export from R)
  • settings: read layout slice settings in the form of a properties object
  • [Batchsettings]: very long string or name of a file containing batch settings, blocks of text written out by the various [Properties_objects].
  • runbatch: if this is included and batchsettings contains all the necessary properties, it will try to run the entire network generation process with no gui and export a movie at the end.
  • verbose: if this tag is included, when running with no gui the status updates will be printed to the command line.

Related

Wiki: Batchsettings
Wiki: Using_Sonia

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.