Learn R Programming

pbatR (version 0.6)

pbat.setNumProcesses: Sets number of processes PBAT can spawn

Description

Gives the ability to get/set the number of processes of pbat to spawn. This is useful for those who have systems with multiple processors. This value is retained within the realms of a particular user.

Usage

pbat.setNumProcesses(n)

pbat.getNumProcesses()

Arguments

n
Number of processes to spawn. Set to the number of processors you have in your system (-1 if you want to do something else while it works) to speed up computation time.

Value

  • pbat.getNumProcesses returns the current number of processes that it has been set to spawn.

References

http://www.biostat.harvard.edu/~clange/default.htm http://www.people.fas.harvard.edu/~tjhoffm/pbatR.html