<commit_before>#!/bin/bash


# enable debugging & set strict error trap
set -x -e


# change Home directory
export HOME=/mnt/home


# source script specifying environment variables
source ~/.EnvVars


# install advanced visualization tools
sudo pip install --upgrade Bokeh
echo `df -h / | sed -n 2p` Bokeh >> $MAIN_DISK_USAGE_LOG

sudo pip install --upgrade GGPlot
echo `df -h / | sed -n 2p` GGplot >> $MAIN_DISK_USAGE_LOG
# sudo pip install --upgrade GNUPlot-Py --allow-external GNUPlot-Py --allow-unverified GNUPlot-Py   SKIPPED: cannot find

# brew install Expat
# brew install MakeDepend
# brew tap Homebrew/Science
# brew install --python --qt vtk5
# sudo pip install --upgrade MayaVi

sudo pip install --upgrade PyGAL
echo `df -h / | sed -n 2p` PyGAL >> $MAIN_DISK_USAGE_LOG

sudo pip install --upgrade Plotly
echo `df -h / | sed -n 2p` Plotly >> $MAIN_DISK_USAGE_LOG

sudo pip install --upgrade Cufflinks
echo `df -h / | sed -n 2p` Cufflinks >> $MAIN_DISK_USAGE_LOG

sudo pip install --upgrade Seaborn
echo `df -h / | sed -n 2p` Seaborn >> $MAIN_DISK_USAGE_LOG<commit_msg>add installation of R GGplot2<commit_after>#!/bin/bash


# enable debugging & set strict error trap
set -x -e


# change Home directory
export HOME=/mnt/home


# source script specifying environment variables
source ~/.EnvVars


# install advanced visualization tools
sudo pip install --upgrade Bokeh
echo `df -h / | sed -n 2p` Bokeh >> $MAIN_DISK_USAGE_LOG

sudo pip install --upgrade GGPlot
echo `df -h / | sed -n 2p` GGplot >> $MAIN_DISK_USAGE_LOG
# sudo pip install --upgrade GNUPlot-Py --allow-external GNUPlot-Py --allow-unverified GNUPlot-Py   SKIPPED: cannot find

# brew install Expat
# brew install MakeDepend
# brew tap Homebrew/Science
# brew install --python --qt vtk5
# sudo pip install --upgrade MayaVi

sudo pip install --upgrade PyGAL
echo `df -h / | sed -n 2p` PyGAL >> $MAIN_DISK_USAGE_LOG

sudo pip install --upgrade Plotly
echo `df -h / | sed -n 2p` Plotly >> $MAIN_DISK_USAGE_LOG

sudo pip install --upgrade Cufflinks
echo `df -h / | sed -n 2p` Cufflinks >> $MAIN_DISK_USAGE_LOG

sudo pip install --upgrade Seaborn
echo `df -h / | sed -n 2p` Seaborn >> $MAIN_DISK_USAGE_LOG


# install R GGplot2
wget https://raw.githubusercontent.com/ChicagoBoothAnalytics/Software/master/R/Install-Visualization-Packages.R
sudo Rscript Install-Visualization-Packages.R
sudo rm Install-Visualization-Packages.R
{'fraction_non_alphanumeric': 0.10104384133611691, 'fraction_numerical': 0.006680584551148226, 'mean_word_length': 3.725838264299803, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2493513', 'n_tokens_mistral': 895, 'n_tokens_neox': 799, 'n_words': 286}