相关疑难解决方法(0)

错误:我的代码中出现意外的符号/输入/字符串常量/数字常量/ SPECIAL

我收到了其中一个错误.

Error: unexpected symbol in "<my code>"    
Error: unexpected input in "<my code>"
Error: unexpected string constant in "<my code>"  
Error: unexpected numeric constant in "<my code>"   
Error: unexpected SPECIAL in "<my code>"         
Error: unexpected '<some punctuation>' in "<my code>" 
Error: unexpected '<reserved word>' in "<my code>"        
Run Code Online (Sandbox Code Playgroud)

错误意味着什么,我该如何解决?

一些重现错误的简单示例和常见变体:

a a
## Error: unexpected symbol in "a a"
a\
## Error: unexpected input in "a\"
a""
## Error: unexpected string constant in "a"""
""1
## Error: unexpected numeric constant in …
Run Code Online (Sandbox Code Playgroud)

r r-faq

46
推荐指数
2
解决办法
20万
查看次数

标签 统计

r ×1

r-faq ×1