Mayank Gupta completed an online course in R Programming through Coursera offered by Johns Hopkins University. The course covered how to use and program in R for effective data analysis, including programming in R, reading data, accessing packages, writing functions, debugging, profiling code, and organizing and commenting code. The certificate was signed by Roger D. Peng, Jeffrey Leek, and Brian Caffo of Johns Hopkins Bloomberg School of Public Health.