{"id":14063233,"url":"https://github.com/genomicsclass/windows","last_synced_at":"2026-01-11T05:31:58.668Z","repository":{"id":26620214,"uuid":"30075625","full_name":"genomicsclass/windows","owner":"genomicsclass","description":"Guide to setting up R and RStudio on Windows","archived":false,"fork":false,"pushed_at":"2019-10-09T16:29:04.000Z","size":2246,"stargazers_count":33,"open_issues_count":3,"forks_count":34,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-12-04T00:32:56.919Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/genomicsclass.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-30T14:36:08.000Z","updated_at":"2024-06-05T19:36:24.000Z","dependencies_parsed_at":"2022-08-20T19:20:44.725Z","dependency_job_id":null,"html_url":"https://github.com/genomicsclass/windows","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/genomicsclass/windows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genomicsclass%2Fwindows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genomicsclass%2Fwindows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genomicsclass%2Fwindows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genomicsclass%2Fwindows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/genomicsclass","download_url":"https://codeload.github.com/genomicsclass/windows/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genomicsclass%2Fwindows/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267703066,"owners_count":24130463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-13T07:03:12.294Z","updated_at":"2026-01-11T05:31:58.637Z","avatar_url":"https://github.com/genomicsclass.png","language":null,"readme":"# Setting up R and RStudio in Windows\r\n\r\n## Running as Administrator\r\n\r\n- When you run the installers, make sure to run them as administrator.\r\n- Select the file, right click and choose **Run as administrator**  \r\n  \u003cimg src=\"Figures/admin_run.png\" alt=\"\" style=\"width: 150\"/\u003e\r\n\r\n## Installing R\r\n\r\n- Open your browser and go to http://cran.r-project.org/\r\n- Click on `Download R for Windows`  \r\n  \u003cimg src=\"Figures/cran01.png\" alt=\"\" style=\"width: 400\"/\u003e\r\n- Click on `base`  \r\n  \u003cimg src=\"Figures/cran02.png\" alt=\"\" style=\"width: 400\"/\u003e\r\n- Click on `Download R 3.1.2 for Windows`  \r\n  \u003cimg src=\"Figures/cran03.png\" alt=\"\" style=\"width: 400\"/\u003e\r\n- Open and run the file you just downloaded `R-3.1.2-win.exe`\r\n  \u003cimg src=\"Figures/install_r01.png\" width=\"40\"/\u003e\r\n- There is no need to change the default installation!\r\n\r\n|                            .                            |                            .                            |                            .                            |\r\n| :-----------------------------------------------------: | :-----------------------------------------------------: | :-----------------------------------------------------: |\r\n| \u003cimg src=\"Figures/install_r02.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/install_r03.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/install_r04.png\" alt=\"\" width=\"250\"/\u003e |\r\n|                          **1**                          |                          **2**                          |                          **3**                          |\r\n| \u003cimg src=\"Figures/install_r05.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/install_r06.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/install_r07.png\" alt=\"\" width=\"250\"/\u003e |\r\n|                          **4**                          |                          **5**                          |                          **6**                          |\r\n| \u003cimg src=\"Figures/install_r08.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/install_r09.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/install_r10.png\" alt=\"\" width=\"250\"/\u003e |\r\n|                          **7**                          |                          **8**                          |                          **9**                          |\r\n| \u003cimg src=\"Figures/install_r11.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/install_r12.png\" alt=\"\" width=\"250\"/\u003e |                        **DONE**                         |\r\n|                         **10**                          |                         **11**                          |                                                         |\r\n\r\n- Please make sure you install the latest version of R (R version 3.1.2).\r\n\r\n## Installing Rtools\r\n\r\nNow we need to install Rtools\r\n\r\n- Open your browser and go to http://cran.r-project.org/\r\n- Click on `Download R for Windows`  \r\n  \u003cimg src=\"Figures/cran01.png\" alt=\"\" width=\"400\"/\u003e\r\n- Click on `Rtools`  \r\n  \u003cimg src=\"Figures/rtools00.png\" alt=\"\" width=\"400\"/\u003e\r\n- Download `Rtools31.exe`  \r\n  \u003cimg src=\"Figures/rtools01.png\" alt=\"\" width=\"400\"/\u003e\r\n- Open and run the file you just downloaded `Rtools31.exe`\r\n  \u003cimg src=\"Figures/rtools02.png\" alt=\"\" width=\"40\"/\u003e\r\n- Again, there is no need to change the defaults\r\n\r\n|                          .                           |                          .                           |                          .                           |\r\n| :--------------------------------------------------: | :--------------------------------------------------: | :--------------------------------------------------: |\r\n| \u003cimg src=\"Figures/rtools03.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/rtools04.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/rtools05.png\" alt=\"\" width=\"250\"/\u003e |\r\n|                        **1**                         |                        **2**                         |                        **3**                         |\r\n| \u003cimg src=\"Figures/rtools06.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/rtools07.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/rtools08.png\" alt=\"\" width=\"250\"/\u003e |\r\n|                        **4**                         |                        **5**                         |                        **6**                         |\r\n| \u003cimg src=\"Figures/rtools09.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/rtools10.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/rtools11.png\" alt=\"\" width=\"250\"/\u003e |\r\n|                        **7**                         |                        **8**                         |                        **9**                         |\r\n| \u003cimg src=\"Figures/rtools12.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/rtools13.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/rtools14.png\" alt=\"\" width=\"250\"/\u003e |\r\n|                        **10**                        |                        **11**                        |                        **12**                        |\r\n| \u003cimg src=\"Figures/rtools15.png\" alt=\"\" width=\"250\"/\u003e |                       **DONE**                       |                                                      |\r\n|                        **13**                        |                        **14**                        |                                                      |\r\n\r\n## Installing RStudio\r\n\r\n- If you have already installed RStudio, before you skip this section check if you are using the right R version. Go to `Tools/Global Options`. Make you sure you have `R-3.1.2` under R version\r\n\r\n\u003cimg src=\"Figures/rstudio10.png\" alt=\"\" width=\"400\"/\u003e\r\n\r\n- Go to http://www.rstudio.com/ and click on `Desktop`\r\n\r\n\u003cimg src=\"Figures/rstudio01.png\" alt=\"\" width=\"400\"/\u003e\r\n\r\n- Select `DOWNLOAD RSTUDIO DESKTOP`\r\n\r\n\u003cimg src=\"Figures/rstudio02.png\" alt=\"\" width=\"400\"/\u003e\r\n\r\n- Download the installer for Windows\r\n\r\n\u003cimg src=\"Figures/rstudio03.png\" alt=\"\" width=\"400\"/\u003e\r\n\r\n- Open and run the file you just downloaded `RStudio-0.98.1091.exe`\r\n\r\n\u003cimg src=\"Figures/rstudio04.png\" alt=\"\" width=\"40\"/\u003e\r\n\r\n- You don't have to change any of the defaults for the installation\r\n\r\n|                           .                           |                           .                           |                           .                           |\r\n| :---------------------------------------------------: | :---------------------------------------------------: | :---------------------------------------------------: |\r\n| \u003cimg src=\"Figures/rstudio05.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/rstudio06.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/rstudio07.png\" alt=\"\" width=\"250\"/\u003e |\r\n|                         **1**                         |                         **2**                         |                         **3**                         |\r\n| \u003cimg src=\"Figures/rstudio08.png\" alt=\"\" width=\"250\"/\u003e | \u003cimg src=\"Figures/rstudio09.png\" alt=\"\" width=\"250\"/\u003e |                       **DONE**                        |\r\n|                         **4**                         |                         **5**                         |                         **6**                         |\r\n\r\n## Installing devtools\r\n\r\n- Open Rstudio, in the **Files/Plots/Packages/Help** panel, select **Packages** and then click on **Install**\r\n  \u003cimg src=\"Figures/devtools01.png\" alt=\"\" width=\"400\"/\u003e\r\n\r\n- Type `devtools` under **Packages**, make sure you spell the name of the package correctly. Then, click on **Install**  \r\n  \u003cimg src=\"Figures/devtools02.png\" alt=\"\" width=\"400\"/\u003e\r\n\r\n- Alternatively, you can run the following command in the console:\r\n\r\n```\r\ninstall.packages(\"devtools\")\r\n```\r\n\r\n## Installing packages from GitHub\r\n\r\nWe are ready to install R packages from GitHub\r\n\r\n- First we need to load the `devtools` package\r\n\r\n```r\r\nlibrary(devtools)\r\n```\r\n\r\n- Now we can install the `gapminder` package.\r\n\r\n```r\r\ninstall_github(\"jennybc/gapminder\")\r\n```\r\n\r\n## License\r\n\r\nhttp://opensource.org/licenses/MIT\r\n","funding_links":[],"categories":["Others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenomicsclass%2Fwindows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenomicsclass%2Fwindows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenomicsclass%2Fwindows/lists"}