“From what I've seen, this is absolutely the best reference for deep R stuff that exists.”
Advanced R
把 R 当作编程语言来讲透:函数、环境、元编程
Hadley Wickham 把 R 当作一门编程语言来讲,覆盖数据结构、函数式编程、面向对象系统、环境、调试以及元编程和非标准求值等主题。写法面向有编程背景的读者,解释 R 看起来古怪的行为背后的规则,并附有练习。和讲数据分析流程的 R 入门书不同,它关注语言本身的机制。
HN 上有编程背景的人反复推荐它,说它让 R 的怪异行为终于讲得通,是深入理解 R 的最佳参考;调试、惰性求值和元编程章节被多次引用。
有编程经验、想真正搞懂 R 语言的人
怎么读
由 Claude 根据这本书和 HN 上的说法整理,可能有错- 1先读基础和函数相关章节,建立对 R 语言模型的理解
- 2遇到调试、惰性求值时当参考查阅
- 3元编程部分放在最后,需要先理解环境和表达式
- 4边读边在 R 里运行示例并做练习
HN 书评
推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算“Anyone with a programming background getting into R should absolutely go read _Advanced R_.”
“Hadley Wickham's tidyverse and funtional Advance R book changed everything in my code.”
“This book-in-progress has the best explanations of the syntax of R that I have seen.”
“If you're unsatisfied with R's debugging tools, you are probably not familiar with them:”
“R never made too much sense to me till I read through this. Reccomended.”
看全部 20 条 →
“For a relatively in depth explanation check out Hadley Wickham's book Advanced R”
“If you come from a programming background then Hadley Wickham's book is probably the best place to start.”
“which happens to be a great guide for experienced programmers to really understand R as a language”
“Does anyone have a short list of the best sites to learn R? I only have two on my list, and one is for advanced users:”
“Hadley Wickham's Advanced R (free to read on the Web) has a nice section on it:”
“Some more reading on all this:”
“A clearer explanation is the lazy evaluation here: Advanced R”
“Wickham's Advanced R has a great intro on this [1].”
“I also write and contribute to R packages at work and these two books have been really useful.”
“Theres a pretty nice chapter on debugging in the great book Advanced R [1].”
“You can read more about this here Advanced R”
“the "Advanced R" [0] by Hadley is actually a good start pont”
“The "Metaprogramming" section of Advanced R by Hadley Wickham is a good introduction”
“If you want a more hands on discussion of the differences, you can try Advanced R”