{"id":676,"date":"2022-11-11T13:25:51","date_gmt":"2022-11-11T12:25:51","guid":{"rendered":"https:\/\/www.meb.ki.se\/sites\/meb-it\/?p=676"},"modified":"2025-09-29T12:04:28","modified_gmt":"2025-09-29T10:04:28","slug":"r-vdi-package-installation","status":"publish","type":"post","link":"https:\/\/www.meb.ki.se\/sites\/meb-it\/r-vdi-package-installation\/","title":{"rendered":"R in VDI, and package installation"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Source packages<\/h3>\n\n\n\n<p><em><mark style=\"background-color:var(--theme-palette-color-7, #fcfcfc)\" class=\"has-inline-color\">These instructions are for version 4.5.x of R!<\/mark><\/em><\/p>\n\n\n\n<p>If you absolutely need to install packages from source, you will have to install Rtools on your <code>Z:<\/code> drive:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download rtools45-xxxx-yyyy.exe (where xxxx and yyyy are numbers) from <a href=\"https:\/\/cran.r-project.org\/bin\/windows\/Rtools\/rtools45\/files\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/li>\n\n\n\n<li>Install to <strong>your Z: drive<\/strong>, to a folder named <code>Z:\\.R\\rtools45<\/code><\/li>\n\n\n\n<li>Optional, but recommended:\n<ol start=\"1\" class=\"wp-block-list inner-ordered-list-small-alphabetical\">\n<li class=\"inner-roman-style-ordered-list\">Open a Windows Command Prompt (press <code>Win+R<\/code>, type&nbsp;<code>cmd<\/code>&nbsp;and press <code>Enter<\/code>).<\/li>\n\n\n\n<li>Issue the command&nbsp;<code>pacman -Syuu<\/code>&nbsp;to update the core packages (press&nbsp;Y&nbsp;when it asks to proceed).<\/li>\n\n\n\n<li>Issue the command&nbsp;<code>pacman -Suu<\/code>&nbsp;to update the system packages&nbsp;(press&nbsp;Y&nbsp;when it asks to proceed)<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source packages These instructions are for version 4.5.x of R! If you absolutely need to install packages from source, you will have to install Rtools on your Z: drive:<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[21,23],"tags":[],"class_list":["post-676","post","type-post","status-publish","format-standard","hentry","category-r","category-vdi"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.meb.ki.se\/sites\/meb-it\/wp-json\/wp\/v2\/posts\/676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.meb.ki.se\/sites\/meb-it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.meb.ki.se\/sites\/meb-it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.meb.ki.se\/sites\/meb-it\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.meb.ki.se\/sites\/meb-it\/wp-json\/wp\/v2\/comments?post=676"}],"version-history":[{"count":24,"href":"https:\/\/www.meb.ki.se\/sites\/meb-it\/wp-json\/wp\/v2\/posts\/676\/revisions"}],"predecessor-version":[{"id":1002,"href":"https:\/\/www.meb.ki.se\/sites\/meb-it\/wp-json\/wp\/v2\/posts\/676\/revisions\/1002"}],"wp:attachment":[{"href":"https:\/\/www.meb.ki.se\/sites\/meb-it\/wp-json\/wp\/v2\/media?parent=676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.meb.ki.se\/sites\/meb-it\/wp-json\/wp\/v2\/categories?post=676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.meb.ki.se\/sites\/meb-it\/wp-json\/wp\/v2\/tags?post=676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}