run.colony: A function to run Colony2 from within the R environment.

Description Usage Arguments Value Author(s) References See Also

Description

This function used system2 to call Colony2 from within R.

Usage

1
run.colony(colonyexecpath = "prompt", datfilepath = "prompt", wait = TRUE)

Arguments

colonyexecpath

The path to the Colony2 executable. If none is given, and the function defaults to \"prompt\", then you will be prompted to click on the file.

datfilepath

The path to the DAT file that you wish to run. If none is given, and the function defaults to \"prompt\", then you will be prompted to click on the file.

wait

Should R wait for Colony2 to be run by the system or not? TRUE/FALSE

Value

return value (0 if success)

Author(s)

Timothee Flutre

Owen R. Jones

References

Wang, J. (2004) Sibship reconstruction from genetic data with typing errors. Genetics 166: 1963-1979.

See Also

monitor.colony


jonesor/rcolony documentation built on May 8, 2019, 11:18 p.m.