There are occasions when you have a long running process and don’t want the job to end as soon as you logout. Enter the screen command.
To start, run
Run your job, type your commands, run your perl script, etc. Then detach your session with
You can then logout of the system, but your program is still running. To reattach assuming there’s only one screen session
To list all screen sessions
The command key for screen is Ctrl-a, followed by your command. To get the help for instance:
To set the margins on a plot (especially helpful when using layout()), you can set par margins like this:
This is the default and indicates the number of lines of text for the bottom, left, top and right margins respecitvely.
For multipanel plots, I have had success using
You can see the margin settings by using
A similar function par(“mai”) specifies the number of lines in inches.