If you installed R from the Ubuntu repository with
sudo apt-get install r-base
you most likely got an out of date version. In February 2018, that method still gave me R version 3.2.3 (2015-12-10). To get the latest versions of R and its packages, you need to add CRAN to the apt-get repositories. Do this with the code below. Enter one line at a time. Cut and paste to prevent errors. Continue reading “Update R in Ubuntu”
If you need to know the execution time for a bash script, you can place it inside the script below. The the total run time will be printed to the screen after the script finishes. Continue reading “Get Execution Time for a Shell Script”
Gedit is the basic editor that is included in Ubuntu and other Linux distributions. Its functionality can be extended with plugins as explained in the post below. I installed the plugin initially because it allows one to comment or un-comment selected lines of text. I find this useful when I want to include two configuration blocks in a script, say one for a local installation of a program and another for a remote installation on a cluster. If you do this, just make sure the appropriate blocks are commented and un-commented when you run the script.
Source: Code Comment – gedit Plugin | Delightly Linux