No, not at all! They instead are completely different from each other. R Programming Language is a programming language that is developed by statisticians for the Data Science domain. It is a statistical language that is used in Data Science and Machine Learning, etc. Whereas, Ruby is a general-purpose programming language that finds its applications in majorly in the Web Development domain and also for scripting purposes, etc. These two languages differ in their syntaxes, feature sets, and many more parameters.
If you wish to learn R and wish to get certified, then check out the R training course which is designed keeping in mind the industry standards. Also, have a look at our YouTube video on R Tutorial for Beginners.