書きかけ # dmd curl -fsS https://dlang.org/install.sh | bash -s dmd メッセージどおりにパスの設定

  • Rシステム, R.Studio(R開発環境)
    cd /tmp
    sudo apt -yV install libjpeg62
    sudo apt -yV install r-base
    #
    echo 'options(repos="http://cran.rstudio.com"); update.packages(checkBuilt=TRUE, ask=FALSE)' | sudo R --vanilla 
    sudo rm /tmp/a.$$.r
    echo 'source("http://bioconductor.org/biocLite.R")' > /tmp/a.$$.r 
    echo 'biocLite("EBImage") ' >> /tmp/a.$$.r 
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'install.packages("dplyr", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html"))' | sudo R --vanilla 
    echo 'install.packages("plyr", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html"))' | sudo R --vanilla 
    echo 'install.packages("dplyr", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html"))' | sudo R --vanilla 
    echo 'install.packages("reshape2", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html"))' | sudo R --vanilla 
    echo 'install.packages("ggplot2", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html"))' | sudo R --vanilla 
    echo 'install.packages("knitr", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html"))' | sudo R --vanilla 
    echo 'install.packages("sp", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html"))' | sudo R --vanilla 
    echo 'install.packages("raster", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html"))' | sudo R --vanilla 
    sudo apt -yV install gdal-bin
    echo 'install.packages("rgdal", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html"))' | sudo R --vanilla 
    #
    sudo apt -yV install r-recommended
    sudo apt -yV install rstudio
    

  • Java 学習環境 Greenfoot
    cd /tmp
    wget http://www.greenfoot.org/download/files/Greenfoot-linux-310.deb
    sudo dpkg -i Greenfoot-linux-310.deb
    

  • GNU Octave 及び関連パッケージ
    sudo apt -yV install octave octave-*
    

  • Node JS, npm, android-sdk
    sudo apt -yV install nodejs
    sudo apt -yV install npm
    sudo npm install -g n
    sudo apt -yV install android-sdk
    

    Rのパッケージを追加

    cd /tmp
    
    sudo apt -yV install libxml2-dev libfftw3-dev libfreetype6-dev
    
    echo 'options(repos="http://cran.rstudio.com"); update.packages(checkBuilt=TRUE, ask=FALSE)' | sudo R --vanilla 
    
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    cat /tmp/a.$$.r | sudo R --vanilla 
    
    
    # EBImage
    sudo rm /tmp/a.$$.r
    echo 'source("http://bioconductor.org/biocLite.R")' > /tmp/a.$$.r 
    echo 'biocLite("EBImage") ' >> /tmp/a.$$.r 
    cat /tmp/a.$$.r | sudo R --vanilla 
    
    # dplyr
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("dplyr", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    
    # qvalue
    sudo rm /tmp/a.$$.r
    echo 'source("http://bioconductor.org/biocLite.R")' > /tmp/a.$$.r 
    echo 'biocLite("qvalue") ' >> /tmp/a.$$.r 
    cat /tmp/a.$$.r | sudo R --vanilla 
    
    # pam
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("pam", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    
    # pca3d
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("pca3d", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    
    # tm 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("tm", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    
    # mmand
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("mmand", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # devtools
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("devtools", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # ctv
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("ctv", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # osmar
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("osmar", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # pi0
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("pi0", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # leaps
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("leaps", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # ifs 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("ifa", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # BMA
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("BMA", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # WriteXLS
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("WriteXLS", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # CHsharp
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("CHsharp", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # brew
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("brew", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # data.table
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("data.table", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # pcaPP
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("pcaPP", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # fastICA
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("fastICA", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # zoo
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("zoo", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    
    # base 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("abind", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("boot", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("car", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("chron", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("cluster", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("codetools", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("colorspace", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("effects", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("foreign", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("lattice", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("lmtest", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("mgcv", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("multcomp", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("mvtnorm", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("relimp", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("rpart", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("sandwich", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("sm", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("spatial", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("strucchange", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("survival", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # additional 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("catspec", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("cluster", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("deldir", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("diagram", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("fields", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("fftw", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("gregmisc", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("igraph", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("nlme", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("nnclust", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("png", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("pixmap", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("pvclust", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("rgl", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("scatterplot3d", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("som", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("Hmisc", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("Rcmdr", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("RcmdrPlugin.KMggplot2", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("RSQLite", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("CCA", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("KernSmooth", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("MASS", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("Matrix", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("Rcmdr", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # more 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("ggplot2", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("xlsxjars", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("xlsx", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("shiny", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("chron", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("sqldf", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("plyr", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("entropy", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("moments", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("spatstat", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("png", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("biOps", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("biOpsGUI", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("maptools", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("caTools", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    # echo 'install.packages("class", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    # cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("evd", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("its", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("mapproj", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("mnormt", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("sm", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("sp", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("stabledist", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("timeSeries", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("tseries", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("bayesm", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("gdata", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("gmodels", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("rpart", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("Zelig", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("forecast", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    
    # again 
    echo 'options(repos="http://cran.rstudio.com")' > /tmp/a.$$.r 
    echo 'update.packages(checkBuilt=TRUE, ask=FALSE, repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    
    #
    sudo rm /tmp/a.$$.r
    echo 'source("http://bioconductor.org/biocLite.R")' > /tmp/a.$$.r 
    echo 'biocLite("osmar") ' >> /tmp/a.$$.r 
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'source("http://bioconductor.org/biocLite.R")' > /tmp/a.$$.r 
    echo 'biocLite("Rgraphviz") ' >> /tmp/a.$$.r 
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'source("http://bioconductor.org/biocLite.R")' > /tmp/a.$$.r 
    echo 'biocLite("hypergraph") ' >> /tmp/a.$$.r 
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'source("http://bioconductor.org/biocLite.R")' > /tmp/a.$$.r 
    echo 'biocLite("RBGL") ' >> /tmp/a.$$.r 
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'source("http://bioconductor.org/biocLite.R")' > /tmp/a.$$.r 
    echo 'biocLite("GraphPart") ' >> /tmp/a.$$.r 
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("XML", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("gridExtra", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("gridSVG", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("png", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("jpeg", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("igraph", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("Rcpp", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("RcppExamples", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("mvoutlier", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("randomForest", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("plyr", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("reshape2", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("forecast", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("stringr", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("lubridate", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("sqldf", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("ggplot2", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("party", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("gdm", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("survival", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("caTools", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("Epi", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("vcd", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("Rz", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("parallel", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("compiler", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("Imap", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("changepoint", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("gstat", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("sp", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("rgeos", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("maptools", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("shapefiles", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("spsurvey", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("sp", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("RColorBrewer", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("forecast", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("psych", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("xts", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("timeSeries", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("gregmisc", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("mclust", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("topmodel", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("insol", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("rJava", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("RWekajars", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("RWeka", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("Snowball", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("lsa", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    #
    sudo rm /tmp/a.$$.r
    echo 'options(repos="http://cran.rstudio.com") ' > /tmp/a.$$.r 
    echo 'install.packages("stringdist", repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # again 
    echo 'options(repos="http://cran.rstudio.com")' > /tmp/a.$$.r 
    echo 'update.packages(checkBuilt=TRUE, ask=FALSE, repos="http://cran.rstudio.com/", clean=TRUE, INSTALL_opts=c("--no-docs", "--no-html")) ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    # again and again
    echo 'options(repos="http://cran.rstudio.com")' > /tmp/a.$$.r 
    echo 'update.packages(checkBuilt=TRUE, ask=FALSE, repos="http://cran.rstudio.com/") ' >> /tmp/a.$$.r
    cat /tmp/a.$$.r | sudo R --vanilla 
    
    以下書きかけ



    One Drive クライアント(書きかけ)

    https://github.com/skilion/onedrive

    sudo apt -yV install libcurl4-openssl-dev
    sudo apt -yV install libsqlite3-dev
    sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
    sudo apt-get update && sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring
    sudo apt-get update && sudo apt-get install dmd-compiler dub
    git clone https://github.com/skilion/onedrive.git
    cd onedrive
    make
    sudo make install
    

    設計

    freecad

    sudo apt -yV install freecad
    

    ゲームフレームワーク,ゲームエンジン

    # panda3d
    pip install --user --pre --user --extra-index-url https://archive.panda3d.org/ panda3d
    

    地図情報

    QGIS

    sudo apt -yV install qgis
    

    データベース

    SQLite3, DB Browser for SQLite (sqlitebrowser), sqliteman

    sudo apt -yV install sqlite3
    sudo apt -yV install sqlitebrowser
    

  • Java JDK 8
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt -yV install oracle-java8-installer
    sudo apt -yV install oracle-java8-set-default
    java -version
    

  • Java 開発環境 Eclipse, pleiades
    sudo apt -yV install eclipse pleiades
    
    1. python 3.6, anaconda3, python 2.7.15

      anaconda3-5.2.0」、「2.7.15」のところは、「pyenv versions」の結果を見て、適切に設定すること(最新版をおすすめ)

      sudo apt -yV install libbz2-dev libsqlite3-dev libssl-dev libreadline-dev libpng-dev libjpeg-dev zlib1g-dev libx11-dev libfreetype6-dev
      cd /tmp
      wget https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh 
      bash Anaconda3-5.2.0-Linux-x86_64.sh
      source ~/.bashrc 
      

    2. anaconda3-5.2.0 の環境に conda-build

      anaconda3-5.2.0」のところは、実際にインストールした版を設定すること

      conda install -y conda-build
      

    3. pip の更新 (Update pip)

      anaconda3-5.2.0」のところは、実際にインストールした版を設定すること

      cd /tmp
      sudo rm -f get-pip.py
      wget https://bootstrap.pypa.io/get-pip.py
      python get-pip.py
      

    4. anaconda3-5.2.0 の環境で setuptools, conda, conda-build の更新

      anaconda3-5.2.0」のところは、実際にインストールした版を設定すること

      conda update -y setuptools
      conda update -y conda
      conda update -y conda-build
      

    5. gcc_linux, gxx_linux のインストール・インストール済みパッケージの更新
      conda install -y gcc_linux-64
      conda install -y gxx_linux-64
      conda update -y --all
      

    6. anaconda3-5.2.0 の環境に Chainer, Tensorflow その他,python パッケージ

      anaconda3-5.2.0」のところは、実際にインストールした版を設定すること

      conda install -y numpy
      conda install -y six
      conda install -y protobuf
      conda install -y pillow
      conda install -y hdf5
      conda install -y h5py
      conda install -y chainer
      #
      conda install -y scikit-learn
      conda install -y scikit-image
      conda install -y matplotlib
      conda install -y seaborn
      conda install -y graphviz
      conda install -y pydot
      conda install -y yaml
      conda install -y flask
      conda install -y django
      conda install -y sympy
      conda install -y pandas
      conda install -y sqlite
      conda install -y scipy
      conda install -y gensim
      conda install -y opencv
      conda install -y pylint
      conda install -y bz2file
      conda install -y PyOpenGL 
      conda install -y ipykernel
      # pip install ... か  github を使うもの
      #  最初の conda ... は、下の pip でいれているものの前提ソフトウエア
      conda install -y termcolor astor wheel setuptools six protobuf werkzeug markdown absl-py grpcio gast future six click cligj click-plugins munch fiona python-dateutil pytz pyproj shapely 
      pip install git+https://github.com/msgpack/msgpack-python
      pip install git+https://github.com/davisking/dlib
      pip install git+https://github.com/ageitgey/face_recognition
      pip install git+https://github.com/jrosebr1/imutils
      pip install --ignore-installed --upgrade tensorflow 
      pip install git+https://github.com/keras-team/keras
      pip install --ignore-installed --upgrade pyglet
      pip install --ignore-installed --upgrade pygame
      pip install --ignore-installed --upgrade cocos2d
      pip install --ignore-installed --upgrade geopandas
      pip install git+https://github.com/DinoTools/python-overpy
      # conda-forge か pip install git+https://github... でインストールするもの
      pip install git+https://github.com/python-visualization/folium
      conda install -y -c conda-forge exifread
      conda install -y -c conda-forge haversine
      conda install -y -c conda-forge utm
      # conda install -y -c conda-forge gdal
      #again
      conda install -y conda
      conda update -y --all
      

    7. python 2.7.15 の環境に いくつかの python パッケージ

      2.7.15」のところは、実際にインストールした版を設定すること

      conda create --name py27 python=2.7 
      cd /tmp
      sudo rm -f get-pip.py
      wget https://bootstrap.pypa.io/get-pip.py
      python get-pip.py
      exit
      

      Graphviz (グラフデータ構造可視化), net-tools, tesseract, jq (JSON整形), jsonlint (JSONチェッカ)

      sudo apt -yV install graphviz graphviz-dev
      sudo apt -yV install net-tools
      sudo apt -yV install jq
      sudo apt -yV install jsonlint
      

      インターネット

      FileZilla (ファイル転送), Wireshark (ネットワーク), AWS Command Line Interface (AWS), RealVNCViewer (リモート接続)

      sudo apt -yV install filezilla
      sudo apt -yV install wireshark
      sudo apt -yV install awscli aws-shell
      # RealVNCViewer
      cd /tmp
      sudo apt -yV install libice6 libsm6
      wget https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-6.17.1113-Linux-x64.deb
      sudo dpkg -i VNC-Viewer-6.17.1113-Linux-x64.deb
      

      エディタ

      Visual Studio Code, Emacs, leafpad, gedit, Nodepad++

      # Visual Studio Code
      # see https://code.visualstudio.com/docs/setup/linux
      cd /tmp
      curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
      sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
      sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
      sudo apt update
      sudo apt -yV install code
      # emacs
      sudo apt -yV install emacs
      # leafpad
      sudo apt -yV install leafpad
      # gedit 
      sudo apt -yV install gedit gedit-plugins gedit-developer-plugins
      
      POV-ray, sudo apt -yV install povray povray-examples sudo apt -yV install inkscape sudo apt -yV install gimp Blender VR # Blender VR cd /tmp sudo rm -f blender-2.74-a8adeeb-linux-glibc211-x86_64.tar.bz2 wget ftp://blendervrdownloads:blendervr@ftp.limsi.fr/compiled/blender-2.74-a8adeeb-linux-glibc211-x86_64.tar.bz2 cd /usr/local sudo rm -rf /usr/local/blender-2.74-a8adeeb-linux-glibc211-x86_64 sudo tar -xpvjof /tmp/blender-2.74-a8adeeb-linux-glibc211-x86_64.tar.bz2 sudo chown -R $USER /usr/local/blender-2.74-a8adeeb-linux-glibc211-x86_64 sudo rm -f /usr/bin/blendervr sudo ln -s /usr/local/blender-2.74-a8adeeb-linux-glibc211-x86_64/blender /usr/bin/blendervr ----- Guava sudo apt -yV install libguava-java