Learning Social Media Analytics with R