1Answer R equivalent of python “_”? 18.4k Views 14 Wivan Arato A PHP Error was encountered Severity: Notice Message: Undefined index: userid Filename: views/question.php Line Number: 191 Backtrace: File: /home/prodcxja/public_html/questions/application/views/question.php Line: 191 Function: _error_handler File: /home/prodcxja/public_html/questions/application/controllers/Questions.php Line: 433 Function: view File: /home/prodcxja/public_html/questions/index.php Line: 315 Function: require_once Asked: Jul 26,2020 In: Python 1 Answer Wivan Arato Punditsdkoslkdosdkoskdo Asked: Jul 26,2020 In: Python R equivalent of python “_”? Python has an identifier _ that allows for storing the result of the last evaluation which makes it great for speeding up data exploration and introspection. In : 43 * 2 Out: 86 In : _ + 1 Out: 87 Is there a similar command in R? python r ipython Your reply on this question: Add Reply Cancel 1 Lenka Tvardek Jul 26,2020 @David - For what it's worth, the standard python interpreter does the same thing when used interactively. It's not just ipython. Manuela Trascu Jul 26,2020 docs.python.org/tutorial/introduction.html#numbers toward the bottom of the section: "In interactive mode, the last printed expression is assigned to the variable _."