Conny Gu

Conny Gu

hide messages in RMD

If you write Rmd file, the messages are always very disturbing. There are two methods to avoid it: 1. Global method {r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE, warning = FALSE, message = FALSE) 2. Local method suppressMessages(library(dplyr))

change R version

link is from default R adress: $which R /usr/bin/R it can be Force R Studio use the specific version: export RSTUDIO_WHICH_R=/usr/local/bin/R

The easiest way to update nodejs and npm

Linux: sudo npm cache clean -f sudo npm install -g n sudo n stable Windows: Methode 1: 1. Dowload and install the latest version of node.js 2. go the directory: C:\Program Files\nodejs npm install -g npm@latest Methode 2: 1. install…

Highlights of the new RStudio releases

The new release of R Studio got many improvement. As I read them, I was very so excited about the new functions. Here are highlights for me. Data can be filtered, searched, and sorted Execute R code from the Source…

My Git learning notes

Git Basic Git Help $ git help $ git help config Setting up git $ git config –global user.name “xxx” $ git config –global user.email “xxx@xxx.com” $ git config –global color.ui true Starting a Repo $ git init Work flow:…

sublime text 2 build configuration

Sublime is a great editor, it can deal with nearly all programming languages and expecially fit for web developer. I tried the sublime for Python. For beginner, you should do the following settings: Install the package control usage: ctrl+shift+p  ->…