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.
我想readr::parse_number()用于被猜测为“数字”类型的字符向量readr::guess_parser()
readr::parse_number()
readr::guess_parser()
我可以使用构建一个语言环境来完成这项工作readr::parse_number( readr::locale(decimal_mark = <a mark to be determined at run time>) )
readr::parse_number( readr::locale(decimal_mark = <a mark to be determined at run time>) )
所以问题是系统区域设置在运行时之前是未知的,并且可能在世界任何地方。有没有办法从系统语言环境中确定小数点?