Archives for 

Teaching

Tutorials: Online courses

Some online courses Khan Academy USP – Scientific writing skill course CEDERJ – video courses Veduca – online courses Data Science – Wikibooks Top Schools for Master’s Degrees in Data Science Coursera – Computational Methods for Data Analysis Coursera – Data Analysis and Statistical Inference Coursera – Introduction to Data Science Coursera – Specialization in […]
Continue reading →

Tutorial: R Setup

R Setup R  / (ubuntu 16.04) Automatic mirror setup R-packages Workspace   R – Install on Ubuntu sudo echo “deb http://cran.rstudio.com/bin/linux/ubuntu xenial/” | sudo tee -a /etc/apt/sources.list gpg –keyserver keyserver.ubuntu.com –recv-key E084DAB9 gpg -a –export E084DAB9 | sudo apt-key add – yes | apt-get update yes | apt-get install r-base r-base-dev yes | apt install […]
Continue reading →

Tutorial: Spark

Spark server: rukbat.eic.cefet-rj.br ssh -p 49147 youruser@rukbat.eic.cefet-rj.br Once you log there, you should call sudo to use spark account sudo -u spark -s To run an example, you should go to directory /home/spark/spark/examples Java example spark-submit –class org.apache.spark.examples.SparkPi –master spark://192.168.10.10:7077 –total-executor-cores 12 –executor-memory 2G spark-examples_2.11-2.3.0.jar spark-submit –class org.apache.spark.examples.SparkPi –master spark://192.168.10.10:7077 –executor-memory 4G spark-examples_2.11-2.3.0.jar spark-submit –class org.apache.spark.examples.SparkPi –master spark://192.168.10.10:7077 spark-examples_2.11-2.3.0.jar Python example […]
Continue reading →

Tutorials: Ubuntu Servers

General Server monitoring Apt-get: repository setup Compression tools ssh without a password and (Mac) Setup wap space Probing new hardware Activating services (equivalent to ntsysv)  Habilitando as atualizações automáticas Desabilitando as atualizações automáticas fdisk mount Disk: tune2fs -i 3d /dev/sda1 Unattended script execution: nohup Rscript a.R > result.txt & Proxy, Firewall, and DNS Proxy setup Setup DNS […]
Continue reading →

Tutorials: LaTeX

Local tools and Collaborative Environments TexStudio (MacTeX) Language Tool Installation ShareLaTeX Symbols, Equations, Tables and Algorithms Symbols Equation Generator Tables Examples Examples of algorithms (Pseudocode – Portuguese) LaTeX to Word pandoc -s $file.tex –bibliography=$references.bib -o $file.docx pandoc -s $file.tex –bibliography=$references.bib -o $file.docx -csl=$style.cls Word to LaTeX conversion pandoc -s $docx -o $latex –extract-media=. Comparison between  […]
Continue reading →