我想将像这样的字符串“[1,2,3]”转换成像R中的c(1,2,3)这样的向量。有什么建议吗?
谢谢你!
我只能去掉引号和括号,但我很难将结果字符“1,2,3”转换为数字向量。
parsing text r
parsing ×1
r ×1
text ×1