The initial attempt at using R for astronomy and astrophysics