Music Information Retrieval (MIR) is a recent study field, with a wide range of applications yet to be explored. It combines computational tools with music theory to amplify the utility of music data of many different formats. Each data format carries dissimilar levels of information, represented as sheet music, audio files, chords, lyrics, and others. On the Music Data Analysis in `R` short course, we presented some possible applications of MIR using `R`, including: i) accessing data from APIs; ii) sentiment analysis in music lyrics; iii) harmony analysis; iv) visualization, and v) music popularity prediction with machine learning models. All applications made direct use of `R`, including especially the `tidyverse`, `vagalumeR`, `RSpotify` and `chorrrds` package.