{"id":1705,"date":"2022-09-19T12:25:30","date_gmt":"2022-09-19T17:25:30","guid":{"rendered":"https:\/\/units.fisheries.org\/fits\/?page_id=1705"},"modified":"2022-09-19T13:46:36","modified_gmt":"2022-09-19T18:46:36","slug":"install-r-on-windows","status":"publish","type":"page","link":"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/","title":{"rendered":"Install R on Windows"},"content":{"rendered":"<p>The following steps may be used to install R on a Windows operating system.\u00a0<a href=\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-mac\/\">See these directions<\/a>\u00a0for installing R on a Macintosh operating system.<\/p>\n<ol>\n<li>Go to the RStudio Comprehensive R Archive Network (CRAN) mirror at\u00a0<a href=\"https:\/\/cran.rstudio.com\/\">https:\/\/cran.rstudio.com<\/a>. [<em>You can select a different mirror by going to\u00a0<a href=\"http:\/\/www.r-project.org\/\">http:\/\/www.r-project.org<\/a>, selecting the \u201cdownload R\u201d link in the \u201cGetting Started\u201d box, and selecting a mirror location from the ensuing page.<\/em>]<\/li>\n<li>Select the \u201cDownload R for Windows\u201d link.\n<div class=\"ctrstaticimg\"><img decoding=\"async\" src=\"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_ChooseOS.PNG\" width=\"100%\" \/><\/div>\n<\/li>\n<li>Select the \u201cbase\u201d option.\n<div class=\"ctrstaticimg\"><img decoding=\"async\" src=\"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_ChooseBase.PNG\" width=\"100%\" \/><\/div>\n<\/li>\n<li>Select the \u201cDownload R 3.2.2 for Windows\u201d option (or similar if the version number has changed \u2026 the version is now at least 3.4.3). Either run the program or note where you saved this executable program on your computer.\n<div class=\"ctrstaticimg\"><img decoding=\"async\" src=\"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_Download.PNG\" width=\"100%\" \/><\/div>\n<\/li>\n<li>If you did not run the program, then locate the downloaded file on your computer (called \u201cR-3.2.2-win.exe\u201d or similar if the version number has changed) and run it.<\/li>\n<li>Select \u201cEnglish\u201d language in the first dialog box (depending on your version of Windows you may have received security warnings before this dialog box appears).<\/li>\n<li>Press\u00a0<code class=\"language-plaintext highlighter-rouge\">Next<\/code>\u00a0on the next two dialog boxes (first, a simple description; second, a user agreement).<\/li>\n<li>Select a location to install R (simply use the default location if the location is not important to you \u2013 in the dialog box below I installed in a custom directory). Press\u00a0<code class=\"language-plaintext highlighter-rouge\">Next<\/code>.\n<div class=\"ctrstaticimg\"><img decoding=\"async\" src=\"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_Directory.PNG\" width=\"100%\" \/><\/div>\n<\/li>\n<li>At this point you can choose to install 32- or 64-bit or both versions of R. If you do not have a 64-bit computer, then you must install the 32-bit version. If you do have a 64-bit computer, then I suggest, initially and for simplicity, installing only one version or the other. I usually install the 32-bit version as it has some slight advantages when not working with extremely large data sets and with other software that I have installed on my machine (see this\u00a0<a href=\"http:\/\/streaming.stat.iastate.edu\/CRAN\/bin\/windows\/base\/rw-FAQ.html#Should-I-run-32_002dbit-or-64_002dbit-R_003f\">R FAQ<\/a>){:target=\u201d_blank\u201d}. In this demonstration, I will install only the 32-bit version of R by deselecting the \u201c64-bit Files\u201d option. Press\u00a0<code class=\"language-plaintext highlighter-rouge\">Next<\/code>.\n<div class=\"ctrstaticimg\"><img decoding=\"async\" src=\"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_32Bit.PNG\" width=\"100%\" \/><\/div>\n<\/li>\n<li>Select the \u201cNo (accept defaults)\u201d (this is the default) option. Press\u00a0<code class=\"language-plaintext highlighter-rouge\">Next<\/code>.<\/li>\n<li>Decide whether to create a shortcut in your Start Menu folder (I suggest NOT). Press\u00a0<code class=\"language-plaintext highlighter-rouge\">Next<\/code>.<\/li>\n<li>Decide whether or not to create desktop or Quick Launch icons (top two choices) and whether to register the version number and associate .RData files with R (bottom two choices). Generally, you will want to register the version number and associate the .RData files with R.\u00a0<em>If you plan to use RStudio, then you will not run R directly and I suggest then that you do not create Desktop or Quick Launch icons.<\/em>\u00a0Press\u00a0<code class=\"language-plaintext highlighter-rouge\">Next<\/code>.\n<div class=\"ctrstaticimg\"><img decoding=\"async\" src=\"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_Options.PNG\" width=\"100%\" \/><\/div>\n<\/li>\n<li>R should then begin installing files into the directory you chose previously. If everything goes well, then you should get one last dialog box noting such. Press\u00a0<code class=\"language-plaintext highlighter-rouge\">Finish<\/code>.<\/li>\n<\/ol>\n<p>If you plan to use RStudio, then you can now install it\u00a0<a href=\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/rstudio-setup-for-windows\/\">with t0hese directions<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following steps may be used to install R on a Windows operating system.\u00a0See these directions\u00a0for installing R on a Macintosh operating system. Go to the RStudio Comprehensive R Archive Network (CRAN) mirror at\u00a0https:\/\/cran.rstudio.com. [You can select a different mirror by going to\u00a0http:\/\/www.r-project.org, selecting the \u201cdownload R\u201d link in the \u201cGetting Started\u201d box, and selecting [&hellip;]<\/p>\n","protected":false},"author":198,"featured_media":0,"parent":1704,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-1705","page","type-page","status-publish","hentry","odd","first-child","last-child"],"wppr_data":{"cwp_meta_box_check":"No"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Install R on Windows - Data and Technology Section<\/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:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install R on Windows - Data and Technology Section\" \/>\n<meta property=\"og:description\" content=\"The following steps may be used to install R on a Windows operating system.\u00a0See these directions\u00a0for installing R on a Macintosh operating system. Go to the RStudio Comprehensive R Archive Network (CRAN) mirror at\u00a0https:\/\/cran.rstudio.com. [You can select a different mirror by going to\u00a0http:\/\/www.r-project.org, selecting the \u201cdownload R\u201d link in the \u201cGetting Started\u201d box, and selecting [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/\" \/>\n<meta property=\"og:site_name\" content=\"Data and Technology Section\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-19T18:46:36+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_ChooseOS.PNG\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/\",\"url\":\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/\",\"name\":\"Install R on Windows - Data and Technology Section\",\"isPartOf\":{\"@id\":\"https:\/\/units.fisheries.org\/fits\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_ChooseOS.PNG\",\"datePublished\":\"2022-09-19T17:25:30+00:00\",\"dateModified\":\"2022-09-19T18:46:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/#primaryimage\",\"url\":\"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_ChooseOS.PNG\",\"contentUrl\":\"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_ChooseOS.PNG\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/units.fisheries.org\/fits\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R for Fisheries Analyses\",\"item\":\"https:\/\/units.fisheries.org\/fits\/fishr\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Examples\",\"item\":\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"IFAR\",\"item\":\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Supplements\",\"item\":\"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/\"},{\"@type\":\"ListItem\",\"position\":6,\"name\":\"Install R on Windows\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/units.fisheries.org\/fits\/#website\",\"url\":\"https:\/\/units.fisheries.org\/fits\/\",\"name\":\"Data and Technology Section\",\"description\":\"Connecting fisheries professionals with the tools they need\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/units.fisheries.org\/fits\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install R on Windows - Data and Technology Section","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:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/","og_locale":"en_US","og_type":"article","og_title":"Install R on Windows - Data and Technology Section","og_description":"The following steps may be used to install R on a Windows operating system.\u00a0See these directions\u00a0for installing R on a Macintosh operating system. Go to the RStudio Comprehensive R Archive Network (CRAN) mirror at\u00a0https:\/\/cran.rstudio.com. [You can select a different mirror by going to\u00a0http:\/\/www.r-project.org, selecting the \u201cdownload R\u201d link in the \u201cGetting Started\u201d box, and selecting [&hellip;]","og_url":"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/","og_site_name":"Data and Technology Section","article_modified_time":"2022-09-19T18:46:36+00:00","og_image":[{"url":"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_ChooseOS.PNG","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/","url":"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/","name":"Install R on Windows - Data and Technology Section","isPartOf":{"@id":"https:\/\/units.fisheries.org\/fits\/#website"},"primaryImageOfPage":{"@id":"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/#primaryimage"},"image":{"@id":"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/#primaryimage"},"thumbnailUrl":"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_ChooseOS.PNG","datePublished":"2022-09-19T17:25:30+00:00","dateModified":"2022-09-19T18:46:36+00:00","breadcrumb":{"@id":"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/#primaryimage","url":"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_ChooseOS.PNG","contentUrl":"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/figures\/R_WinInstall_ChooseOS.PNG"},{"@type":"BreadcrumbList","@id":"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/install-r-on-windows\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/units.fisheries.org\/fits\/"},{"@type":"ListItem","position":2,"name":"R for Fisheries Analyses","item":"https:\/\/units.fisheries.org\/fits\/fishr\/"},{"@type":"ListItem","position":3,"name":"Examples","item":"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/"},{"@type":"ListItem","position":4,"name":"IFAR","item":"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/"},{"@type":"ListItem","position":5,"name":"Supplements","item":"https:\/\/units.fisheries.org\/fits\/fishr\/r-in-action\/ifar\/supplements\/"},{"@type":"ListItem","position":6,"name":"Install R on Windows"}]},{"@type":"WebSite","@id":"https:\/\/units.fisheries.org\/fits\/#website","url":"https:\/\/units.fisheries.org\/fits\/","name":"Data and Technology Section","description":"Connecting fisheries professionals with the tools they need","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/units.fisheries.org\/fits\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/units.fisheries.org\/fits\/wp-json\/wp\/v2\/pages\/1705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/units.fisheries.org\/fits\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/units.fisheries.org\/fits\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/units.fisheries.org\/fits\/wp-json\/wp\/v2\/users\/198"}],"replies":[{"embeddable":true,"href":"https:\/\/units.fisheries.org\/fits\/wp-json\/wp\/v2\/comments?post=1705"}],"version-history":[{"count":0,"href":"https:\/\/units.fisheries.org\/fits\/wp-json\/wp\/v2\/pages\/1705\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/units.fisheries.org\/fits\/wp-json\/wp\/v2\/pages\/1704"}],"wp:attachment":[{"href":"https:\/\/units.fisheries.org\/fits\/wp-json\/wp\/v2\/media?parent=1705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}