按年被提到
20132016 · 10 次2026
开源书›编程语言·No.41

Advanced R

Advanced R(进阶 R 语言)
Hadley Wickham

把 R 当作编程语言来讲透:函数、环境、元编程

免费阅读 ↗
被推荐 · 50 人首次 2013-09-22 · 最近 2025-11-25许可证 CC BY-NC-SA 4.0
50不同的人
50活跃月份
22有推荐的月份
55讨论串

Hadley Wickham 把 R 当作一门编程语言来讲,覆盖数据结构、函数式编程、面向对象系统、环境、调试以及元编程和非标准求值等主题。写法面向有编程背景的读者,解释 R 看起来古怪的行为背后的规则,并附有练习。和讲数据分析流程的 R 入门书不同,它关注语言本身的机制。

HN 为什么推荐它

HN 上有编程背景的人反复推荐它,说它让 R 的怪异行为终于讲得通,是深入理解 R 的最佳参考;调试、惰性求值和元编程章节被多次引用。

难度 3 / 5约 30 小时开放许可
适合谁

有编程经验、想真正搞懂 R 语言的人

读之前最好知道
1R 基础语法
2有其他编程语言经验

怎么读

由 Claude 根据这本书和 HN 上的说法整理,可能有错
  1. 1先读基础和函数相关章节,建立对 R 语言模型的理解
  2. 2遇到调试、惰性求值时当参考查阅
  3. 3元编程部分放在最后,需要先理解环境和表达式
  4. 4边读边在 R 里运行示例并做练习

HN 书评

推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算
强烈推荐claytonjy · 2014-12

“From what I've seen, this is absolutely the best reference for deep R stuff that exists.”

称它是 R 深入主题(如 lexical scoping)的最佳参考
The R language, for programmers原评论 ↗
强烈推荐ropeladder · 2017-12

“Anyone with a programming background getting into R should absolutely go read _Advanced R_.”

强烈推荐有编程背景的人读它,让 R 的怪异行为说得通
Introduction to R Programming原评论 ↗
强烈推荐baldfat · 2018-11

“Hadley Wickham's tidyverse and funtional Advance R book changed everything in my code.”

称它改变了自己写 R 代码的方式
Chicken Scheme 5.0原评论 ↗
推荐catwork · 2014-02

“This book-in-progress has the best explanations of the syntax of R that I have seen.”

称它对 R 语法的讲解是自己见过最好的
Advanced R Progamming by Hadley Wickham原评论 ↗
推荐robertk · 2014-03

“If you're unsatisfied with R's debugging tools, you are probably not familiar with them:”

指出想用好 R 的调试工具,可以读它
The SAS vs. R Debate原评论 ↗
推荐plinkplonk · 2014-12

“R never made too much sense to me till I read through this. Reccomended.”

称读完它才觉得 R 讲得通,推荐
The R language, for programmers原评论 ↗
看全部 20 条 →
推荐chuckcode · 2014-12

“For a relatively in depth explanation check out Hadley Wickham's book Advanced R”

推荐它,较深入讲解 apply 函数和 R 的循环
The R language, for programmers原评论 ↗
推荐_Wintermute · 2015-11

“If you come from a programming background then Hadley Wickham's book is probably the best place to start.”

推荐有编程背景的人从它开始学 R
How R Took the World of Statistics by Storm原评论 ↗
推荐pak · 2016-02

“which happens to be a great guide for experienced programmers to really understand R as a language”

称它是帮有经验的程序员真正理解 R 语言的好指南
R, the master troll of statistical languages (2012)原评论 ↗
推荐melling · 2016-03

“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:”

把它列入自己学 R 最佳网站的短名单,面向进阶用户
Announcing R Tools for Visual Studio原评论 ↗
推荐danso · 2016-05

“Hadley Wickham's Advanced R (free to read on the Web) has a nice section on it:”

指出这本可免费在线读的书里有一节讲 non-standard evaluation
Impatient R原评论 ↗
推荐int_19h · 2017-06

“Some more reading on all this:”

把它作为 R 内部机制的延伸阅读
Advantages of Using R Notebooks for Data Analysis Instead of Jupyter Notebooks原评论 ↗
推荐olympus · 2017-09

“A clearer explanation is the lazy evaluation here: Advanced R”

指出它对 R 的 lazy evaluation 讲得更清楚
Apache Arrow and the “Things I Hate About Pandas”原评论 ↗
推荐othello · 2017-12

“Wickham's Advanced R has a great intro on this [1].”

称它对 R 表达式的介绍很好
Introduction to R Programming原评论 ↗
推荐randomvectors · 2019-06

“I also write and contribute to R packages at work and these two books have been really useful.”

称它在写 R 包的工作中很有用,尤其是 NSE 和 OO 系统章节
Ask HN: Good resources for base (non-tidyverse) R?原评论 ↗
推荐Eugeleo · 2019-10

“Theres a pretty nice chapter on debugging in the great book Advanced R [1].”

指出它有一章讲 R 调试,写得不错
R is a joy if you treat it like Awk原评论 ↗
推荐CreRecombinase · 2020-09

“You can read more about this here Advanced R”

引它说明 R 的惰性参数求值和 metaprogramming
Lets-plot: An interactive Python plotting library using ggplot's API原评论 ↗
推荐nnm · 2021-03

“the "Advanced R" [0] by Hadley is actually a good start pont”

称它是学 R 的好起点
Modern Text Features in R原评论 ↗
推荐nerdponx · 2021-04

“The "Metaprogramming" section of Advanced R by Hadley Wickham is a good introduction”

称它的 Metaprogramming 一节是很好的入门
Lisp-stat: An environment for Statistical Computing原评论 ↗
推荐notafraudster · 2021-07

“If you want a more hands on discussion of the differences, you can try Advanced R”

推荐它,动手讨论 R 取子集运算符的差别
Why do we use R rather than Excel?原评论 ↗