R language

Install pacakges

in R environment

install.pacakges("ggplot2")
  • In case of can’t install directly, install it from local path
cd /path/packages
R CMD INSTALL ggplot2

Missing packages

pacman -S gcc-fortran

read data

table.read("file",rw)

new data

df = data.frame(x,y)
data.edit(df)

logging

sink("output.txt")
pdf("output.pdf")