R: += (plus equals) 和++ (plus plus) 等价于 c++/c#/java 等?

标签 r operators variable-assignment increment

R有没有+=的概念? (加等号)或 ++ (plus plus) 像 c++/c#/others 一样吗?

最佳答案

不,它没有,请参阅:R Language Definition: Operators

关于R: += (plus equals) 和++ (plus plus) 等价于 c++/c#/java 等?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11001120/

相关文章:

javascript - 一次上传数据框,然后在 Shiny 的应用程序中随处使用它

python - Blender Python 使用 invoke_default 将运算符添加到菜单

javascript - typeof 运算符是否连续显示为一个变量分配的更改的不同数据类型?

variable-assignment - 如何在gnu并行中分配变量?

python - 通过分配 : Python

编译器可以优化嵌套循环吗?

r - 在 RUnit 或 testthat 中自动生成测试用例

r - 连接到 R 中的 Azure 表存储

r - 仅保留元素数量最多的 "cluster"

java - Java 运算符 && 和 || 的逻辑