{"id":59035,"date":"2024-06-17T07:24:43","date_gmt":"2024-06-16T23:24:43","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=59035"},"modified":"2024-06-17T07:24:43","modified_gmt":"2024-06-16T23:24:43","slug":"%e5%b8%88%e5%a6%b9%e5%b8%a6%e5%ad%a6r%e8%af%ad%e8%a8%80%e4%b9%8b%e6%95%b0%e6%8d%ae%e8%be%93%e5%85%a5day2","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=59035","title":{"rendered":"\u5e08\u59b9\u5e26\u5b66R\u8bed\u8a00\u4e4b\u6570\u636e\u8f93\u5165day2"},"content":{"rendered":"<p><html><br \/>\n<head><br \/>\n<title><\/title><br \/>\n<meta charset=\"utf-8\"><br \/>\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover\"><\/p>\n<style>\n*{margin:0;padding:0}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.6}img{z-index:999;position:relative;max-width:100%;margin:10px 0;}body{letter-spacing:.034em}h1,h2,h3,h4,h5,h6{font-weight:400;font-size:16px}a{color:#576b95;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}td,th{word-wrap:break-word;padding:5px 10px;border:1px solid #DDD;}table{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}.rich_media_area_primary{padding:20px 16px 12px;background-color:#fafafa}@media (max-width:375px){.rich_media_area_primary{padding:20px 60px 15px 60px}.rich_media_area_extra{padding:0 60px 21px 60px}}@media (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner,body{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media{padding:20px;overflow:hidden;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}@media screen and (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media_content{overflow:hidden;color:#333;font-size:17px;word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;text-align:justify;position:relative;z-index:0}.rich_media_content *{max-width:100%!important;box-sizing:border-box!important;-webkit-box-sizing:border-box!important;word-wrap:break-word!important}.rich_media_content p{clear:both;min-height:1em}.rich_media_content em{font-style:italic}.rich_media_content fieldset{min-width:0}.rich_media_content .list-paddingleft-1,.rich_media_content .list-paddingleft-2,.rich_media_content .list-paddingleft-3{padding-left:2.2em}.rich_media_content .list-paddingleft-1 .list-paddingleft-2,.rich_media_content .list-paddingleft-2 .list-paddingleft-2,.rich_media_content .list-paddingleft-3 .list-paddingleft-2{padding-left:30px}.rich_media_content .list-paddingleft-1{padding-left:1.2em}.rich_media_content .list-paddingleft-3{padding-left:3.2em}.rich_media_content .code-snippet,.rich_media_content .code-snippet__fix{max-width:1000%!important}.rich_media_content .code-snippet *,.rich_media_content .code-snippet__fix *{max-width:1000%!important}.rich_media_title{font-size:22px;line-height:1.4;margin-bottom:13px;padding-bottom:13px;border-bottom:1px solid #e7e7eb;}@supports(-webkit-overflow-scrolling:touch){.rich_media_title{font-weight:700}}.rich_media_meta{display:inline-block;vertical-align:middle;padding:0 0 10px 0;font-size:15px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.rich_media_meta.icon_appmsg_tag{margin-right:0px}.rich_media_meta.meta_tag_text{margin-right:0}.rich_media_meta_list em{font-style:normal}.rich_media_meta_text{color:#a5a5a5;}p{margin:0;}.msgBox{margin-top:20px;padding-top:20px;padding-left:50px;overflow:hidden;border-top:2px dashed #09a2ff;}.msg{padding-top:7px;clear:both;}.msgBody{float:right;width:100%;margin-left:55px;padding-bottom:15px;border-bottom:1px dashed #e0e0e0;}.userHeadImg{float:left;margin-left:-50px;}.userHeadImg img{width:40px;height:40px;margin-right:10px;border-radius:3px;}.userName{color:#888888;line-height:24px;font-size:14px;margin:5px 0 5px 0;height:24px;}.replyBody,.autherBody{color:#565656;font-size:15px;}.replyIcon{border-left:4px solid #33ab01;margin-right:5px;}.ad{text-decoration:none;color:#d6d4d4;font-size:12px;}.msgBodyReply{padding-top:5px;}.userName span{float:right;color:#afafaf;font-size:14px;}code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;}.code-snippet__fix{font-size:14px;margin:10px 0;display:block;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:-webkit-box;display:-webkit-flex;display:flex;padding-left:25px;line-height:26px}.code-snippet__fix code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;font-family:Consolas,\"Liberation Mono\",Menlo,Courier,monospace}.code-snippet__comment,.code-snippet__quote{color:#afafaf;font-style:italic}.code-snippet__keyword,.code-snippet__selector-tag,.code-snippet__subst{color:#ca7d37}.code-snippet__number,.code-snippet__literal,.code-snippet__variable,.code-snippet__template-variable,.code-snippet__tag .code-snippet__attr{color:#0e9ce5}.code-snippet__string,.code-snippet__doctag{color:#d14}.code-snippet__title,.code-snippet__section,.code-snippet__selector-id{color:#d14}.code-snippet__subst{font-weight:normal}.code-snippet__type,.code-snippet__class .code-snippet__title{color:#0e9ce5}.code-snippet__tag,.code-snippet__name,.code-snippet__attribute{color:#0e9ce5;font-weight:normal}.code-snippet__regexp,.code-snippet__link{color:#ca7d37}.code-snippet__symbol,.code-snippet__bullet{color:#d14}.code-snippet__built_in,.code-snippet__builtin-name{color:#ca7d37}.code-snippet__meta{color:#afafaf}.code-snippet__deletion{background:#fdd}.code-snippet__addition{background:#dfd}.code-snippet__emphasis{font-style:italic}.code-snippet__strong{font-weight:bold}.account_avatar{width:40px;height:40px;padding:0;}.account_info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;padding:20px 0;align-items:center}.flex_bd{padding-left:14px;}.account_nickname{display:inline-block;vertical-align:middle;line-height:1.2;color:#576b95;font-size:14px}.account_desc{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;color:rgba(0,0,0,0.3);font-size:14px;line-height:1.2;padding-top:.4em}.msg_source_url{text-align:left;word-break:break-all;margin-top:20px;}.msg_source_url a{padding-right:10px;}.msg_source_url .url_text{color:#a8a8a8;}.video-desc{font-size:14px;margin-top:15px;color:#6c6c6c;}.msg_source_url{text-align:left;}.original_primary_card_tips{color:rgba(0,0,0,0.3);line-height:1.4;font-size:15px;}.weui-flex__item{margin-bottom:20px;padding:20px 16px;margin-top:16px;line-height:1.4;align-items:center;background-color:#f7f7f7;border-radius:8px;position:relative;}.original_primary_desc{color:rgba(0,0,0,0.5);font-size:14px;padding-top:4px;width:auto;overflow:hidden;text-overflow:ellipsis;}.msgBodyReplyList{border-top:1px solid #e1e1e1;margin-top:10px;}.msgBodyReplyListTop{border-top:0;}.reply_like_num{float:right;font-size:14px;color:#c7c7c7;}.msgData{margin-top:20px;color:#626262;}.msgData span{font-size:14px;padding-right:15px;}.msgData .likes{float:right;padding-right:0;}.js_text_content p{font-size:18px;}.rich_media_meta_link{font-size:15px;}blockquote {padding-left: 10px;border-left: 3px solid #dbdbdb;color: rgba(0,0,0,0.5);font-size: 15px;padding-top: 4px;margin: 1em 0;}.video_iframe{width:500px;height:400px;}.blockquote_info{color:#b5b5b5;margin-top:10px;}#copyright_logo{color:#bdbdbd;}.rich_media_meta_list{margin-bottom:10px;}.reprint{background:#efefef;border-radius:5px;padding:8px;color:#1f1f1f;}.reprint a{word-break:break-all;}.topic{color:#8e8e8e;background:#f7f7f7;border-radius:5px;padding:10px 8px;}.topic a{padding-right:5px;}.topic p{margin-bottom:5px;}\n<\/style>\n<link href=\"https:\/\/www.juyifx.cn\/config\/css\/wxArticle.css\" rel=\"stylesheet\"\/>\n<\/head><script>\nvar data={\"mp\":\"\u751f\u4fe1\u679c\",\"title\":\"\u5e08\u59b9\u5e26\u5b66R\u8bed\u8a00\u4e4b\u6570\u636e\u8f93\u5165day2\",\"time\":\"2023-06-03 19:00:11\",\"timeStamp\":\"1685790011\"};\n<\/script><br \/>\n<body><\/p>\n<div class=\"rich_media\">\n<h1 class=\"rich_media_title\" id=\"activity-name\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&#038;mid=2247488012&#038;idx=2&#038;sn=860ac6004dda876e28d967c5497b587e&#038;chksm=cf7c82c9f80b0bdf570220ca135d56e87cdaf27f97b39de2bf4f4eacb5a767c1fff0ec444fb8#rd\" target=\"_blank\" rel=\"noopener\">\u5e08\u59b9\u5e26\u5b66R\u8bed\u8a00\u4e4b\u6570\u636e\u8f93\u5165day2<\/a><\/h1>\n<div id=\"meta_content\" class=\"rich_media_meta_list\"><span class=\"rich_media_meta rich_media_meta_text\">\u5c0f\u5e08\u59b9&nbsp;&nbsp;<\/span><span class=\"rich_media_meta rich_media_meta_nickname\" id=\"profileBt\"><a href=\"javascript:void(0);\" class=\"wx_tap_link js_wx_tap_highlight weui-wa-hotarea\" id=\"js_name\">\u751f\u4fe1\u679c&nbsp;&nbsp;<\/a><\/span><em id=\"publish_time\" class=\"rich_media_meta rich_media_meta_text\">2023-06-03 19:00:11<\/em><\/div>\n<p><content><\/p>\n<div class=\"reprint\">\n<p>\u8f6c\u81ea\u516c\u4f17\u53f7\uff1aR\u8bed\u8a00\u5b66\u5f92<br \/><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MDk3Mzg4OA==&#038;mid=2247483859&#038;idx=1&#038;sn=c5c52703a8e9e65529b92a65646dae9c\" target=\"_blank\" title=\"\u9605\u8bfb\u539f\u6587\" rel=\"noopener\">http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MDk3Mzg4OA==&#038;mid=2247483859&#038;idx=1&#038;sn=c5c52703a8e9e65529b92a65646dae9c<\/a><\/p>\n<\/div>\n<section style=\"font-size: 16px;margin-bottom: 24px;\">\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: 10px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: middle;width: auto;align-self: center;flex: 0 0 auto;min-width: 5%;height: auto;\">\n<section style=\"transform: scale(0.77);transform-origin: center center;margin-top: -6px;margin-bottom: -6px;\" powered-by=\"xiumi.us\">\n<section style=\"\">\n<section style=\"display: inline-block;width: 40px;height: 40px;vertical-align: top;overflow: hidden;background-color: rgb(249, 172, 172);border-width: 0px;border-radius: 65px;border-style: none;border-color: rgb(62, 62, 62);\">\n<section style=\"display: flex;flex-flow: row nowrap;justify-content: center;margin-top: 7px;margin-right: 0%;margin-left: 0%;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: top;width: 20px;flex: 0 0 auto;align-self: flex-start;height: auto;line-height: 0;border-width: 0px;border-style: none;border-color: rgb(62, 62, 62);overflow: hidden;\">\n<section style=\"transform: rotateZ(55deg);\" powered-by=\"xiumi.us\">\n<section style=\"text-align: right;margin-right: 0%;margin-bottom: 18px;margin-left: 0%;transform: translate3d(13px, 0px, 0px);\">\n<section style=\"display: inline-block;width: 20px;height: 8px;vertical-align: top;overflow: hidden;background-color: rgb(255, 255, 255);border-radius: 50%;border-width: 0px;border-style: none;border-color: rgb(62, 62, 62);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: 20px;flex: 0 0 auto;align-self: flex-start;height: auto;line-height: 0;border-width: 0px;border-style: none;border-color: rgb(62, 62, 62);overflow: hidden;\">\n<section style=\"transform: rotateZ(305deg);\" powered-by=\"xiumi.us\">\n<section style=\"text-align: left;margin-right: 0%;margin-bottom: 18px;margin-left: 0%;transform: translate3d(-13px, 0px, 0px);\">\n<section style=\"display: inline-block;width: 20px;height: 8px;vertical-align: top;overflow: hidden;background-color: rgb(255, 255, 255);border-radius: 50%;border-width: 0px;border-style: none;border-color: rgb(62, 62, 62);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;align-self: center;flex: 100 100 0%;height: auto;padding-left: 10px;\">\n<section style=\"text-align: left;\" powered-by=\"xiumi.us\">\n<section style=\"color: rgb(29, 29, 29);\">\n<p>\u70b9\u51fb\u84dd\u5b57<\/p>\n<p>\u5173\u6ce8\u6211\u4eec<br  \/><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\">\u5927\u5bb6\u597d\uff0c\u6b22\u8fce\u6765\u5230\u5c0f\u5e08\u59b9\u7684R\u8bed\u8a00\u5c0f\u8bfe\u5802\uff0c\u70ed\u4e4e\u4e4e\u7684\u7b2c\u4e8c\u5929\u7684\u5c0f\u6280\u5de7\uff0c\u8ddf\u7740\u6211\u6765\u4e00\u8d77\u5b66\u4e60\u5427\uff01<\/p>\n<p style=\"white-space: normal;\">\u8fd9\u4e00\u671f\u7684\u4e3b\u8981\u5185\u5bb9\u662f\u5173\u4e8eR\u8bed\u8a00\u7684\u6570\u636e\u8f93\u5165\u3002<\/p>\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<p style=\"white-space: normal;\">read.table()\u51fd\u6570\u662f\u8bfb\u8868\u683c\u5f62\u5f0f\u7684\u6587\u4ef6\uff0c\u4f8b\u5982\uff0c\u8bfb\u53d6data.txt\u6587\u4ef6\u65f6\uff0c\u5176\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">data&lt;-read.table(\u201c.\/data.txt\u201d,sep=\u2019t\u2019,header=<span class=\"code-snippet__literal\">TRUE<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<p style=\"white-space: normal;\" powered-by=\"xiumi.us\">#header=TRUE\u8868\u793a\u7b2c\u4e00\u884c\u8bfb\u5165\u7684\u662f\u53d8\u91cf\u540d\uff0c\u9ed8\u8ba4\u662fheader=FALSE\uff0c\u5373\u81ea\u52a8\u56de\u586b\u4e0a\u5217\u540d\u3002<br  \/><\/p>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;width: 50%;height: auto;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"1.4050104384133613\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/1_m44ZbmHdlzhJ6Gcu9qpHEVPYelXtfg.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUlAE2RwAwvV2sRZWk6M5ydXyItkFiajh8EAUueaxNF2Yh34m44ZbmHdlzhJ6Gcu9qpHEVPYelXtfg\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"479\" style=\"vertical-align: middle;width: 289px;height: 406px;\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<section style=\"font-size: 12px;color: rgb(160, 160, 160);\" powered-by=\"xiumi.us\">\n<p style=\"text-align: center;white-space: normal;\">\u56fe 1\u8bfb\u5165\u6570\u636e<\/p>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<p style=\"white-space: normal;\">\u5728\u8fd9\u91cc\u5c0f\u5e08\u59b9\u5411\u5927\u5bb6\u63d0\u51e0\u4e2a\u5c0f\u95ee\u9898\uff1a<\/p>\n<p style=\"white-space: normal;\">\u5982\u4f55\u53ea\u8bfb\u53d6\u524d10\u884c\uff1f<\/p>\n<p style=\"white-space: normal;\">\u5982\u4f55\u8df3\u8fc7\u4e00\u4e9b\u884c\uff1f<\/p>\n<p style=\"white-space: normal;\">\u5982\u4f55\u5236\u5b9a\u884c\u540d\u6216\u8005\u5217\u540d\u5462\uff1f<\/p>\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<p style=\"white-space: normal;\">\u5927\u5bb6\u53ef\u4ee5\u81ea\u5df1\u60f3\u4e00\u60f3\u54e6\uff0c\u5c0f\u5e08\u59b9\u7ed9\u4e2a\u63d0\u793a\u5427\uff1a\u4f7f\u7528\u53c2\u6570header sep skip nrows row.,names<\/p>\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<p style=\"white-space: normal;\">\u9664\u4e86read.table()\uff0c\u8fd8\u6709\u5176\u4ed6\u8bfb\u5165\u6570\u636e\u7684\u65b9\u6cd5\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">d&lt;-read.csv(\u201cdata.csv\u201d) <span class=\"code-snippet__comment\">#\u8bfb\u9017\u53f7\u5206\u9694\u7684\u6587\u672c\u6587\u4ef6<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">d-read.delim(\u201cdata.txt\u201d) <span class=\"code-snippet__comment\">#\u8bfb\u5236\u8868\u7b26\u5206\u9694\u7684\u6587\u4ef6<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">d&lt;-read.fwf(\u201ctxt.fwf\u201d)<span class=\"code-snippet__comment\">#\u8bfb\u56fa\u5b9a\u5bbd\u7684\u6587\u4ef6<\/span><\/span><\/code><\/pre>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\">\u5728\u8bfb\u53d6\u6587\u4ef6\u65f6\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff0c\u5c31\u662f\u4f7f\u7528file.choose()\u51fd\u6570\uff0c\u5b83\u53ef\u4ee5\u6253\u5f00\u6587\u4ef6\u9009\u62e9\u5bf9\u8bdd\u6846\u9009\u62e9\u6587\u4ef6\uff0c\u6216\u8005\u53ef\u67e5\u770b\u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55\u3002<br  \/><\/p>\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<p style=\"white-space: normal;\">R\u4e2d\u4e00\u822c\u4e0d\u80fd\u76f4\u63a5\u8bfb\u53d6xls\/xlsx\u6587\u4ef6\uff0c\u53ef\u4ee5\u5148\u8f6c\u6362\u6210csv\u6216\u8005txt\u7b49\u683c\u5f0f\u7684\u6587\u4ef6\uff0c\u6216\u8005\u5b89\u88c5\u80fd\u89e3\u6790xls\/xslx\u7684\u5305\u3002<\/p>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">Install.packages(\u201cxlsx\u201d)<\/span><\/code><code><span class=\"code-snippet_outer\">Library(xlsx)<\/span><\/code><\/pre>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\">\u7136\u540e\u5c31\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528read.xlsx()\u51fd\u6570\u8bfb\u53d6\u6587\u4ef6\u4e86\u3002<br  \/><\/p>\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<p style=\"white-space: normal;\">\u5982\u679c\u6211\u4eec\u8bfb\u53d6\u7684\u6587\u4ef6\u662fR\u683c\u5f0f\u7684\u6570\u636e\u7684\u8bdd\uff0c\u4e00\u822c\u6d41\u7a0b\u5982\u4e0b\uff1a<\/p>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">Ls() &nbsp;<span class=\"code-snippet__comment\">#\u67e5\u770b\u73af\u5883\u4e2d\u7684\u53d8\u91cf<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">load() <span class=\"code-snippet__comment\">#\u8be5\u51fd\u6570\u5c06R\u683c\u5f0f\u7684\u6587\u4ef6\u8f7d\u5165\u3002<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">Ls()<span class=\"code-snippet__comment\">#\u518d\u6b21\u67e5\u770b\u73af\u5883\u4e2d\u7684\u53d8\u91cf\uff0c\u770b\u770b\u6709\u54ea\u4e9b\u65b0\u7684\u53d8\u91cf\u6dfb\u52a0\u8fdb\u6765<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"white-space: normal;\" powered-by=\"xiumi.us\">\u63a5\u4e0b\u6765\u4ecb\u7ecdscan()\u51fd\u6570\uff0c\u5b83\u53ef\u4ee5\u76f4\u63a5\u8bfb\u7eaf\u6587\u672c\u6587\u4ef6\u6570\u636e\u548c\u76f4\u63a5\u4ece\u5c4f\u5e55\u4e0a\u8f93\u5165\u6570\u636e\u3002<\/p>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;width: 50%;height: auto;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.4962962962962963\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/2_wj3VWaib3YqOMOR7x19ibc8a3pkEDQ.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUlAE2RwAwvV2sRZWk6M5ydxgKBZ4Vzhv9dRBckjMMkjaNg1Gwj3VWaib3YqOMOR7x19ibc8a3pkEDQ\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"135\" style=\"vertical-align: middle;width: 100%;\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<section style=\"font-size: 12px;color: rgb(160, 160, 160);\" powered-by=\"xiumi.us\">\n<p style=\"text-align: center;white-space: normal;\">\u56fe 2 scan\u51fd\u6570\u793a\u4f8b\u56fe<\/p>\n<\/section>\n<section style=\"text-align: center;\" powered-by=\"xiumi.us\">\n<section style=\"text-align: justify;\">\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<p style=\"white-space: normal;\">\u63a5\u4e0b\u6765\u5c0f\u5e08\u59b9\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u5047\u8bbe\u670910\u540d\u5b66\u751f\u7684\u4f53\u91cd\u6570\u636e\u5df2\u7ecf\u8f93\u5165\u6587\u4ef6\u201cweight.txt\u201d\uff1b<\/p>\n<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">\u53ef\u4ee5\u4f7f\u7528w=scan(<span class=\"code-snippet__string\">\".\/weight.txt\"<\/span>) <span class=\"code-snippet__comment\">#\u6216scan(file.choose())\u9009\u62e9\u5bf9\u5e94\u6587\u4ef6\u3002<\/span><\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;\" powered-by=\"xiumi.us\">\n<section style=\"text-align: justify;\">\n<p style=\"white-space: normal;\">\u5047\u8bbeweight.txt\u4e2d\uff0c\u5947\u6570\u662f\u5973\u6027\u4f53\u91cd\uff0c\u5076\u6570\u662f\u7537\u6027\u4f53\u91cd\uff0c\u5373 \u6570\u636e\u4e2d\u6709\u4e0d\u540c\u7684\u5c5e\u6027\uff1a<\/p>\n<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">wfm &lt;- scan(\u201c.\/weight.txt<span class=\"code-snippet__string\">\", what=list(F = 0, M = 0)<\/span><\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;\" powered-by=\"xiumi.us\">\n<section style=\"text-align: justify;\">\n<p style=\"white-space: normal;\">\u4ee5\u4e0a\u5c31\u662f\u672c\u671f\u7684\u5185\u5bb9\u5566\uff01\u8ddf\u7740\u5c0f\u5e08\u59b9\u6bcf\u5929\u8fdb\u6b65\u4e00\u70b9\u70b9\u5427\uff01<\/p>\n<\/section>\n<\/section>\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row nowrap;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: middle;width: 33.33%;align-self: center;flex: 0 0 auto;\">\n<section style=\"margin-top: 0.5em;margin-bottom: 0.5em;\" powered-by=\"xiumi.us\">\n<section style=\"border-top: 1px dashed rgb(249, 172, 172);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;align-self: center;flex: 0 0 auto;min-width: 5%;height: auto;margin-right: 20px;margin-left: 20px;\">\n<section style=\"margin-top: -3px;\" powered-by=\"xiumi.us\">\n<section style=\"text-align: justify;color: rgb(246, 207, 63);font-size: 20px;\">\n<p style=\"text-align: center;white-space: normal;\">\u2605<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: 33.3333%;align-self: center;flex: 0 0 auto;\">\n<section style=\"margin-top: 0.5em;margin-bottom: 0.5em;\" powered-by=\"xiumi.us\">\n<section style=\"border-top: 1px dashed rgb(249, 172, 172);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"margin-bottom: 0px;font-size: 16px;letter-spacing: 0.578px;white-space: normal;\"><span style=\"text-align: center;letter-spacing: 0.034em;\"><\/span><\/p>\n<section style=\"margin-bottom: 0px;font-size: 16px;letter-spacing: 0.578px;white-space: normal;display: inline-block;width: 578px;vertical-align: top;background-color: rgb(248, 248, 248);align-self: flex-start;flex: 0 0 auto;\">\n<section style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-flow: row nowrap;justify-content: flex-start;\">\n<section style=\"margin-right: 30px;margin-left: 30px;display: inline-block;width: auto;vertical-align: top;flex: 100 100 0%;height: auto;align-self: flex-start;\">\n<section style=\"margin-top: 10px;margin-bottom: 10px;text-align: center;line-height: 0;\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;width: 165.75px;height: auto;\">\n<p style=\"margin-right: 15px;margin-left: 15px;line-height: 1.75em;\"><span style=\"background-color: rgb(209, 204, 102);\"><\/span><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"1.0018484288354899\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/3_cI8ibmMicsbTqIib079asIZ4uKuS6Q.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/RpJ9AibwAxrHda7noEqDcniacdL1ZtgwuZceOSlFQGLmVsUCMtCaEdjYDkEiakicI8ibmMicsbTqIib079asIZ4uKuS6Q\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"541\" style=\"vertical-align: inherit;\"  data-recalc-dims=\"1\" \/><\/p>\n<\/section>\n<\/section>\n<section style=\"margin-top: 10px;margin-bottom: 10px;text-align: center;justify-content: center;display: flex;flex-flow: row nowrap;\">\n<section style=\"display: inline-block;width: auto;vertical-align: top;align-self: flex-start;flex: 0 0 auto;border-style: solid;border-width: 1px;min-width: 5%;height: auto;\">\n<section style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;\">\n<section style=\"padding-right: 10px;padding-left: 10px;display: inline-block;vertical-align: top;width: auto;align-self: flex-start;flex: 0 0 auto;min-width: 5%;box-shadow: none;background-color: rgb(255, 255, 255);\">\n<section draggable=\"true\" style=\"text-align: justify;font-size: 15px;\">\n<p style=\"margin-right: 15px;margin-left: 15px;line-height: 1.75em;\"><span style=\"letter-spacing: 0.5px;font-family: \u5fae\u8f6f\u96c5\u9ed1, &quot;Microsoft YaHei&quot;;\">\u5e08\u59b9\u5fae\u4fe1<\/span><\/p>\n<\/section>\n<\/section>\n<section style=\"padding-right: 10px;padding-left: 10px;display: inline-block;vertical-align: top;width: auto;min-width: 5%;flex: 0 0 auto;height: auto;background-color: rgb(207, 204, 201);\">\n<section style=\"text-align: justify;color: rgb(255, 255, 255);font-size: 15px;\">\n<p style=\"margin-right: 15px;margin-left: 15px;line-height: 1.75em;\"><span style=\"letter-spacing: 0.5px;font-family: \u5fae\u8f6f\u96c5\u9ed1, &quot;Microsoft YaHei&quot;;\">\u626b\u7801\u6dfb\u52a0<\/span><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"margin-bottom: 0px;\"><br style=\"font-size: 16px;letter-spacing: 0.578px;white-space: normal;\"  \/><\/p>\n<section class=\"mp_profile_iframe_wrp\"><mp-common-profile class=\"js_uneditable custom_select_card mp_profile_iframe\" data-pluginname=\"mpprofile\" data-weui-theme=\"light\" data-id=\"Mzg5MDk3Mzg4OA==\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/oCSOtP61aEVVCT8bjvGjvicxiaj3q39iaClXlQMVUcyTp0N2Jr5MX57B5mxKLt8W1YiaA7lEibyicLLicYAMJImkJQs4A\/0?wx_fmt=png\" data-nickname=\"R\u8bed\u8a00\u5b66\u5f92\" data-alias=\"\" data-signature=\"R\u8bed\u8a00\u5b66\u4e60\" data-from=\"0\" data-is_biz_ban=\"0\"><\/mp-common-profile><\/section>\n<p style=\"white-space: normal;\" powered-by=\"xiumi.us\"><br  \/><\/p>\n<\/section>\n<p style=\"display: none;margin-bottom: 24px;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<p><\/content>\n<\/div>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5e08\u59b9\u5e26\u5b66R\u8bed\u8a00\u4e4b\u6570\u636e\u8f93\u5165day2 \u5c0f\u5e08\u59b9&nbsp;&nbsp;\u751f\u4fe1\u679c&nbsp;&nbsp;2023-06- [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/59035"}],"collection":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=59035"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/59035\/revisions"}],"predecessor-version":[{"id":59039,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/59035\/revisions\/59039"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=59035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=59035"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=59035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}