为什么我不能在R中使用Microsoft单词的“”符号?

奥古兹·博兹库特(Oghuz Bozkurt)

我正在尝试为数据集的列名称创建一个向量。我用记事本打开了.csv文件。

/ app / csrf /; / app / xss /; / http / https_redirect /; / http / vulnerability / apache_expect_xss /; / http / vulnerability / apacheusers /; / http / vulnerability / cgi /; / http / vulnerability / clientaccesspolicy /; / http / vulnerability / content_search /; / http / vulnerability / cookies /; / http / vulnerability / dictionary /; / http / vulnerability / dir_traversal /; / http / vulnerability / docker_registry /; / http / vulnerability / domino /; / http / vulnerability / drupal /; / http / vulnerability / embedded /; / http / vulnerability / headers /; / http / vulnerability / httpoptions /; / http / vulnerability / ms10_070 /; / http / vulnerability / multiple_index /; / http / vulnerability / negotiate /; / http / vulnerability / origin_reflection /; / http / vulnerability / outdated /; / http / vulnerability / put_del_test /; / http / vulnerability / shellshock /; / http / vulnerability / siebel /; / http / vulnerability / site_files /; / http / vulnerability / strutshock /; / malware / google /; / rdp / enumeration /;/ smtp / open_relay / domain /; / ssh / auth_methods /; / ssl / cert /; / ssl / ciphers /; / ssl / mixed /; / tcp / timestamp /

将所有列复制到单词。之后,我改变了所有; 符号到“”符号组。

“ / app / csrf /”,“ / app / xss /”,“ / http / https_redirect /”,“ / http / vulnerability / apache_expect_xss /”,“ / http / vulnerability / apacheusers /”,“ / http / vulnerability / cgi /”,“ / http / vulnerability / clientaccesspolicy /”,“ / http / vulnerability / content_search /”,“ / http / vulnerability / cookies /”,“ / http / vulnerability / dictionary /”,“ / http / vulnerability / dir_traversal /”,“ / http / vulnerability / docker_registry /”,“ / http / vulnerability / domino /”,“ / http / vulnerability / drupal /”,“ / http / vulnerability / embedded /”,“ / http / vulnerability /”标头/”,“ / http / vulnerability / httpoptions /”,“ / http / vulnerability / ms10_070 /”,“ / http / vulnerability / multiple_index /”,“ / http / vulnerability / negotiate /”,“ / http / vulnerability / origin_reflection /”,“ / http / vulnerability / outdated /”,“ / http / vulnerability / put_del_test /”,“ / http / vulnerability / shellshock /”,“ / http / vulnerability / siebel /”,“ / http / vulnerability / site_files /”,“ / http / vulnerability / strutshock /”,“ / malware / google /”,“ / rdp / enumeration /”,“ / smtp / open_relay / domain /”,“ / ssh / auth_methods /”,“ / ssl / cert /”,“ / ssl / ciphers /”,“ / ssl / mixed /”,“ / tcp / timestamp /”

最后一本,我将此列复制到R

namelist <- c(“/app/csrf/” , “/app/xss/” , “/http/https_redirect/” , “/http/vulnerability/apache_expect_xss/” , “/http/vulnerability/apacheusers/” , “/http/vulnerability/cgi/” , “/http/vulnerability/clientaccesspolicy/” , “/http/vulnerability/content_search/” , “/http/vulnerability/cookies/” , “/http/vulnerability/dictionary/” , “/http/vulnerability/dir_traversal/” , “/http/vulnerability/docker_registry/” , “/http/vulnerability/domino/” , “/http/vulnerability/drupal/” , “/http/vulnerability/embedded/” , “/http/vulnerability/headers/” , “/http/vulnerability/httpoptions/” , “/http/vulnerability/ms10_070/” , “/http/vulnerability/multiple_index/” , “/http/vulnerability/negotiate/” , “/http/vulnerability/origin_reflection/” , “/http/vulnerability/outdated/” , “/http/vulnerability/put_del_test/” , “/http/vulnerability/shellshock/” , “/http/vulnerability/siebel/” , “/http/vulnerability/site_files/” , “/http/vulnerability/strutshock/” , “/malware/google/” , “/rdp/enumeration/” , “/smtp/open_relay/domain/” , “/ssh/auth_methods/” , “/ssl/cert/” , “/ssl/ciphers/” , “/ssl/mixed/” , “/tcp/timestamp/”)

但是R不理解这个符号,并给了我意外的令牌错误。为什么?

