Posts Tagged ‘stop’

Exit command in R

Posted: 26th April 2015 by Tim in R
Tags: , , , , , ,

R is quite different from most other programming languages. One common feature of other languages is the exit routine, or something with a similar name. In R, that function is stop, and takes an error message string as an argument. For example: stop(“I don’t work on weekends”) will print: Error: I don’t work on weekends […]

Pausing processes in ubuntu

Posted: 6th June 2010 by Tim in Ubuntu
Tags: , , , , , ,

There are times when you want to pause a process and continue it later. For example, when a process is using all the computer’s resources and you need to access something or execute something else. This can all be done via the kill -STOP and kill -CONT commands. First you need to grap the pid […]