R 如何正确输入字符向量

R 如何正确输入字符向量,r,vector,R,Vector,我花了几个小时的时间创建了这个需要修改的变量值列表,但当我试图将其保存为向量时,我收到了一条错误消息: c("Athens and Higher TEI of Crete", "Athens U Economics and Business","Australian Department of Climate Change and Energy Efficiency","Beijing U Aeronautics and Astronautics","Cambridge Centre for E

我花了几个小时的时间创建了这个需要修改的变量值列表,但当我试图将其保存为向量时,我收到了一条错误消息:

c("Athens and Higher TEI of Crete", "Athens U Economics and Business","Australian Department of Climate Change and Energy Efficiency","Beijing U Aeronautics and Astronautics","Cambridge Centre for Economic and Public Policy","Center for Agricultural and Rural Development","Center for Strategic Management and Globalization","Centers for Disease Control and Prevention","Centre of Full Employment and Equity","Central Taiwan U Science and Technology","Centre for Econometrics and Allied Research","Centre for Industrial Relations and Human Resources","Centre of Excellence for Science and Innovation Studies","Centre for the Study of Globalisation and Regionalisation","College of William and Mary","ESMT European School of Management and Technology”,"Davis and Giannini Foundation”,"Davis and Giannini Foundation of Agricultural Economics”,"Dubai Chamber of Commerce and Industry”,"Federal Urdu U Arts, Science and Technology”,"Financial and Economic Research Center”,"Franklin and Marshall College”,"Graduate Institute of Finance and Banking”,"Hong Kong U Science and Technology”,"IN+ Center for Innovation, Technology, and Policy Research”,"Institute of Business and Management”,"Insper Instituet of Education and Research, Sao Paulo”,"Institute for Food and Resource Economics”,"Institute of Economics and Industrial Engineering”,"Institute of Finance and Accounting”,"Institute of Food and Resource Economics”,"Institute of Physical Planning and Information”,"Institute of Social and Economic Research”,"Institute of Statistical, Social and Economic Research”,"Institute for Economics and Business Administration”,"International Journal of Applied Economics and Econometrics”,"Jinwen U Science and Technology”,"Kazakhstan Institute of Management, Economics and Strategic Research”,"King Fahd U Petroleum and Minerals”,"Lille I U, Science and Technology”,"Maldives Ministry of Economic Development and Trade”,"Melbourne Institute of Applied Economic and Social Research”,"Mendel U Agriculture and Forestry”,"National Institute of Economic and Social Research”,"National Kaohsiung First U Science and Technology”,"National Pingtung U Science and Technology”,"National School of Political and Administrative Studies”,"National School of Political Studies and Public Administration”,"National Yunlin U Science and Technology”,"Norwegian School of Economics and Business Administration”,"Phoenix Center for Advanced Legal and Economic Public Policy Studies”,"Research Centre for Education and the Labour Market”,"Research Institute of Economics and Management”,"Research Institute for Economics and Business Administration”,"Research Institute for Labor Economics and Labor Law”,"Rennes and Agrocampus Ouest, Rennes”,"Romanian Ministry of Administration and Interior”,"Romanian Ministry of Education, Research, Youth and Sports”,"Shanghai U Finance and Economics”,"Sungard Trading and Risk Systems”,"Takming U Science and Technology”,"Theoretical and Applied Economics”,"U Petroleum and Energy Studies, Dehradun”,"UN Food and Agriculture Organization”,"US Department of Health and Human Services”,"Wind Science and Engineering Research Center”,
错误:在“劳资关系和人力资源re”、“科学和创新研究卓越中心”、“全球化和区域化研究中心”、“威廉和M学院”中出现意外符号 “中西部研究与推广中心”)


我在任何地方都找不到“意外符号”,在发布此问题之前,我删除了所有换行符,并将我的文本复制到记事本+。为什么程序坚持让我感到悲伤?

我已在下面的代码中修复了您的引号问题

c("Athens and Higher TEI of Crete", "Athens U Economics and Business","Australian Department of Climate Change and Energy Efficiency","Beijing U Aeronautics and Astronautics","Cambridge Centre for Economic and Public Policy","Center for Agricultural and Rural Development","Center for Strategic Management and Globalization","Centers for Disease Control and Prevention","Centre of Full Employment and Equity","Central Taiwan U Science and Technology","Centre for Econometrics and Allied Research","Centre for Industrial Relations and Human Resources","Centre of Excellence for Science and Innovation Studies","Centre for the Study of Globalisation and Regionalisation","College of William and Mary","ESMT European School of Management and Technology","Davis and Giannini Foundation","Davis and Giannini Foundation of Agricultural Economics","Dubai Chamber of Commerce and Industry","Federal Urdu U Arts, Science and Technology","Financial and Economic Research Center","Franklin and Marshall College","Graduate Institute of Finance and Banking","Hong Kong U Science and Technology","IN+ Center for Innovation, Technology, and Policy Research","Institute of Business and Management","Insper Instituet of Education and Research, Sao Paulo","Institute for Food and Resource Economics","Institute of Economics and Industrial Engineering","Institute of Finance and Accounting","Institute of Food and Resource Economics","Institute of Physical Planning and Information","Institute of Social and Economic Research","Institute of Statistical, Social and Economic Research","Institute for Economics and Business Administration","International Journal of Applied Economics and Econometrics","Jinwen U Science and Technology","Kazakhstan Institute of Management, Economics and Strategic Research","King Fahd U Petroleum and Minerals","Lille I U, Science and Technology","Maldives Ministry of Economic Development and Trade","Melbourne Institute of Applied Economic and Social Research","Mendel U Agriculture and Forestry","National Institute of Economic and Social Research","National Kaohsiung First U Science and Technology","National Pingtung U Science and Technology","National School of Political and Administrative Studies","National School of Political Studies and Public Administration","National Yunlin U Science and Technology","Norwegian School of Economics and Business Administration","Phoenix Center for Advanced Legal and Economic Public Policy Studies","Research Centre for Education and the Labour Market","Research Institute of Economics and Management","Research Institute for Economics and Business Administration","Research Institute for Labor Economics and Labor Law","Rennes and Agrocampus Ouest, Rennes","Romanian Ministry of Administration and Interior","Romanian Ministry of Education, Research, Youth and Sports","Shanghai U Finance and Economics","Sungard Trading and Risk Systems","Takming U Science and Technology","Theoretical and Applied Economics","U Petroleum and Energy Studies, Dehradun","UN Food and Agriculture Organization","US Department of Health and Human Services","Wind Science and Engineering Research Center")

请尝试检查您的引号。有些引号已关闭或将所有内容包装在
'
中。您发布的代码末尾有一个逗号,并且缺少一个括号。请勿使用
智能引号(卷曲引号)和结尾缺少括号-查看
末尾的引号ESMT欧洲管理与技术学院“
@Monk这是我的错误引述。在这种情况下,如果删除逗号并在括号末尾,结果是相同的。这些数据来自哪里?它是从某个浏览器复制和粘贴的吗?编码是什么?