Python vs. R

It is very difficult to say which one I like more. Jupter vs. RMarkdown RMarkDown: quick edit for beautiful report, compile is slow Jupyter: console in web, flexible, but sometimes…

0 Comments

Install Jupyter Kernel

1. How to install ipython 3 kernel to jupyter? + install Anaconda 3 + copy "Jupyter notebook" symbol to desktop + right click -> "property" -> "start in" change to…

0 Comments

matrix calculation in R and Python

Useful packages: R: library(matrixcalc) Python: numpy Matrix generation: R: matrix(1:6, 2, 3) Python: np.arange(1,7).reshape(2,3) construct a diagnal matrix: R: advanced-R diag(vector, nrow, ncol) #construct a matrix which diagonal elements is equal…

0 Comments