From the answer to an exercise in The New S Language (Becker, Chambers and Wilks 1988), via Google Books: 当您键入一个长表达式只是想记住最后保存结果是个好主意时,右箭头使您无需重新键入该行即可执行赋值. When you type a long expression only to remember at the end that it would be a good idea to save the result, a right-hand arrow allows you to perform an assignment without retyping the line.这表明S用户直接在控制台中工作,而没有大多数现代 REPL /交互式环境... This suggests that S users were working directly in the console, without line-editing capabilities that are available in most modern REPL/interactive environments ...一些考古学:我在Google图书的基础资料中闲逛.有三本相关的书:Some archaeology: I poked around in foundational sources on Google Books. There are three relevant books:布朗书: S:用于数据分析和图形的交互式环境 R. A. Becker,J.M. Chambers(CRC出版社,1984年) 扩展S系统,贝克尔和钱伯斯(Taylor& Francis,1985年) 蓝皮书:新S语言 Becker,Chambers和Wilks(Wadsworth和Brooks/Cole,1988年,但在2018年由CRC Press重新发行)the Brown Book: S: An Interactive Environment for Data Analysis and Graphics R. A. Becker, J. M. Chambers (CRC Press, 1984)Extending the S System, Becker and Chambers (Taylor & Francis, 1985)the Blue Book: The New S Language Becker, Chambers and Wilks (Wadsworth and Brooks/Cole 1988, but reissued in 2018!! by CRC Press)《棕皮书》在正文中未提及->: 但在附录中有 扩展S系统在正文中提到了->:Extending the S System mentions -> in the main text: 我无法在本书中搜索太多内容,因此附录中的某个地方也可能会提到->.I can't search very much of the book, so -> might also be mentioned in the appendix somewhere.蓝皮书指的是右箭头,但实际上似乎有错字: 我将带下划线的红色段落解释为支持在带下划线的第一行中有错字,应为->而不是←... I interpret the underlined red passages as supporting that there's a typo in the first underlined line, which should be -> rather than ← ...这是上面提到的练习答案的屏幕截图:Here's the screenshot of the exercise answer referred to above: 如果您想要一本1985年版的书,则可以$ 34.41或$ 1070.99的价格购买(但免运费!)... If you want a copy of the 1985 book you can get it for $34.41 - or $1070.99 (but with free shipping!) ... 这篇关于为什么在R中有两个赋值运算符,分别是<和-?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-14 08:54