{"id":6143,"date":"2016-08-10T20:24:31","date_gmt":"2016-08-10T19:24:31","guid":{"rendered":"http:\/\/emilkirkegaard.dk\/en\/?p=6143"},"modified":"2016-08-28T23:44:02","modified_gmt":"2016-08-28T22:44:02","slug":"installing-r-packages-on-mint-17-1-cluster-kernsmooth-matrix-nlme-mgcv","status":"publish","type":"post","link":"https:\/\/emilkirkegaard.dk\/en\/2016\/08\/installing-r-packages-on-mint-17-1-cluster-kernsmooth-matrix-nlme-mgcv\/","title":{"rendered":"Installing R packages on Mint 17.1: cluster, KernSmooth, Matrix, nlme, mgcv"},"content":{"rendered":"<p>Installing R packages on Windows is easy: you run the install code and it always works. Not so on Linux! Here one sometimes has to install them thru apt-get (or whatever package manager) or install some missing system-level dependencies. Finding what to do can take a lot of time gooling and trial and error. So, in the spirit of contribuing to the internet about how to get stuff to work.<\/p>\n<pre>1: In install.packages(update[instlib == l, \"Package\"], l, contriburl = contriburl,\u00a0 :\r\n\u00a0 installation of package \u2018cluster\u2019 had non-zero exit status\r\n2: In install.packages(update[instlib == l, \"Package\"], l, contriburl = contriburl,\u00a0 :\r\n\u00a0 installation of package \u2018KernSmooth\u2019 had non-zero exit status\r\n3: In install.packages(update[instlib == l, \"Package\"], l, contriburl = contriburl,\u00a0 :\r\n\u00a0 installation of package \u2018Matrix\u2019 had non-zero exit status\r\n4: In install.packages(update[instlib == l, \"Package\"], l, contriburl = contriburl,\u00a0 :\r\n\u00a0 installation of package \u2018nlme\u2019 had non-zero exit status\r\n5: In install.packages(update[instlib == l, \"Package\"], l, contriburl = contriburl,\u00a0 :\r\n\u00a0 installation of package \u2018mgcv\u2019 had non-zero exit status<\/pre>\n<p>These all installed for me after installing:<\/p>\n<pre>sudo apt-get install r-base-dev\r\nsudo apt-get install gfortran<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Installing R packages on Windows is easy: you run the install code and it always works. Not so on Linux! Here one sometimes has to install them thru apt-get (or whatever package manager) or install some missing system-level dependencies. Finding what to do can take a lot of time gooling and trial and error. So, [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[2376,2375,1979],"class_list":["post-6143","post","type-post","status-publish","format-standard","hentry","category-computer","tag-install","tag-package","tag-r","entry"],"_links":{"self":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts\/6143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/comments?post=6143"}],"version-history":[{"count":2,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts\/6143\/revisions"}],"predecessor-version":[{"id":6159,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts\/6143\/revisions\/6159"}],"wp:attachment":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/media?parent=6143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/categories?post=6143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/tags?post=6143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}