Posts

Jupyter, Spyder and pip installed

sudo apt-get install spyder sudo apt-get install jupyter sudo apt install python3-pip

Installing Stata-MP on Ubuntu

  Just a set of terminal commands for installing: #The following lines were provided in the installation guide  sudo -s mkdir /tmp/statafiles cd /tmp/statafiles tar -zxf /home/you/Downloads/Stata18Linux64.tar.gz mkdir /usr/local/stata18 cd /usr/local/stata18 /tmp/statafiles/install   #Activating the license ./stinit   #The following line is just because stata-mp wasn't working on my system  # due to a missing library despite having the license  sudo apt install libncurses5    Why Stata : At this stage it is just an experimentation - Python is not as strong with statistics commands as R, I am looking at a way to not to have to move to R for statistical tasks and just connect to stata from python - I KNOW IT WOULD BE BETTER TO TRY AND FIGURE OUT HOW TO USE R FROM WITHIN PYTHON. However I have been working at a hospital where most people work with and are comfortable with stata - making it easier to share code for reproducibility and quality checks.

Installing and Uninstalling Notepad++ on Ubuntu

Note to self: Look into VIM and notepadqq or other alternates - shouldnt have to use a windows application on ubuntu.   Just a set of terminal commands for installing: #The following two lines just ensure latest packages sudo apt update sudo apt upgrade #The following two lines are to be run only install notepad doesn't work  sudo snap install snapd sudo snap install core #The only line doing whats need - the rest are pre-reqs  sudo snap install notepad-plus-plus    Why notepad ++ : It is a good software for copy pasting information, and can read format various format text - making it easier to read like json and html. So, I am using it as a notes recorder and to read files whose parsers I may not have installed yet.    Just a set of terminal commands for un-installing: sudo snap abort --last auto-refresh  sudo snap disable notepad-plus-plus  sudo snap remove notepad-plus-plus