R programming exlorations