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.
右侧有许多 0 的大整数会在任何类型的输出(在屏幕上打印、写入文件等)中自动转换为科学格式:
foo <- 100000 foo # [1] 1e+05 write.table(foo) print(foo) foo <- foo + 1 foo # [1] 100001
如何防止这种自动转换,到处都用整数打印大整数?我不是在寻找一种每次都必须记住的答案。