{"id":1346,"date":"2018-03-04T21:57:32","date_gmt":"2018-03-04T12:57:32","guid":{"rendered":"https:\/\/plaza.umin.ac.jp\/~OIO\/?p=1346"},"modified":"2019-05-16T09:36:20","modified_gmt":"2019-05-16T00:36:20","slug":"r-%e3%81%ae%e3%82%a2%e3%83%b3%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab-macos","status":"publish","type":"post","link":"https:\/\/plaza.umin.ac.jp\/~OIO\/?p=1346","title":{"rendered":"R \u306e\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb MacOS"},"content":{"rendered":"<h1>MacOS \u3067\u306e\u7d71\u8a08\u30bd\u30d5\u30c8R\u306e\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h1>\n<p>Mac\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fR\u304c\u53e4\u304f\u306a\u308a\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u52d5\u304b\u306a\u3044\u72b6\u6cc1\u3082\u898b\u53d7\u3051\u3089\u308c\u308b\u306e\u3067\u4e00\u65e6\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u305d\u306e\u4e0a\u3067\u6700\u65b0\u7248\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3057\u305f\u3002\u3067\u3082\u3001R\u3063\u3066Applestore\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30a2\u30d7\u30ea\u3067\u306a\u3044\u306e\u3068\u3001\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u304c\u4ed8\u5c5e\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u3069\u3046\u3084\u3063\u3066\u524a\u9664\u3059\u308b\u306e\u304b\u3002\u307e\u305a\u306f\u4e0b\u8abf\u3079\u3067\u3059\u3002<\/p>\n<p>&lt;https:\/\/cran.r-project.org\/doc\/manuals\/r-release\/R-admin.html#Uninstalling-under-macOS&gt;<\/p>\n<blockquote><p>4.2 Uninstalling under macOS<\/p>\n<p>R for macOS consists of two parts: the GUI (R.APP) and the R framework. The un-installation is as simple as removing those folders (e.g. by dragging them onto the Trash). The typical installation will install the GUI into the \/Applications\/R.app folder and the R framework into the \/Library\/Frameworks\/R.framework folder. The links to R and Rscript in \/usr\/local\/bin should also be removed.<\/p>\n<p>If you want to get rid of R more completely using a Terminal, simply run:<\/p>\n<p>sudo rm -rf \/Library\/Frameworks\/R.framework \/Applications\/R.app \\<br \/>\n\/usr\/local\/bin\/R \/usr\/local\/bin\/Rscript<\/p>\n<p>The installation consists of up to four Apple packages:18 org.r-project.R.el-capitan.fw.pkg, org.r-project.R.el-capitan.GUI.pkg, org.r-project.x86_64.tcltk.x11 and org.r-project.x86_64.texinfo. You can use pkgutil &#8211;forget if you want the Apple Installer to forget about the package without deleting its files (useful for the R framework when installing multiple R versions in parallel), or after you have deleted the files.<\/p>\n<p>Uninstalling the Tcl\/Tk or Texinfo components (which are installed under \/usr\/local) is not as simple. You can list the files they installed in a Terminal by<\/p>\n<p>pkgutil &#8211;files org.r-project.x86_64.tcltk.x11<br \/>\npkgutil &#8211;files org.r-project.x86_64.texinfo<\/p>\n<p>These are paths relative to \/, the root of the file system.<\/p><\/blockquote>\n<p>\u4e0a\u8a18\u3092\u81ea\u52d5\u7ffb\u8a33\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<blockquote>\n<div id=\"tts_button\"><span id=\"result_box\" class=\"\" lang=\"ja\"><span title=\"4.2 Uninstalling under macOS \">4.2 macOS\u3067\u306e\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/span><\/div>\n<div id=\"gt-res-c\" class=\"g-unit\">\n<div id=\"gt-res-p\">\n<div id=\"gt-res-data\">\n<div id=\"gt-res-wrap\">\n<div id=\"gt-res-content\">\n<div id=\"gt-res-dir-ctr\" class=\"trans-verified-button-small\" dir=\"ltr\"><span class=\"\" lang=\"ja\"><span class=\"\" lang=\"ja\"><span title=\"4.2 Uninstalling under macOS \"><br \/>\n<\/span><span title=\"R for macOS consists of two parts: the GUI (R.APP) and the R framework.\">R for macOS\u306f\u3001GUI\uff08R.APP\uff09\u3068R\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e2\u3064\u306e\u90e8\u5206\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/span><span title=\"The un-installation is as simple as removing those folders (e.g. by dragging them onto the Trash).\">\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3001\u305d\u308c\u3089\u306e\u30d5\u30a9\u30eb\u30c0\u3092\u524a\u9664\u3059\u308b\u3060\u3051\u3067\u7c21\u5358\u3067\u3059\uff08\u4f8b\u3048\u3070\u3001\u30b4\u30df\u7bb1\u306b\u30c9\u30e9\u30c3\u30b0\u3059\u308b\u306a\u3069\uff09\u3002<\/span><span title=\"The typical installation will install the GUI into the \/Applications\/R.app folder and the R framework into the \/Library\/Frameworks\/R.framework folder.\">\u6a19\u6e96\u7684\u306a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u306f\u3001GUI\u306f\/Applications\/R.app\u30d5\u30a9\u30eb\u30c0\u306b\u3001R\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\/Library\/Frameworks\/R.framework\u30d5\u30a9\u30eb\u30c0\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002 <\/span><span title=\"The links to R and Rscript in \/usr\/local\/bin should also be removed. \">\/ usr \/ local \/ bin\u306b\u3042\u308bR\u304a\u3088\u3073Rscript\u3078\u306e\u30ea\u30f3\u30af\u3082\u524a\u9664\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/span><\/span><\/div>\n<div dir=\"ltr\"><\/div>\n<div class=\"trans-verified-button-small\" dir=\"ltr\"><span class=\"\" lang=\"ja\"><span class=\"\" lang=\"ja\"><span title=\"If you want to get rid of R more completely using a Terminal, simply run: \">\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u4f7f\u7528\u3057\u3066R\u3092\u3088\u308a\u5b8c\u5168\u306b\u524a\u9664\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/span><\/span><\/span><\/div>\n<div class=\"trans-verified-button-small\" dir=\"ltr\"><span class=\"\" lang=\"ja\"><span class=\"\" lang=\"ja\"><span title=\"sudo rm -rf \/Library\/Frameworks\/R.framework \/Applications\/R.app \\ \u00a0\u00a0\u00a0\">sudo rm -rf \/Library\/Frameworks\/R.framework \/Applications\/R.app \\<br \/>\n<\/span><span title=\"\/usr\/local\/bin\/R \/usr\/local\/bin\/Rscript \">\/usr\/local\/bin\/R \/usr\/local\/bin\/Rscript<\/span><\/span><\/span><\/div>\n<div dir=\"ltr\"><\/div>\n<div class=\"trans-verified-button-small\" dir=\"ltr\"><span class=\"\" lang=\"ja\"><span class=\"\" lang=\"ja\"><span title=\"The installation consists of up to four Apple packages:18 org.r-project.R.el-capitan.fw.pkg, org.r-project.R.el-capitan.GUI.pkg, org.r-project.x86_64\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3001\u6700\u59274\u3064\u306eApple\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\uff1a18 org.r-project.R.el-capitan.fw.pkg\u3001org.r-project.R.el-capitan.GUI.pkg\u3001org.r-project.x86_64 <\/span><span title=\".tcltk.x11 and org.r-project.x86_64.texinfo.\">.tcltk.x11\u3068org.r-project.x86_64.texinfo\u3002 <\/span><span title=\"You can use pkgutil --forget if you want the Apple Installer to forget about the package without deleting its files (useful for the R framework when installing multiple R versions in parallel), or after you have deleted the files. \">\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u305b\u305a\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092Apple\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u306b\u5fd8\u308c\u3055\u305b\u308b\u306b\u306f\uff08\u8907\u6570\u306eR\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4e26\u5217\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u304d\u306bR\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b\u5f79\u7acb\u3064\uff09pkgutil &#8211;forget\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/span><\/span><span class=\"\" lang=\"ja\"><span class=\"\" lang=\"ja\"><span title=\"Uninstalling the Tcl\/Tk or Texinfo components (which are installed under \/usr\/local) is not as simple.\">Tcl \/ Tk\u3084Texinfo\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\uff08\/ usr \/ local\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\uff09\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u306f\u7c21\u5358\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/span><span title=\"You can list the files they installed in a Terminal by \">\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092<\/span><\/span><\/span><\/p>\n<p><span class=\"\" lang=\"ja\"><span class=\"\" lang=\"ja\"><span title=\"pkgutil --files org.r-project.x86_64.tcltk.x11 \">pkgutil &#8211;files org.r-project.x86_64.tcltk.x11<br \/>\n<\/span><span title=\"pkgutil --files org.r-project.x86_64.texinfo \">pkgutil &#8211;files org.r-project.x86_64.texinfo<\/span><\/span><\/span><\/p>\n<p><span id=\"result_box\" class=\"\" lang=\"ja\"><span title=\"These are paths relative to \/, the root of the file system.\">\u3053\u308c\u3089\u306f\u3001\/\u306b\u95a2\u9023\u3059\u308b\u30d1\u30b9\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u30eb\u30fc\u30c8\u3067\u3059<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/blockquote>\n<div id=\"gt-res-c\" class=\"g-unit\">\n<div id=\"gt-res-p\">\n<div id=\"gt-res-data\">\n<div id=\"gt-res-wrap\">\n<div id=\"gt-res-content\">\n<div dir=\"ltr\">\u3093\uff1f\u3000\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3060\u3051\u3067Tcl\/Tk\u4ee5\u5916\u3092\u5b8c\u5168\u306b\u524a\u9664\u3067\u304d\u308b\u3068\u3044\u3046\u3053\u3068\u304b\u306a\uff1f\u3082\u3057\u305d\u3046\u306a\u3089\u3001\u3053\u308c\u306e\u30b3\u30d4\u30da\u3067\u3044\u3044\u3058\u3083\u3093\u3002<\/div>\n<blockquote>\n<div dir=\"ltr\">&gt; sudo rm -rf \/Library\/Frameworks\/R.framework \/Applications\/R.app \\<br \/>\n\/usr\/local\/bin\/R \/usr\/local\/bin\/Rscript<\/div>\n<\/blockquote>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"gt-res-c\" class=\"g-unit\">\n<div id=\"gt-res-p\">\n<div id=\"gt-res-data\">\n<div id=\"gt-res-wrap\">\n<div id=\"gt-res-content\">\n<div dir=\"ltr\">\u3053\u306e\u3000rm -rf \u306e\u30b3\u30de\u30f3\u30c9\u306f\u305d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u8b66\u544a\u30fb\u78ba\u8a8d\u306a\u3057\u306b\u524a\u9664\u3055\u308c\u308b\u305f\u3081\u3001\u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u304c\u524a\u9664\u3055\u308c\u308b\u5371\u967a\u304c\u3042\u308a\u307e\u3059\u3002\u3069\u3046\u305e\u3001\u4f7f\u7528\u3055\u308c\u308b\u969b\u306b\u306f\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/div>\n<div dir=\"ltr\">\u306a\u304a\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092<a href=\"https:\/\/nico.ms\/sm2278996\">Linux\u4e0a\u3067\u5b9f\u884c\u3057\u305f\u969b\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u3092\u8a18\u9332\u3057\u305f\u52d5\u753b<\/a>\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u8996\u8074\u8005\u306e\u53cd\u5fdc\u304b\u3089\u3082\u3001\u305d\u306e\u30b3\u30de\u30f3\u30c9\u306e\u5371\u967a\u3055\u304c\u611f\u3058\u3089\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/div>\n<\/div>\n<\/div>\n<blockquote>\n<div>rm -rf \/<\/div>\n<\/blockquote>\n<div><\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>MacOS \u3067\u306e\u7d71\u8a08\u30bd\u30d5\u30c8R\u306e\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Mac\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fR\u304c\u53e4\u304f\u306a\u308a\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u52d5\u304b\u306a\u3044\u72b6\u6cc1\u3082\u898b\u53d7\u3051\u3089\u308c\u308b\u306e\u3067\u4e00\u65e6\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u305d\u306e\u4e0a\u3067\u6700\u65b0\u7248\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3057\u305f\u3002\u3067\u3082\u3001R\u3063\u3066App&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1346","post","type-post","status-publish","format-standard","hentry","category-miscellaneous"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p9b6zl-lI","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/plaza.umin.ac.jp\/~OIO\/index.php?rest_route=\/wp\/v2\/posts\/1346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/plaza.umin.ac.jp\/~OIO\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plaza.umin.ac.jp\/~OIO\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plaza.umin.ac.jp\/~OIO\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/plaza.umin.ac.jp\/~OIO\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1346"}],"version-history":[{"count":0,"href":"https:\/\/plaza.umin.ac.jp\/~OIO\/index.php?rest_route=\/wp\/v2\/posts\/1346\/revisions"}],"wp:attachment":[{"href":"https:\/\/plaza.umin.ac.jp\/~OIO\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plaza.umin.ac.jp\/~OIO\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plaza.umin.ac.jp\/~OIO\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}