Sources on S4 objects, methods and programming in R

强颜欢笑 提交于 2019-11-27 16:45:16
hadley

My write up of S4 (still in progress) is available here: http://adv-r.had.co.nz/S4.html

R for programmers (Matloff) (free) and Introduction to scientific programming and simulation (Jones) have a short section on "new-style" S4 classes.

Another good book by John Chambers: "Programming with Data: A Guide to the S Language". As the name suggests it is actually about S, not R, but it provides a lot of valuable information about S4 classes anyway.

There's also some information in the R manuals "Writing R Extensions" and "R Internals" (particularly the latter). Those can be found at http://cran.r-project.org/doc/manuals/.

Finally, I would recommend "How S4 Methods Work", which is a great overview of how to think about S4 as it fits into R.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!