Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么这行得通
print.character = function(x) cat("Use cat instead!", x) print("tre") # Use cat instead! tre
但这会引发错误?
"+.character" = function(lhs, rhs) paste0(lhs, " + ", rhs) "tre" + "tri"
“tre”+“tri”中的错误:二进制运算符的非数字参数