艾伦·卡梅伦

这是因为Word使用的是大括号而不是普通的双引号。R不理解这些。尝试将以下行复制并粘贴到R控制台中(但不要运行它)

writeClipboard(gsub("”|“", "\"", readClipboard()))

现在转到Word,选择并复制文本,回到R并按回车键。现在正确的字符串在剪贴板上。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

为什么不能在bash脚本中使用〜符号告诉我答案

来自分类Dev

为什么我不能在开机自检(php页面)中使用#(数字符号)作为值

来自分类Dev

为什么不能在“独立”块中使用点符号?

来自分类Dev

为什么我的线性渐变不能在Firefox中使用?

来自分类常见问题

为什么我不能在Swift中使用let in协议?

来自分类Dev

为什么我不能在JCreator中使用JavaFX?

来自分类Dev

为什么我不能在TRecord中使用Variable?

来自分类Dev

为什么我不能在MacVim中使用`<和`>?

来自分类Dev

为什么我不能在crontab中使用大括号?

来自分类Dev

为什么我不能在pow()函数中使用整数?

来自分类Dev

为什么我不能在CSS Variable中使用rgba?

来自分类Dev

为什么我不能在Laravel中使用关系方法?

来自分类Dev

为什么我不能在Python中使用“ +”合并字典?

来自分类Dev

为什么我不能在blazor中使用JSInterop?

来自分类Dev

为什么我不能在App Component中使用MyContext?

来自分类Dev

为什么我不能在列表中使用匿名函数?

来自分类Dev

为什么我不能在JCreator中使用JavaFX?

来自分类Dev

为什么我不能在Swift中使用'object == nil'?

来自分类Dev

为什么我不能在Xampp中使用htaccess?

来自分类Dev

为什么我不能在Matlab中使用函数readframe

来自分类Dev

为什么我不能在TRecord中使用Variable?

来自分类Dev

为什么我不能在输入中使用空格字符?

来自分类Dev

为什么我不能在 observable 中使用 switchMap

来自分类Dev

我不能在bash read命令中使用-r选项。为什么?

来自分类Dev

为什么常量插值不能在Ruby中使用百分比符号

来自分类Dev

为什么常量插值不能在Ruby中使用百分比符号

来自分类Dev

为什么我不能在React State上使用点符号?

来自分类Dev

为什么我不能在我的代码中使用 setState 值?

来自分类Dev

为什么我不能在我的 React Native 组件中使用 connect?

Related 相关文章

  1. 1

    为什么不能在bash脚本中使用〜符号告诉我答案

  2. 2

    为什么我不能在开机自检(php页面)中使用#(数字符号)作为值

  3. 3

    为什么不能在“独立”块中使用点符号?

  4. 4

    为什么我的线性渐变不能在Firefox中使用?

  5. 5

    为什么我不能在Swift中使用let in协议?

  6. 6

    为什么我不能在JCreator中使用JavaFX?

  7. 7

    为什么我不能在TRecord中使用Variable?

  8. 8

    为什么我不能在MacVim中使用`<和`>?

  9. 9

    为什么我不能在crontab中使用大括号?

  10. 10

    为什么我不能在pow()函数中使用整数?

  11. 11

    为什么我不能在CSS Variable中使用rgba?

  12. 12

    为什么我不能在Laravel中使用关系方法?

  13. 13

    为什么我不能在Python中使用“ +”合并字典?

  14. 14

    为什么我不能在blazor中使用JSInterop?

  15. 15

    为什么我不能在App Component中使用MyContext?

  16. 16

    为什么我不能在列表中使用匿名函数?

  17. 17

    为什么我不能在JCreator中使用JavaFX?

  18. 18

    为什么我不能在Swift中使用'object == nil'?

  19. 19

    为什么我不能在Xampp中使用htaccess?

  20. 20

    为什么我不能在Matlab中使用函数readframe

  21. 21

    为什么我不能在TRecord中使用Variable?

  22. 22

    为什么我不能在输入中使用空格字符?

  23. 23

    为什么我不能在 observable 中使用 switchMap

  24. 24

    我不能在bash read命令中使用-r选项。为什么?

  25. 25

    为什么常量插值不能在Ruby中使用百分比符号

  26. 26

    为什么常量插值不能在Ruby中使用百分比符号

  27. 27

    为什么我不能在React State上使用点符号?

  28. 28

    为什么我不能在我的代码中使用 setState 值?

  29. 29

    为什么我不能在我的 React Native 组件中使用 connect?

热门标签

归档