if (FALSE) {
## when your code is extremely time-consuming,
# you may need this function;
# e.g. you wish to go to sleep, while keeping R running long computation...
os.shutdown()
## the next day you wake up, "thank you, R" :)
}
Run the code above in your browser using DataLab