{"id":1511,"date":"2021-02-24T13:27:54","date_gmt":"2021-02-24T04:27:54","guid":{"rendered":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/?p=1511"},"modified":"2021-02-24T13:28:46","modified_gmt":"2021-02-24T04:28:46","slug":"macos-%e3%81%ab-r-%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/1511\/","title":{"rendered":"macOS \u306b R 4.0 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<h2>R \u3092 homebrew \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<pre>brew install r rstudio<\/pre>\n<h2>Jupyter Kernel \u304a\u3088\u3073\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<pre># \u4ee5\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5fc5\u8981\r\nbrew install geos udunits gdal\r\n\r\nsudo R\r\n# \u30df\u30e9\u30fc\u30b5\u30a4\u30c8\u3092\u9078\u629e\r\nchooseCRANmirror(graphics=FALSE)\r\n\r\n# Jupyter Kernel \u3092 system-wide \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\ninstall.packages('IRkernel')\r\nIRkernel::installspec(user = FALSE)\r\n\r\n# \u6388\u696d\u7528\u306b\u4f9d\u983c\u306e\u3042\u3063\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\ninstall.packages('GISTools')\r\ninstall.packages('gstat')\r\ninstall.packages('spdep')\r\ninstall.packages('spatstat')\r\ninstall.packages('Rcmdr')\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>R \u3092 homebrew \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb brew inst <a href=\"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/1511\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[7,19],"tags":[],"class_list":["post-1511","post","type-post","status-publish","format-standard","hentry","category-macos","category-r"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/posts\/1511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/comments?post=1511"}],"version-history":[{"count":3,"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/posts\/1511\/revisions"}],"predecessor-version":[{"id":1514,"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/posts\/1511\/revisions\/1514"}],"wp:attachment":[{"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/media?parent=1511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/categories?post=1511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/tags?post=1511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}