If you are a complete novice in the field of programming, then you should start learning the basics of R programming, which include variables, functions, operators, control flow statements, types of loops, and data structures. As R programming is popular for statistical analysis, it consists of libraries and packages that help us in data visualization. Therefore, you have to try building graphs and plots for visualizing the data, using R packages. You can go through online blogs, tutorials, and YouTube videos that include the implementation of various techniques, algorithms, and projects. Then, pick up a dataset to apply all the concepts of R programming that you have learned. It will help you understand how to explore the field of data analysis. This is how you can learn R programming efficiently.
If you are looking for an online course to learn R programming, check out this R Programming Online Course by Intellipaat.