{"id":43283,"date":"2025-06-11T12:50:58","date_gmt":"2025-06-11T04:50:58","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/43283.html"},"modified":"2025-06-11T12:50:58","modified_gmt":"2025-06-11T04:50:58","slug":"%e3%80%90%e6%9c%8d%e5%8a%a1%e5%99%a8%e3%80%91%e8%bf%90%e8%a1%8cr%e8%af%ad%e8%a8%80%e4%bb%a3%e7%a0%81%ef%bc%9ar%e7%8e%af%e5%a2%83%e5%ae%89%e8%a3%85%e5%8f%8a%e4%bb%a3%e7%a0%81%e8%bf%90%e8%a1%8c%ef%bc%88","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/43283.html","title":{"rendered":"\u3010\u670d\u52a1\u5668\u3011\u8fd0\u884cR\u8bed\u8a00\u4ee3\u7801\uff1aR\u73af\u5883\u5b89\u88c5\u53ca\u4ee3\u7801\u8fd0\u884c\uff08conda\uff09"},"content":{"rendered":"<\/p>\n<h4>\u76ee\u5f55<\/h4>\n<ul>\n<li>\u4e00\u3001\u51c6\u5907\u5de5\u4f5c&#xff1a;\u5b89\u88c5 Miniconda&#xff08;\u5982\u679c\u672a\u5b89\u88c5&#xff09;<\/li>\n<li>\n<ul>\n<li>1.1 \u4e0b\u8f7d Miniconda \u5b89\u88c5\u811a\u672c<\/li>\n<li>1.2 \u5b89\u88c5 Miniconda&#xff08;\u5b89\u88c5\u5230\u4f60\u7684 home \u76ee\u5f55&#xff09;<\/li>\n<li>1.3 \u91cd\u65b0\u52a0\u8f7d shell \u73af\u5883\u53d8\u91cf<\/li>\n<\/ul>\n<\/li>\n<li>\u4e8c\u3001\u521b\u5efa R \u73af\u5883\u5e76\u5b89\u88c5 R<\/li>\n<li>\n<ul>\n<li>2.1 \u521b\u5efa\u540d\u4e3a r_env \u7684 Conda \u73af\u5883&#xff0c;\u5e76\u5b89\u88c5 R<\/li>\n<li>2.2 \u6fc0\u6d3b R \u73af\u5883<\/li>\n<li>\n<ul>\n<li>\u6fc0\u6d3b\u9519\u8bef-CondaError: Run &#039;conda init&#039; before &#039;conda activate&#039;<\/li>\n<\/ul>\n<\/li>\n<li>2.3 \u9a8c\u8bc1 R \u5b89\u88c5<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001\u5b89\u88c5 R \u5305&#xff08;\u4f7f\u7528 Conda \u6216 R \u5185\u90e8&#xff09;<\/li>\n<li>\n<ul>\n<li>\u65b9\u6cd5 1&#xff1a;\u4f7f\u7528 Conda \u5b89\u88c5\u5e38\u89c1 R \u5305&#xff08;\u63a8\u8350&#xff09;<\/li>\n<li>\u65b9\u6cd5 2&#xff1a;\u4f7f\u7528 R \u547d\u4ee4\u884c\u5b89\u88c5&#xff08;\u5982\u5305\u5728 Conda \u4e2d\u4e0d\u53ef\u7528&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\u670d\u52a1\u5668\u4e2d\u5b89\u88c5\u5e93\u5305-\u5b9e\u4f8b\u8bf4\u660e<\/li>\n<li>\n<ul>\n<li>&#x1f4e6; \u4e00\u3001\u901a\u8fc7 CRAN \u5b89\u88c5\u7684\u5305<\/li>\n<li>\u66ff\u4ee3\u65b9\u6848&#xff1a;\u4f7f\u7528 Conda \u5b89\u88c5 R \u5305&#xff08;\u5982\u679c\u53ef\u7528&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\u56db\u3001\u8fd0\u884c R \u811a\u672c<\/li>\n<li>\n<ul>\n<li>4.1 \u521b\u5efa\u4e00\u4e2a\u6d4b\u8bd5 R \u811a\u672c<\/li>\n<li>4.2 \u4f7f\u7528 Rscript \u8fd0\u884c<\/li>\n<\/ul>\n<\/li>\n<li>\u53c2\u8003<\/li>\n<\/ul>\n<p>\u4ee5\u4e0b\u662f\u4f7f\u7528 Conda \u5b89\u88c5 R\u3001\u7ba1\u7406\u4f9d\u8d56\u548c\u8fd0\u884c R \u811a\u672c\u7684\u8be6\u7ec6\u6b65\u9aa4\u3002<\/p>\n<h2>\u4e00\u3001\u51c6\u5907\u5de5\u4f5c&#xff1a;\u5b89\u88c5 Miniconda&#xff08;\u5982\u679c\u672a\u5b89\u88c5&#xff09;<\/h2>\n<p>\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u7684\u8be6\u7ec6\u6b65\u9aa4\u53ef\u53c2\u89c1\u53e6\u4e00\u535a\u5ba2-\u3010WRF\u5de5\u5177\u3011\u670d\u52a1\u5668\u4e0a\u4f7f\u7528conda\u5b89\u88c5NCL\u3002<\/p>\n<h3>1.1 \u4e0b\u8f7d Miniconda \u5b89\u88c5\u811a\u672c<\/h3>\n<p>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">wget<\/span> https:\/\/repo.anaconda.com\/miniconda\/Miniconda3-latest-Linux-x86_64.sh<\/p>\n<h3>1.2 \u5b89\u88c5 Miniconda&#xff08;\u5b89\u88c5\u5230\u4f60\u7684 home \u76ee\u5f55&#xff09;<\/h3>\n<p>\u8fd0\u884c\u5b89\u88c5\u811a\u672c&#xff0c;\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff0c;<\/p>\n<p><span class=\"token function\">bash<\/span> Miniconda3-latest-Linux-x86_64.sh<\/p>\n<ul>\n<li>\u9009\u62e9\u5b89\u88c5\u8def\u5f84&#xff08;\u5efa\u8bae\u9ed8\u8ba4\u5b89\u88c5\u5728 ~\/miniconda3&#xff09;<\/li>\n<li>\u5b89\u88c5\u7ed3\u675f\u540e\u63d0\u793a\u662f\u5426\u521d\u59cb\u5316 shell&#xff0c;\u9009\u62e9 yes<\/li>\n<\/ul>\n<h3>1.3 \u91cd\u65b0\u52a0\u8f7d shell \u73af\u5883\u53d8\u91cf<\/h3>\n<p><span class=\"token builtin class-name\">source<\/span> ~\/.bashrc<\/p>\n<p>\u67e5\u627e\u5e76\u67e5\u770bconda\u7248\u672c<\/p>\n<p># \u67e5\u627econda<br \/>\nwhich conda<\/p>\n<p># \u67e5\u770bconda\u7248\u672c<br \/>\nconda <span class=\"token operator\">&#8212;<\/span>version<\/p>\n<p>\u670d\u52a1\u5668\u4e2d\u67e5\u770b\u754c\u9762\u5982\u4e0b&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250611045055-68490b2fdcc05.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"520\" \/><\/p>\n<h2>\u4e8c\u3001\u521b\u5efa R \u73af\u5883\u5e76\u5b89\u88c5 R<\/h2>\n<h3>2.1 \u521b\u5efa\u540d\u4e3a r_env \u7684 Conda \u73af\u5883&#xff0c;\u5e76\u5b89\u88c5 R<\/h3>\n<p>\u6839\u636e\u9700\u8981&#xff0c;\u4f7f\u7528conda\u5b89\u88c5\u6307\u5b9a\u7248\u672c\u7684R\u73af\u5883&#xff0c;\u5982\u4e0b&#xff1a;<\/p>\n<p>conda create <span class=\"token parameter variable\">-n<\/span> r_env r-base<span class=\"token operator\">&#061;<\/span><span class=\"token number\">4.2<\/span><\/p>\n<p>\u6ce8\u610f&#xff1a;\u5f53\u5b89\u88c5R\u7684\u65e7\u7248\u672c\u65f6&#xff0c;\u53ef\u80fd\u4f1a\u51fa\u9519\u3002Anaconda \u9ed8\u8ba4\u4f7f\u7528\u7684\u662f defaults \u901a\u9053&#xff0c;\u800c R \u7684\u8bb8\u591a\u7248\u672c&#xff08;\u7279\u522b\u662f\u65e7\u7248\u672c&#xff09;\u5728 conda-forge \u901a\u9053\u4e2d\u624d\u53ef\u7528\u3002<\/p>\n<p>conda create <span class=\"token parameter variable\">-n<\/span> r_env <span class=\"token parameter variable\">-c<\/span> conda-forge r-base<span class=\"token operator\">&#061;<\/span><span class=\"token number\">4.0<\/span>.2<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250611045055-68490b2fee396.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"520\" \/> \u5b89\u88c5\u6210\u529f&#xff0c;\u5982\u4e0b&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250611045056-68490b3060803.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"420\" \/><\/p>\n<h3>2.2 \u6fc0\u6d3b R \u73af\u5883<\/h3>\n<p>conda activate r_env<br \/>\nsource activate r_env<\/p>\n<h4>\u6fc0\u6d3b\u9519\u8bef-CondaError: Run \u2018conda init\u2019 before \u2018conda activate\u2019<\/h4>\n<p>\u5728\u4f7f\u7528\u4e0a\u8ff0\u4ee3\u7801\u6fc0\u6d3bR\u73af\u5883\u65f6&#xff0c;\u63d0\u793a\u4ee5\u4e0b\u9519\u8bef&#xff1a;<\/p>\n<p>CondaError<span class=\"token operator\">:<\/span> Run <span class=\"token char\">&#039;conda init&#039;<\/span> before <span class=\"token char\">&#039;conda activate&#039;<\/span><br \/>\n<span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><br \/>\nUnicodeDecodeError<span class=\"token operator\">:<\/span> <span class=\"token char\">&#039;utf-8&#039;<\/span> codec can&#039;t decode byte <span class=\"token number\">0xbb<\/span> in position <span class=\"token number\">1624<\/span><span class=\"token operator\">:<\/span> invalid start byte<\/p>\n<p>\u8fd9\u610f\u5473\u7740&#xff1a;<\/p>\n<ul>\n<li>Conda \u8981\u6c42\u4f60\u5148\u8fd0\u884c conda init \u6765\u914d\u7f6e shell \u73af\u5883&#xff1b;<\/li>\n<li>\u4f46 conda init \u6267\u884c\u65f6&#xff0c;\u5c1d\u8bd5\u8bfb\u53d6\u67d0\u4e2a\u914d\u7f6e\u6587\u4ef6&#xff08;\u5982 .bashrc \u6216 .bash_profile&#xff09;\u5931\u8d25&#xff0c;\u539f\u56e0\u662f\u6587\u4ef6\u4e2d\u5305\u542b\u4e86\u975e UTF-8 \u7f16\u7801\u5b57\u7b26&#xff0c;\u5bfc\u81f4 UnicodeDecodeError\u3002<\/li>\n<\/ul>\n<p>&#x1f50d; \u6b65\u9aa4 1&#xff1a;\u627e\u51fa\u51fa\u9519\u7684\u6587\u4ef6<\/p>\n<p>UnicodeDecodeError: <span class=\"token string\">&#039;utf-8&#039;<\/span> codec can&#039;t decode byte 0xbb <span class=\"token keyword\">in<\/span> position <span class=\"token number\">1624<\/span><\/p>\n<p>\u53ef\u4ee5\u5c1d\u8bd5\u7528 less \u6216 vim \u6253\u5f00\u8fd9\u4e9b\u6587\u4ef6&#xff1a;<\/p>\n<p>less <span class=\"token operator\">~<\/span><span class=\"token operator\">\/<\/span><span class=\"token punctuation\">.<\/span>bashrc<\/p>\n<p>vim <span class=\"token operator\">~<\/span><span class=\"token operator\">\/<\/span><span class=\"token punctuation\">.<\/span>bashrc<\/p>\n<p>\u7136\u540e\u8df3\u8f6c\u5230\u51fa\u9519\u4f4d\u7f6e&#xff08;\u7b2c 1624 \u5b57\u8282&#xff09;&#xff0c;\u68c0\u67e5\u662f\u5426\u6709\u4e71\u7801\u6216\u975e\u6cd5\u5b57\u7b26&#xff08;\u6bd4\u5982 DOS \u683c\u5f0f\u3001\u4e2d\u6587\u6ce8\u91ca\u3001\u590d\u5236\u7c98\u8d34\u7684\u5947\u602a\u7b26\u53f7\u7b49&#xff09;\u3002<\/p>\n<p>&#x1f9f9; \u6b65\u9aa4 2&#xff1a;\u6e05\u7406\u975e\u6cd5\u5b57\u7b26 \u6253\u5f00\u6587\u4ef6\u540e&#xff1a;<\/p>\n<ul>\n<li>\u5220\u9664\u4e71\u7801\u6216\u975e UTF-8 \u5b57\u7b26\u3002<\/li>\n<li>\u5efa\u8bae\u4f7f\u7528 UTF-8 \u7f16\u7801\u4fdd\u5b58\u6587\u4ef6\u3002<\/li>\n<li>\u4e5f\u53ef\u4ee5\u4f7f\u7528 iconv \u5de5\u5177\u5c06\u6587\u4ef6\u8f6c\u6362\u4e3a UTF-8 \u7f16\u7801&#xff1a;<\/li>\n<\/ul>\n<p>&#x1f9ea; \u6b65\u9aa4 3&#xff1a;\u624b\u52a8\u521d\u59cb\u5316 Conda&#xff08;\u7ed5\u8fc7 conda init&#xff09;<\/p>\n<p>\u5982\u679c\u4e0d\u60f3\u6216\u4e0d\u80fd\u4fee\u6539 .bashrc&#xff0c;\u4e5f\u53ef\u4ee5\u624b\u52a8\u521d\u59cb\u5316 Conda \u73af\u5883&#xff1a;<\/p>\n<p>\u4e34\u65f6\u542f\u7528 Conda&#xff08;\u63a8\u8350\u65b9\u6cd5&#xff09;<\/p>\n<p><span class=\"token builtin class-name\">source<\/span> ~\/miniconda3\/etc\/profile.d\/conda.sh<br \/>\nconda activate r_env<\/p>\n<p>\u53ef\u4ee5\u5c06 source ~\/miniconda3\/etc\/profile.d\/conda.sh \u6dfb\u52a0\u5230 ~\/.bashrc \u4e2d&#xff0c;\u4ee3\u66ff\u81ea\u52a8 conda init\u3002<\/p>\n<h3>2.3 \u9a8c\u8bc1 R \u5b89\u88c5<\/h3>\n<p>\u67e5\u770b R \u7248\u672c&#xff0c;\u4ee3\u7801\u5982\u4e0b&#xff1a;<\/p>\n<p>R <span class=\"token operator\">&#8212;<\/span>version<\/p>\n<p>\u670d\u52a1\u5668\u4e2d\u754c\u9762\u5982\u4e0b&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250611045056-68490b3087ee6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"420\" \/><\/p>\n<h2>\u4e09\u3001\u5b89\u88c5 R \u5305&#xff08;\u4f7f\u7528 Conda \u6216 R \u5185\u90e8&#xff09;<\/h2>\n<h3>\u65b9\u6cd5 1&#xff1a;\u4f7f\u7528 Conda \u5b89\u88c5\u5e38\u89c1 R \u5305&#xff08;\u63a8\u8350&#xff09;<\/h3>\n<p>conda install <span class=\"token operator\">&#8211;<\/span>c conda<span class=\"token operator\">&#8211;<\/span>forge r<span class=\"token operator\">&#8211;<\/span>tidyverse r<span class=\"token operator\">&#8211;<\/span>data<span class=\"token punctuation\">.<\/span>table r<span class=\"token operator\">&#8211;<\/span>ggplot2 r<span class=\"token operator\">&#8211;<\/span>readr<\/p>\n<h3>\u65b9\u6cd5 2&#xff1a;\u4f7f\u7528 R \u547d\u4ee4\u884c\u5b89\u88c5&#xff08;\u5982\u5305\u5728 Conda \u4e2d\u4e0d\u53ef\u7528&#xff09;<\/h3>\n<p>\u8fdb\u5165 R&#xff1a;<\/p>\n<p>R<\/p>\n<p>\u7136\u540e\u5728 R \u4e2d\u8fd0\u884c&#xff1a;<\/p>\n<p>install<span class=\"token punctuation\">.<\/span><span class=\"token function\">packages<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;dplyr&#034;<\/span><span class=\"token punctuation\">,<\/span> repos <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;https:\/\/cloud.r-project.org\/&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>\u9000\u51fa R&#xff1a;<\/p>\n<p><span class=\"token function\">q<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>&#x1f4a1; \u6ce8\u610f&#xff1a;\u7b2c\u4e00\u6b21\u5b89\u88c5\u5305\u65f6&#xff0c;\u5b83\u4f1a\u63d0\u793a\u4f60\u9009\u62e9\u4e2a\u4eba\u5e93\u76ee\u5f55&#xff0c;\u8f93\u5165 yes \u5e76\u786e\u8ba4\u521b\u5efa\u3002<\/p>\n<h2>\u670d\u52a1\u5668\u4e2d\u5b89\u88c5\u5e93\u5305-\u5b9e\u4f8b\u8bf4\u660e<\/h2>\n<p>\u5f85\u5b89\u88c5\u5e93\u5305\u5982\u4e0b&#xff1a;<\/p>\n<table>\n<tr>\u5e93\u5305\u540d\u4f5c\u7528\u5b89\u88c5\u65b9\u5f0f<\/tr>\n<tbody>\n<tr>\n<td>library(\u2018MGLM\u2019)<\/td>\n<td><\/td>\n<td>CRAN \u5b89\u88c5<\/td>\n<\/tr>\n<tr>\n<td>library(\u2018BPST\u2019)<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>library(\u2018Triangulation\u2019)<\/td>\n<td><\/td>\n<td>CRAN \u5b89\u88c5<\/td>\n<\/tr>\n<tr>\n<td>library(\u2018spgwr\u2019)<\/td>\n<td><\/td>\n<td>CRAN \u5b89\u88c5<\/td>\n<\/tr>\n<tr>\n<td>library(\u2018robustHD\u2019)<\/td>\n<td><\/td>\n<td>CRAN \u5b89\u88c5&#xff08;\u5b89\u88c5\u5931\u8d25&#xff0c;\u4f9d\u8d56\u5e93\u8f83\u591a&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>library(\u2018raster\u2019)<\/td>\n<td><\/td>\n<td>CRAN \u5b89\u88c5&#xff08;\u5b89\u88c5\u5931\u8d25&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>library(\u2018rgdal\u2019)<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>library(\u2018tictoc\u2019)<\/td>\n<td><\/td>\n<td>CRAN \u5b89\u88c5<\/td>\n<\/tr>\n<tr>\n<td>library(\u2018osqp\u2019)<\/td>\n<td><\/td>\n<td>CRAN \u5b89\u88c5&#xff08;\u5b89\u88c5\u5931\u8d25&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>library(\u201cdoParallel\u201d)<\/td>\n<td><\/td>\n<td>CRAN \u5b89\u88c5<\/td>\n<\/tr>\n<tr>\n<td>library(\u201cparallel\u201d)<\/td>\n<td><\/td>\n<td>R\u5185\u7f6e\u5305<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>&#x1f4e6; \u4e00\u3001\u901a\u8fc7 CRAN \u5b89\u88c5\u7684\u5305<\/h3>\n<p>&#x1f4cc; \u65b9\u6cd5\u8bf4\u660e<\/p>\n<ul>\n<li>\u5c06\u5305\u5b89\u88c5\u5230\u7528\u6237\u672c\u5730\u76ee\u5f55&#xff08;\u9ed8\u8ba4\u5373\u53ef&#xff09;<\/li>\n<li>\u4f7f\u7528 HTTPS \u7684 CRAN \u955c\u50cf\u66f4\u7a33\u5b9a<\/li>\n<li>\u907f\u514d type &#061; \u201cbinary\u201d&#xff0c;Linux \u4e0b\u9ed8\u8ba4\u5c31\u662f source \u7f16\u8bd1<\/li>\n<\/ul>\n<p>&#x1f527; \u63a8\u8350\u5b89\u88c5\u4ee3\u7801&#xff08;\u62f7\u8d1d\u7c98\u8d34\u5230 R \u4e2d\u8fd0\u884c&#xff09;<\/p>\n<p>\u9996\u5148\u8fdb\u5165R\u73af\u5883&#xff1a;<\/p>\n<p>R<\/p>\n<p>\u968f\u540e&#xff0c;\u5728R\u73af\u5883\u5b89\u88c5\u4ee5\u4e0b\u5e93\u5305&#xff0c;\u5982\u4e0b&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u8bbe\u7f6e\u53ef\u9760\u7684 CRAN \u955c\u50cf<\/span><br \/>\noptions<span class=\"token punctuation\">(<\/span>repos <span class=\"token operator\">&#061;<\/span> c<span class=\"token punctuation\">(<\/span>CRAN <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;https:\/\/cloud.r-project.org&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u4e00\u6b21\u6027\u5b89\u88c5\u591a\u4e2a\u5305<\/span><br \/>\ninstall.packages<span class=\"token punctuation\">(<\/span>c<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;MGLM&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;spgwr&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;robustHD&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;raster&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;tictoc&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;osqp&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;doParallel&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250611045056-68490b30a3a4d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"4290\" \/><\/p>\n<p>\u4ee5\u4e0a\u9700\u8981\u7684\u5b89\u88c5\u7684\u5e93\u5305\u5927\u90e8\u5206\u6258\u7ba1\u5728CRAN\u4e2d&#xff0c;\u5982\u4e0b&#xff1a;<\/p>\n<p><span class=\"token comment\"># MGLMMultivariate Response Generalized Linear Models<\/span><br \/>\nlibrary<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;MGLM&#039;<\/span><span class=\"token punctuation\">)<\/span><br \/>\ninstall.packages<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;MGLM&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># spgwrGeographically Weighted Regression<\/span><br \/>\nlibrary<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;spgwr&#039;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># robustHDRobust Methods for High-Dimensional Data<\/span><br \/>\n<span class=\"token comment\"># \u4f9d\u8d56\u5e93\u8f83\u591a<\/span><br \/>\nlibrary<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;robustHD&#039;<\/span><span class=\"token punctuation\">)<\/span><br \/>\ninstall.packages<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;robustHD&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># rasterGeographic Data Analysis and Modeling<\/span><br \/>\nlibrary<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;raster&#039;<\/span><span class=\"token punctuation\">)<\/span><br \/>\ninstall.packages<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;raster&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\ninstall.packages<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;raster&#034;<\/span><span class=\"token punctuation\">,<\/span> type <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;binary&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># tictocFunctions for Timing R Scripts, as Well as Implementations of &#034;Stack&#034; and &#034;StackList&#034; Structures<\/span><br \/>\nlibrary<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;tictoc&#039;<\/span><span class=\"token punctuation\">)<\/span><br \/>\ninstall.packages<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;tictoc&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># osqpQuadratic Programming Solver using the &#039;OSQP&#039; Library<\/span><br \/>\nlibrary<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;osqp&#039;<\/span><span class=\"token punctuation\">)<\/span><br \/>\ninstall.packages<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;osqp&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># doParallelForeach Parallel Adaptor for the &#039;parallel&#039; Package<\/span><br \/>\nlibrary<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;doParallel&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\ninstall.packages<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;doParallel&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>library(\u2018BPST\u2019)\u7684\u5b89\u88c5\u5982\u4e0b&#xff1a;<\/p>\n<p>install.packages<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;devtools&#034;<\/span><span class=\"token punctuation\">,<\/span>repos<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;http:\/\/cran.r-project.org&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>library<span class=\"token punctuation\">(<\/span>devtools<span class=\"token punctuation\">)<\/span><br \/>\ninstall_github<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u4f5c\u8005\u540d\/BPST&#034;<\/span><span class=\"token punctuation\">)<\/span>  <span class=\"token comment\"># \u66ff\u6362 &#034;\u4f5c\u8005\u540d\/BPST&#034; \u4e3a\u5b9e\u9645\u7684 GitHub \u4ed3\u5e93\u5730\u5740<\/span><br \/>\ninstall_github<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;funstatpackages\/BPST&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\ndevtools<span class=\"token operator\">::<\/span>install_github<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;FIRST-Data-Lab\/BPST&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>library(\u2018Triangulation\u2019)\u7684\u5b89\u88c5\u5982\u4e0b&#xff1a;<\/p>\n<p>install_github<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;funstatpackages\/Triangulation&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\ninstall_github<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;FIRST-Data-Lab\/Triangulation&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>library(\u2018robustHD\u2019)\u7684\u5b89\u88c5\u5982\u4e0b&#xff1a;<\/p>\n<p>install<span class=\"token punctuation\">.<\/span><span class=\"token function\">packages<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;scales&#034;<\/span><span class=\"token punctuation\">,<\/span> type <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;binary&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\ninstall<span class=\"token punctuation\">.<\/span><span class=\"token function\">packages<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;ggplot2&#034;<\/span><span class=\"token punctuation\">,<\/span> dependencies <span class=\"token operator\">&#061;<\/span> TRUE<span class=\"token punctuation\">,<\/span> type <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;binary&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token function\">library<\/span><span class=\"token punctuation\">(<\/span><span class=\"token char\">&#039;robustHD&#039;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<h3>\u66ff\u4ee3\u65b9\u6848&#xff1a;\u4f7f\u7528 Conda \u5b89\u88c5 R \u5305&#xff08;\u5982\u679c\u53ef\u7528&#xff09;<\/h3>\n<p>\u8bb8\u591a\u5e38\u7528\u7684 R \u5305\u53ef\u4ee5\u901a\u8fc7 conda \u5b89\u88c5&#xff0c;\u4f18\u70b9\u662f\u65e0\u9700\u7f16\u8bd1\u3001\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u5e93&#xff0c;\u66f4\u9002\u5408\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528\u3002<\/p>\n<p>\u5728conda\u73af\u5883\u4e0b&#xff0c;\u8fdb\u884c\u4ee5\u4e0b\u5b89\u88c5&#xff1a;<\/p>\n<p>conda install <span class=\"token operator\">&#8211;<\/span>c conda<span class=\"token operator\">&#8211;<\/span>forge r<span class=\"token operator\">&#8211;<\/span>mglm r<span class=\"token operator\">&#8211;<\/span>spgwr r<span class=\"token operator\">&#8211;<\/span>robusthd r<span class=\"token operator\">&#8211;<\/span>raster r<span class=\"token operator\">&#8211;<\/span>tictoc r<span class=\"token operator\">&#8211;<\/span>osqp r<span class=\"token operator\">&#8211;<\/span>doparallel<\/p>\n<p>\u6ce8\u610f&#xff1a;Conda \u5b89\u88c5\u7684 R \u5305\u524d\u9762\u90fd\u6709 r- \u524d\u7f00&#xff0c;\u5e76\u6765\u81ea conda-forge \u901a\u9053\u3002<\/p>\n<h2>\u56db\u3001\u8fd0\u884c R \u811a\u672c<\/h2>\n<h3>4.1 \u521b\u5efa\u4e00\u4e2a\u6d4b\u8bd5 R \u811a\u672c<\/h3>\n<p><span class=\"token function\">nano<\/span> test_script.R<\/p>\n<p><span class=\"token comment\"># test_script.R<\/span><br \/>\nlibrary<span class=\"token punctuation\">(<\/span>ggplot2<span class=\"token punctuation\">)<\/span><br \/>\ndata<span class=\"token punctuation\">(<\/span>mtcars<span class=\"token punctuation\">)<\/span><br \/>\npng<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;plot.png&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\nplot<span class=\"token punctuation\">(<\/span>mtcars<span class=\"token operator\">$<\/span>mpg<span class=\"token punctuation\">,<\/span> mtcars<span class=\"token operator\">$<\/span>hp<span class=\"token punctuation\">,<\/span> main <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;MPG vs HP&#034;<\/span><span class=\"token punctuation\">,<\/span> xlab <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;MPG&#034;<\/span><span class=\"token punctuation\">,<\/span> ylab <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;Horsepower&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\ndev.off<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>\u4fdd\u5b58\u5e76\u9000\u51fa\u3002<\/p>\n<h3>4.2 \u4f7f\u7528 Rscript \u8fd0\u884c<\/h3>\n<p>Rscript test_script<span class=\"token punctuation\">.<\/span>R<\/p>\n<p>\u8fd0\u884c\u6210\u529f\u540e\u4f1a\u751f\u6210\u4e00\u4e2a plot.png \u6587\u4ef6\u3002<\/p>\n<h2>\u53c2\u8003<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb578\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u3010\u670d\u52a1\u5668\u3011\u8fd0\u884cR\u8bed\u8a00\u4ee3\u7801\uff1aR\u73af\u5883\u5b89\u88c5\u53ca\u4ee3\u7801\u8fd0\u884c_conda\u5b89\u88c5r<\/p>\n","protected":false},"author":2,"featured_media":43278,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[799,4019,43,44],"topic":[],"class_list":{"0":"post-43283","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-server","8":"tag-r","10":"tag-43","11":"tag-44"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u670d\u52a1\u5668\u3011\u8fd0\u884cR\u8bed\u8a00\u4ee3\u7801\uff1aR\u73af\u5883\u5b89\u88c5\u53ca\u4ee3\u7801\u8fd0\u884c\uff08conda\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/43283.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u670d\u52a1\u5668\u3011\u8fd0\u884cR\u8bed\u8a00\u4ee3\u7801\uff1aR\u73af\u5883\u5b89\u88c5\u53ca\u4ee3\u7801\u8fd0\u884c\uff08conda\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb578\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u3010\u670d\u52a1\u5668\u3011\u8fd0\u884cR\u8bed\u8a00\u4ee3\u7801\uff1aR\u73af\u5883\u5b89\u88c5\u53ca\u4ee3\u7801\u8fd0\u884c_conda\u5b89\u88c5r\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/43283.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-11T04:50:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250611045055-68490b2fdcc05.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/43283.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/43283.html\",\"name\":\"\u3010\u670d\u52a1\u5668\u3011\u8fd0\u884cR\u8bed\u8a00\u4ee3\u7801\uff1aR\u73af\u5883\u5b89\u88c5\u53ca\u4ee3\u7801\u8fd0\u884c\uff08conda\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-06-11T04:50:58+00:00\",\"dateModified\":\"2025-06-11T04:50:58+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/43283.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/43283.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/43283.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u670d\u52a1\u5668\u3011\u8fd0\u884cR\u8bed\u8a00\u4ee3\u7801\uff1aR\u73af\u5883\u5b89\u88c5\u53ca\u4ee3\u7801\u8fd0\u884c\uff08conda\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010\u670d\u52a1\u5668\u3011\u8fd0\u884cR\u8bed\u8a00\u4ee3\u7801\uff1aR\u73af\u5883\u5b89\u88c5\u53ca\u4ee3\u7801\u8fd0\u884c\uff08conda\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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:\/\/www.wsisp.com\/helps\/43283.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010\u670d\u52a1\u5668\u3011\u8fd0\u884cR\u8bed\u8a00\u4ee3\u7801\uff1aR\u73af\u5883\u5b89\u88c5\u53ca\u4ee3\u7801\u8fd0\u884c\uff08conda\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb578\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u3010\u670d\u52a1\u5668\u3011\u8fd0\u884cR\u8bed\u8a00\u4ee3\u7801\uff1aR\u73af\u5883\u5b89\u88c5\u53ca\u4ee3\u7801\u8fd0\u884c_conda\u5b89\u88c5r","og_url":"https:\/\/www.wsisp.com\/helps\/43283.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-06-11T04:50:58+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250611045055-68490b2fdcc05.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/43283.html","url":"https:\/\/www.wsisp.com\/helps\/43283.html","name":"\u3010\u670d\u52a1\u5668\u3011\u8fd0\u884cR\u8bed\u8a00\u4ee3\u7801\uff1aR\u73af\u5883\u5b89\u88c5\u53ca\u4ee3\u7801\u8fd0\u884c\uff08conda\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-06-11T04:50:58+00:00","dateModified":"2025-06-11T04:50:58+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/43283.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/43283.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/43283.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010\u670d\u52a1\u5668\u3011\u8fd0\u884cR\u8bed\u8a00\u4ee3\u7801\uff1aR\u73af\u5883\u5b89\u88c5\u53ca\u4ee3\u7801\u8fd0\u884c\uff08conda\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/43283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=43283"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/43283\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/43278"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=43283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=43283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=43283"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=43283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}