I was reading an interesting post on R-bloggers on ''Object Oriented Programming in R using S4 Classes". The book "Statistics and Computing" written by Venables and Ripley has some chapters introducing S3 classes and S4 classes in S and R and have been useful to me in terms of understanding the concept of object oriented programming in R.
Do you know of any useful book(s) introducing Object Oriented programming in R in more details with examples like the one in the R blogger?
As the commenters said, "Software for Data Analysis" by John chambers is excellent. I would also recommend the R manual "Writing R Extensions", although it can get quite technical. For more introductory sources, I would look into these documents: How Methods Work by John Chambers, this S4 tutorial by Christophe Genolini, and this useful powerpoint, which is a nice high-level overview.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With