{"id":4946,"date":"2020-03-06T01:49:57","date_gmt":"2020-03-05T17:49:57","guid":{"rendered":"http:\/\/www.systemsci.org\/jinshanw\/?p=4946"},"modified":"2020-03-06T03:09:06","modified_gmt":"2020-03-05T19:09:06","slug":"r%e5%92%8cr%e5%8c%85%e7%9a%84%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"https:\/\/www.systemsci.org\/jinshanw\/2020\/03\/06\/r%e5%92%8cr%e5%8c%85%e7%9a%84%e5%ae%89%e8%a3%85\/","title":{"rendered":"R\u548cR\u5305\u7684\u5b89\u88c5"},"content":{"rendered":"<p>R\u7684\u6700\u65b0\u7248\u9700\u8981\u4e13\u95e8\u53bbCRAN\u955c\u50cf\u4e0b\u8f7d\u5b89\u88c5\u6587\u4ef6\u3002Ubuntu\u5e93\u91cc\u9762\u7684R\u901a\u5e38\u4e0d\u662f\u6700\u65b0\u7248\u3002\u5982\u679c\u8981\u91cd\u65b0\u5b89\u88c5\uff0c\u5219\u6700\u597d\u6e05\u7a7a\u4e4b\u524d\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\u3002\u4f8b\u5982\u5220\u9664\u6389\u201c\/usr\/local\/lib\/R\/site-library\u201d\u4e4b\u7c7b\u7684\u3002\u7136\u540e\u91cd\u65b0\u5b89\u88c5R\u3002<\/p>\n<p>\u5b8c\u6210\u4e4b\u540e\uff0c\u540e\u6765\u5b89\u88c5\u7684\u5f88\u591a\u5305\uff0c\u4f8b\u5982&#8221;devtools&#8221;, &#8220;EpiEstim&#8221;\u53ef\u80fd\u4f9d\u8d56Ubuntu\u7684\u7f16\u8bd1\u529f\u80fd\u548cUbuntu\u7cfb\u7edf\u7684\u8f6f\u4ef6\u5305\u3002\u56e0\u6b64\uff0c\u6700\u597d\u5728Ubuntu\u5b89\u88c5\u4e00\u4e0b\u7f16\u8bd1\u5305\uff0c\u4f8b\u5982\u8fd0\u884c\u4e00\u4e0b\u201csudo apt install build-essential libcurl4-gnutls-dev libxml2-dev libssl-dev\u201d\u4e4b\u7c7b\u7684\u3002\u518d\u7ee7\u7eed\u5b89\u88c5\u4e00\u4e0blapack\u4e4b\u7c7b\u7684\u8f6f\u4ef6\u5305\u3002\u6839\u636eR\u91cc\u9762\u5b89\u88c5\u7684\u63d0\u793a\uff0c\u8fd8\u9700\u8981\u53bb\u4e0b\u8f7d\u76f8\u5e94\u7684\u5305\u3002\u8fd9\u4e2aR\u5305\u7ba1\u7406\u4e0a\u548cUbuntu\u7cfb\u7edf\u5305\u6ca1\u6709\u6574\u5408\u5728\u4e00\u8d77\uff0c\u6bd4\u8f83\u9ebb\u70e6\u3002\u53ea\u597d\u4e0d\u65ad\u5730\u53d1\u73b0\u9519\u8bef\uff0c\u4e0d\u65ad\u5730\u8865\u5145\u5305\u3002<\/p>\n<p>\u5176\u4e2d\u6709\u4e00\u4e2a\u8f6f\u4ef6\u5305\u6e90\u7a0b\u5e8f\uff08stringi\/icudt61l.zip\uff09\u5f88\u96be\u83b7\u5f97\uff0c\u9700\u8981\u5355\u72ec\u53bb\u4e0b\u8f7d\u56de\u6765\uff08http:\/\/www.ibspan.waw.pl\/~gagolews\/stringi\/icudt61l.zip\uff09\uff0c\u7136\u540e\u672c\u5730\u5b89\u88c5\u3002\u6216\u8005\u5230\u7f51\u7edc\u597d\u7684\u5730\u65b9\u591a\u5b89\u88c5\u51e0\u904d\u3002<\/p>\n<p>\u672c\u5730\u5b89\u88c5\u65b9\u6cd5\uff0c\u4f8b\u5982\uff1ainstall.packages(&#8220;~\/dplyr-master.zip&#8221;, repos=NULL, type=&#8221;source&#8221;)\uff0c\u6216\u8005 install.packages(&#8220;~\/EpiEstim3_src\/EpiEstim&#8221;, repos=NULL, type=&#8221;source&#8221;)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>R\u7684\u6700\u65b0\u7248\u9700\u8981\u4e13\u95e8\u53bbCRAN\u955c\u50cf\u4e0b\u8f7d\u5b89\u88c5\u6587\u4ef6\u3002Ubuntu\u5e93\u91cc\u9762\u7684R\u901a\u5e38\u4e0d\u662f\u6700\u65b0\u7248\u3002\u5982\u679c\u8981\u91cd\u65b0\u5b89\u88c5\uff0c\u5219\u6700\u597d\u6e05\u7a7a &hellip; <a href=\"https:\/\/www.systemsci.org\/jinshanw\/2020\/03\/06\/r%e5%92%8cr%e5%8c%85%e7%9a%84%e5%ae%89%e8%a3%85\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cR\u548cR\u5305\u7684\u5b89\u88c5\u201d<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[],"_links":{"self":[{"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/posts\/4946"}],"collection":[{"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/comments?post=4946"}],"version-history":[{"count":6,"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/posts\/4946\/revisions"}],"predecessor-version":[{"id":4952,"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/posts\/4946\/revisions\/4952"}],"wp:attachment":[{"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/media?parent=4946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/categories?post=4946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/tags?post=4946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}