Wednesday, April 15, 2015

Friday, April 10, 2015

R : factor

http://www.inside-r.org/r-doc/base/factor

The function factor is used to encode a vector as a factor (the terms ‘category’ and ‘enumerated type’ are also used for factors). If argument ordered is TRUE, the factor levels are assumed to be ordered. For compatibility with S there is also a function ordered.

Thursday, April 9, 2015

Docker : Difference between save and export

http://tuhrig.de/difference-between-save-and-export-in-docker/

So what’s the difference between both? Well, as we saw the exported version is slightly smaller. That is because it is flattened, which means it lost its history and meta-data.

As you can see there, the exported-imported image has lost all of its history whereas the saved-loaded image still have its history and layers. This means that you cannot do any rollback to a previous layer if you export-import it while you can still do this if you save-load the whole (complete) image (you can go back to a previous layer by using docker tag <LAYER ID> <IMAGE NAME>).

Tuesday, April 7, 2015

install R

yum install libXmu libicu libtcl tcl tk texlive-dvips texlive-latex
rpm -ivh R-core-3.1.3-1.el6.x86_64.rpm
rpm -ivh rstudio-0.98.1103-x86_64.rpm

Friday, April 3, 2015

Asymmetric Logical Unit Access (ALUA)

https://kb.netapp.com/support/index?page=content&id=3012899

What is Asymmetric Logical Unit Access?
Asymmetric Logical Unit Access (ALUA), also known as Target Port Groups Support (TPGS), is a set of SCSI concepts and commands that define path prioritization for SCSI devices. ALUA is a formalized way to describe SCSI port status, and access characteristics. In short, it describes paths as fast, slow, or down and the transitions between these states in a standards-compliant manner. This standard is designed to define the protocol on how multipath IO should be managed between hosts and storage devices. It will also reduce vendor-specific coding and complexity.