File: sys.s

package info (click to toggle)
hmisc 5.2-4-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,044 kB
  • sloc: asm: 28,905; f90: 590; ansic: 415; xml: 160; fortran: 75; makefile: 2
file content (6 lines) | stat: -rw-r--r-- 216 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
## Improvements by Sebastian Weber <Sebastian.Weber@aventis.com> 26Aug03

sys <- function(command, text=NULL, output=TRUE) {
  cmd <- if(length(text)) paste(command, text) else command
  system(cmd, intern=output)
}