{"id":3993,"date":"2023-07-14T07:30:34","date_gmt":"2023-07-14T07:30:34","guid":{"rendered":"https:\/\/statorials.org\/cn\/r-%e5%bf%85%e8%a6%81%e6%80%a7%e4%b8%8e%e5%ba%93\/"},"modified":"2023-07-14T07:30:34","modified_gmt":"2023-07-14T07:30:34","slug":"r-%e5%bf%85%e8%a6%81%e6%80%a7%e4%b8%8e%e5%ba%93","status":"publish","type":"post","link":"https:\/\/statorials.org\/cn\/r-%e5%bf%85%e8%a6%81%e6%80%a7%e4%b8%8e%e5%ba%93\/","title":{"rendered":"R\u4e2drequire()\u548clibrary()\u7684\u533a\u522b"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><strong>require()<\/strong>\u548c<strong>library()<\/strong>\u51fd\u6570\u90fd\u53ef\u4ee5\u7528\u6765\u5728R \u4e2d\u52a0\u8f7d\u5305\uff0c\u4f46\u5b83\u4eec\u6709\u4e00\u4e2a\u7ec6\u5fae\u7684\u533a\u522b\uff1a<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">\u5982\u679c\u672a\u5b89\u88c5\u8f6f\u4ef6\u5305\uff0c <strong>require()<\/strong>\u4f1a\u663e\u793a\u8b66\u544a\uff0c\u7136\u540e\u7ee7\u7eed\u6267\u884c\u4ee3\u7801\u3002<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>Library()<\/strong>\u5c06\u629b\u51fa\u9519\u8bef\u5e76\u505c\u6b62\u4ee3\u7801\u6267\u884c\u3002<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u7531\u4e8e\u8fd9\u79cd\u5dee\u5f02\uff0c\u901a\u5e38\u4ec5\u5728\u5c06\u5305\u52a0\u8f7d\u5230\u51fd\u6570\u4e2d\u65f6\u624d\u4f7f\u7528<strong>require()<\/strong> \uff0c\u4ee5\u4fbf\u5373\u4f7f\u5305\u4e0d\u5b58\u5728\u8be5\u51fd\u6570\u4e5f\u80fd\u7ee7\u7eed\u8fd0\u884c\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u5728\u5b9e\u8df5\u4e2d\uff0c\u5927\u591a\u6570\u7a0b\u5e8f\u5458\u5efa\u8bae\u4f7f\u7528<strong>library()<\/strong> \uff0c\u56e0\u4e3a\u60a8\u5c06\u5e0c\u671b\u6536\u5230\u4e00\u6761\u9519\u8bef\u6d88\u606f\uff0c\u901a\u77e5\u60a8\u672a\u5b89\u88c5\u8f6f\u4ef6\u5305\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u8fd9\u662f\u60a8\u5728\u7f16\u5199\u4ee3\u7801\u65f6\u5e94\u8be5\u5c3d\u65e9\u610f\u8bc6\u5230\u7684\u4e8b\u60c5\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u4e0b\u9762\u7684\u4f8b\u5b50\u8bf4\u660e\u4e86<strong>require()<\/strong>\u548c<strong>library()<\/strong>\u51fd\u6570\u5728\u5b9e\u8df5\u4e2d\u7684\u533a\u522b\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u4f8b\u5b50\uff1aR\u4e2drequire()\u548clibrary()\u7684\u533a\u522b<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u5047\u8bbe\u6211\u4eec\u8981\u4ece<strong>mlbench<\/strong>\u5305\u52a0\u8f7d<strong>BostonHousing<\/strong>\u6570\u636e\u96c6\uff0c\u4f46\u5047\u8bbe\u5c1a\u672a\u5b89\u88c5<strong>mlbench<\/strong>\u5305\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u4ee3\u7801\u6f14\u793a\u4e86\u5982\u4f55\u4f7f\u7528<strong>library()<\/strong>\u51fd\u6570\u5c1d\u8bd5\u52a0\u8f7d\u6b64\u5305\u5e76\u5bf9<strong>BostonHousing<\/strong>\u6570\u636e\u96c6\u8fdb\u884c\u6570\u636e\u5206\u6790\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#attempt to load mlbench library\n<\/span><span style=\"color: #008000;\">library<\/span> (mlbench)\n\n<span style=\"color: #ff0000;\">Error in library(mlbench): there is no package called 'mlbench'\n<\/span>\n<span style=\"color: #008080;\">#load Boston Housing dataset\n<\/span>data(BostonHousing)\n\n<span style=\"color: #008080;\">#view summary of Boston Housing dataset\n<\/span>summary(BostonHousing)\n\n<span style=\"color: #008080;\">#view total number of rows in Boston Housing dataset\n<\/span>nrow(BostonHousing)\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u7531\u4e8e<strong>mlbench<\/strong>\u5305\u5c1a\u672a\u5b89\u88c5\uff0c\u56e0\u6b64\u5f53\u6211\u4eec\u4f7f\u7528<strong>library()<\/strong>\u51fd\u6570\u65f6\u4f1a\u6536\u5230\u9519\u8bef\uff0c\u5e76\u4e14\u5176\u4f59\u4ee3\u7801\u751a\u81f3\u6ca1\u6709\u6267\u884c\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u8fd9\u5f88\u6709\u7528\uff0c\u56e0\u4e3a\u5b83\u7acb\u5373\u8ba9\u6211\u4eec\u77e5\u9053\u8be5\u8f6f\u4ef6\u5305\u5c1a\u672a\u5b89\u88c5\uff0c\u5e76\u4e14\u6211\u4eec\u9700\u8981\u5728\u7ee7\u7eed\u4e4b\u524d\u5b89\u88c5\u5b83\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><span style=\"color: #000000;\">\u4f46\u662f\uff0c\u5047\u8bbe\u6211\u4eec\u4f7f\u7528<strong>require()<\/strong>\u6765\u52a0\u8f7d<strong>mlbench<\/strong>\u5305\uff1a<\/span><\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#attempt to load mlbench library\n<\/span><span style=\"color: #008000;\">require<\/span> (mlbench)\n\n<span style=\"color: #ff0000;\">Warning message:\nIn library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :\n  there is no package called 'mlbench'\n<\/span>\n<span style=\"color: #008080;\">#load Boston Housing dataset\n<\/span>data(BostonHousing)\n\n<span style=\"color: #ff0000;\">Warning message:\nIn data(BostonHousing) : data set 'BostonHousing' not found\n<\/span>\n<span style=\"color: #008080;\">#view summary of Boston Housing dataset\n<\/span>summary(BostonHousing)\n\n<span style=\"color: #ff0000;\">Error in summary(BostonHousing): object 'BostonHousing' not found\n<\/span>\n<span style=\"color: #008080;\">#view total number of rows in Boston Housing dataset\n<\/span>nrow(BostonHousing)\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u5728\u6b64\u793a\u4f8b\u4e2d\uff0c\u76f4\u5230\u6211\u4eec\u5c1d\u8bd5\u4f7f\u7528<strong>summary()<\/strong>\u51fd\u6570\u6765\u6c47\u603b<strong>BostonHousing<\/strong>\u6570\u636e\u96c6\u65f6\uff0c\u6211\u4eec\u624d\u4f1a\u6536\u5230\u9519\u8bef\u6d88\u606f\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u76f8\u53cd\uff0c\u6211\u4eec\u5728\u4f7f\u7528<strong>require()<\/strong>\u51fd\u6570\u540e\u6536\u5230\u8b66\u544a\uff0c\u5176\u4f59\u4ee3\u7801\u7ee7\u7eed\u6267\u884c\uff0c\u76f4\u5230\u9047\u5230\u9519\u8bef\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u6b64\u793a\u4f8b\u8bf4\u660e\u4e86 R \u4e2d<strong>library()<\/strong>\u548c<strong>require()<\/strong>\u4e4b\u95f4\u7684\u533a\u522b\uff1a <strong>library()<\/strong>\u51fd\u6570\u7acb\u5373\u4ea7\u751f\u9519\u8bef\uff0c\u5e76\u4e14\u4e0d\u4f1a\u6267\u884c\u5176\u4f59\u4ee3\u7801\uff0c\u56e0\u4e3a<strong>mlbench<\/strong>\u672a\u52a0\u8f7d\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u60a8\u5728\u52a0\u8f7d\u5305\u65f6\u9700\u8981\u4f7f\u7528<strong>library()<\/strong>\u51fd\u6570\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u5956\u52b1\uff1a\u68c0\u67e5\u662f\u5426\u5b89\u88c5\u4e86\u7279\u5b9a\u7684\u8f6f\u4ef6\u5305<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<strong>system.file()<\/strong>\u51fd\u6570\u6765\u68c0\u67e5\u5f53\u524d\u7684 R \u73af\u5883\u4e2d\u662f\u5426\u5b89\u88c5\u4e86\u7279\u5b9a\u7684\u8f6f\u4ef6\u5305\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u8bed\u6cd5\u6765\u68c0\u67e5\u5f53\u524dR\u73af\u5883\u4e2d\u662f\u5426\u5b89\u88c5\u4e86<strong>ggplot2<\/strong>\u5305\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#check if ggplot2 is installed<\/span>\nsystem. <span style=\"color: #3366ff;\">file<\/span> (package=' <span style=\"color: #ff0000;\">ggplot2<\/span> ')\n\n[1] \"C:\/Users\/bob\/Documents\/R\/win-library\/4.0\/ggplot2\"<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u7531\u4e8e\u5b89\u88c5\u4e86 ggplot2\uff0c\u8be5\u51fd\u6570\u4ec5\u8fd4\u56de\u5b89\u88c5\u5305\u7684\u6587\u4ef6\u8def\u5f84\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u73b0\u5728\u5047\u8bbe\u6211\u4eec\u68c0\u67e5<strong>mlbench<\/strong>\u8f6f\u4ef6\u5305\u662f\u5426\u5df2\u5b89\u88c5\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#check if mlbench is installed<\/span>\nsystem. <span style=\"color: #3366ff;\">file<\/span> (package=' <span style=\"color: #ff0000;\">mlbench<\/span> ')\n\n[1] \"\"\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u8be5\u51fd\u6570\u8fd4\u56de\u4e00\u4e2a\u7a7a\u5b57\u7b26\u4e32\uff0c\u8fd9\u544a\u8bc9\u6211\u4eec\u5f53\u524d\u73af\u5883\u4e2d\u5c1a\u672a\u5b89\u88c5<strong>mlbench<\/strong>\u8f6f\u4ef6\u5305\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u5176\u4ed6\u8d44\u6e90<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 R \u4e2d\u6267\u884c\u5176\u4ed6\u5e38\u89c1\u4efb\u52a1\uff1a<\/span><\/p>\n<p><a href=\"https:\/\/statorials.org\/cn\/\u5c06\u591a\u4e2a\u5305\u52a0\u8f7d\u5230r\u4e2d\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u5728 R \u4e2d\u52a0\u8f7d\u591a\u4e2a\u5305<\/a><br \/><a href=\"https:\/\/statorials.org\/cn\/r-\u4e2d\u7684\u6e05\u6670\u73af\u5883\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u6e05\u9664R\u4e2d\u7684\u73af\u5883<\/a><br \/><a href=\"https:\/\/statorials.org\/cn\/\u64e6\u9664r\u4e2d\u7684\u75d5\u8ff9\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u6e05\u9664 RStudio \u4e2d\u7684\u6240\u6709\u7ed8\u56fe<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>require()\u548clibrary()\u51fd\u6570\u90fd\u53ef\u4ee5\u7528\u6765\u5728R \u4e2d\u52a0\u8f7d\u5305\uff0c\u4f46\u5b83\u4eec\u6709\u4e00\u4e2a\u7ec6\u5fae\u7684\u533a\u522b\uff1a \u5982\u679c\u672a\u5b89\u88c5\u8f6f\u4ef6\u5305 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-3993","post","type-post","status-publish","format-standard","hentry","category-11"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>R\u4e2drequire()\u548clibrary()\u7684\u533a\u522b - Statory<\/title>\n<meta name=\"description\" content=\"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86 R \u4e2d require() \u548c library() \u51fd\u6570\u4e4b\u95f4\u7684\u533a\u522b\uff0c\u5305\u62ec\u793a\u4f8b\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/cn\/r-\u5fc5\u8981\u6027\u4e0e\u5e93\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R\u4e2drequire()\u548clibrary()\u7684\u533a\u522b - Statory\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86 R \u4e2d require() \u548c library() \u51fd\u6570\u4e4b\u95f4\u7684\u533a\u522b\uff0c\u5305\u62ec\u793a\u4f8b\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/cn\/r-\u5fc5\u8981\u6027\u4e0e\u5e93\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-14T07:30:34+00:00\" \/>\n<meta name=\"author\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/cn\/r-%e5%bf%85%e8%a6%81%e6%80%a7%e4%b8%8e%e5%ba%93\/\",\"url\":\"https:\/\/statorials.org\/cn\/r-%e5%bf%85%e8%a6%81%e6%80%a7%e4%b8%8e%e5%ba%93\/\",\"name\":\"R\u4e2drequire()\u548clibrary()\u7684\u533a\u522b - Statory\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/cn\/#website\"},\"datePublished\":\"2023-07-14T07:30:34+00:00\",\"dateModified\":\"2023-07-14T07:30:34+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\"},\"description\":\"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86 R \u4e2d require() \u548c library() \u51fd\u6570\u4e4b\u95f4\u7684\u533a\u522b\uff0c\u5305\u62ec\u793a\u4f8b\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/cn\/r-%e5%bf%85%e8%a6%81%e6%80%a7%e4%b8%8e%e5%ba%93\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/cn\/r-%e5%bf%85%e8%a6%81%e6%80%a7%e4%b8%8e%e5%ba%93\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/cn\/r-%e5%bf%85%e8%a6%81%e6%80%a7%e4%b8%8e%e5%ba%93\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R\u4e2drequire()\u548clibrary()\u7684\u533a\u522b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/cn\/#website\",\"url\":\"https:\/\/statorials.org\/cn\/\",\"name\":\"Statorials\",\"description\":\"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/cn\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\",\"name\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\"},\"description\":\"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a\",\"sameAs\":[\"https:\/\/statorials.org\/cn\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"R\u4e2drequire()\u548clibrary()\u7684\u533a\u522b - Statory","description":"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86 R \u4e2d require() \u548c library() \u51fd\u6570\u4e4b\u95f4\u7684\u533a\u522b\uff0c\u5305\u62ec\u793a\u4f8b\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/cn\/r-\u5fc5\u8981\u6027\u4e0e\u5e93\/","og_locale":"zh_CN","og_type":"article","og_title":"R\u4e2drequire()\u548clibrary()\u7684\u533a\u522b - Statory","og_description":"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86 R \u4e2d require() \u548c library() \u51fd\u6570\u4e4b\u95f4\u7684\u533a\u522b\uff0c\u5305\u62ec\u793a\u4f8b\u3002","og_url":"https:\/\/statorials.org\/cn\/r-\u5fc5\u8981\u6027\u4e0e\u5e93\/","og_site_name":"Statorials","article_published_time":"2023-07-14T07:30:34+00:00","author":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/cn\/r-%e5%bf%85%e8%a6%81%e6%80%a7%e4%b8%8e%e5%ba%93\/","url":"https:\/\/statorials.org\/cn\/r-%e5%bf%85%e8%a6%81%e6%80%a7%e4%b8%8e%e5%ba%93\/","name":"R\u4e2drequire()\u548clibrary()\u7684\u533a\u522b - Statory","isPartOf":{"@id":"https:\/\/statorials.org\/cn\/#website"},"datePublished":"2023-07-14T07:30:34+00:00","dateModified":"2023-07-14T07:30:34+00:00","author":{"@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261"},"description":"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86 R \u4e2d require() \u548c library() \u51fd\u6570\u4e4b\u95f4\u7684\u533a\u522b\uff0c\u5305\u62ec\u793a\u4f8b\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/cn\/r-%e5%bf%85%e8%a6%81%e6%80%a7%e4%b8%8e%e5%ba%93\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/cn\/r-%e5%bf%85%e8%a6%81%e6%80%a7%e4%b8%8e%e5%ba%93\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/cn\/r-%e5%bf%85%e8%a6%81%e6%80%a7%e4%b8%8e%e5%ba%93\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/cn\/"},{"@type":"ListItem","position":2,"name":"R\u4e2drequire()\u548clibrary()\u7684\u533a\u522b"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/cn\/#website","url":"https:\/\/statorials.org\/cn\/","name":"Statorials","description":"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/cn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261","name":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a"},"description":"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a","sameAs":["https:\/\/statorials.org\/cn"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/3993","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/comments?post=3993"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/3993\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/media?parent=3993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/categories?post=3993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/tags?post=3993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}