findBinaryInDirectory: Find a given binary in given directory.

Description Usage Arguments Value Note

Description

Given a file pattern and an std-out-pattern it will try to find a binary matching the file pattern (which contains std-out-pattern as output if called without arguments) in the path given.

Usage

1
2
findBinaryInDirectory(binaryName = NULL, dir = NULL, patterns = NULL,
  verbose = FALSE)

Arguments

binaryName

Search name for the SVM binary

dir

Search path for the SVM binary.

patterns

Pattern for output of the binary file

verbose

Print messages while searching?

Value

name of the found binary matching the pattern

Note

To make sure that the binary is correct, it will be executed! This happens only if this routine is given some pattterns.

If multiple binaries are found, the last one will be taken. Overwrite by hand, if necessary.


aydindemircioglu/SVMBridge documentation built on May 11, 2019, 4:13 p.m.