Learn R Programming

solarius (version 0.3.0.2)

solar: Call SOLAR program from R

Description

The function calls SOLAR via system function, that invokes the OS command (which is solar) specified by the command argument. SOLAR is required to be installed in the OS.

Usage

solar(cmd, dir, result = TRUE, ignore.stdout = TRUE, ignore.stderr = FALSE, ...)

Arguments

cmd
A vector of characters, that contains the commands to be passed to SOLAR.
dir
A character, path to the directory, where SOLAR-related files (phenotypes, pedigree, markers) were previously created.
result
A logical, intern argument to be passed to system function. The default value is TRUE.
ignore.stdout
A logical, ignore.stdout argument to be passed to system function. The default value is FALSE.
ignore.stderr
A logical, ignore.stderr argument to be passed to system function. The default value is TRUE.
...
additional arguments (which are not used).

Details

This is the core function in the interface between R and SOLAR.