R-error: 错误: nul character not allowed (line 1)

在这里插入图片描述
路径中加转义字符

Validate a character as a file path?
  • 确定字符是否为有效文件路径的最佳方法是什么? 因此CheckFilePath(“my*file.csv”)将返回FALSE(在Windows *上是无效字符),而CheckFilePath(“c:\users\blabla\desktop\myfile.csv” )将返回TRUE。

猜你喜欢

转载自blog.csdn.net/geekfocus/article/details/118891380