some notes for R language