{"id":361,"date":"2019-09-15T16:39:41","date_gmt":"2019-09-15T08:39:41","guid":{"rendered":"https:\/\/freeapp.sbs\/blog\/?p=361"},"modified":"2025-04-01T16:57:39","modified_gmt":"2025-04-01T07:57:39","slug":"wszjfdeg6scbwqt","status":"publish","type":"post","link":"https:\/\/eternalsphere.net\/echoes\/index.php\/2019\/09\/15\/wszjfdeg6scbwqt\/","title":{"rendered":"\u5e38\u89c1\u95ee\u9898"},"content":{"rendered":"<p>https:\/\/community.rstudio.com\/t\/biobase-not-available-for-r-version-3-5-1\/17761<\/p>\n<p>\u0394<a href=\"https:\/\/community.rstudio.com\/t\/biobase-not-available-for-r-version-3-5-1\/17761\"><strong><u><b>Biobase not available for R version 3.5.1<\/b><\/u><\/strong><\/a><\/p>\n<p>should first install the BiocManager package<\/p>\n<p>install.packages(&#8220;BiocManager&#8221;)<\/p>\n<p>BiocManager::install(&#8220;phyloseq&#8221;, version = &#8220;3.8&#8221;)<\/p>\n<p>\u0394checking whether pkg-config knows about cairo&#8230; no<\/p>\n<p>Cannot find cairo.h!<\/p>\n<p>you need the cario dev files<\/p>\n<p>apt-get install libcairo2-dev<\/p>\n<p>I also needed to install the following<\/p>\n<p>apt-get install libxt-dev<\/p>\n<p>\u0394\u8bbe\u7f6e Bioconductor \u955c\u50cf\uff0c\u52a0\u5feb\u5b89\u88c5\u901f\u5ea6<\/p>\n<p>source(&#8220;<a href=\"http:\/\/bioconductor.org\/biocLite.R\">http:\/\/bioconductor.org\/biocLite.R<\/a>&#8220;) \u4e4b\u540e\uff0c\u8f93\u5165 chooseBioCmirror()<\/p>\n<p>\u25b2<a href=\"https:\/\/stackoverflow.com\/questions\/41839214\/installation-path-not-writable-r-unable-to-update-packages\">installation path not writable R, unable to update packages<\/a><\/p>\n<p>It was a permission issue for me. First, I identified where the packages were installed using\u00a0installed.packages()[, c(&#8220;Package&#8221;, &#8220;LibPath&#8221;)]. This outputs a long 2 column matrix with the names and locations of the packages. Then you will see where the offending packages are. In my case, they were at\u00a0\/usr\/lib\/R\/site-library\u00a0and\u00a0\/usr\/lib\/R\/library. Then I changed the permission of these folders by\u00a0chmod\u00a0(I used\u00a0chmod -R 777\u00a0on the main R folder, this is my personal computer, so security is not a big concern here I think).<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/community.rstudio.com\/t\/biobase-not-available-for-r-version-3-5-1\/17761 \u0394Biobase not available for R version 3.5.1 should first install the BiocManager package install.packages(&#8220;BiocManager&#8221;) BiocManager::install(&#8220;phyloseq&#8221;, version = &#8220;3.8&#8221;) \u0394checking whether pkg-config knows about cairo&#8230; no Cannot find cairo.h! you need the cario dev files apt-get install libcairo2-dev I also needed to install the following apt-get install libxt-dev \u0394\u8bbe\u7f6e Bioconductor &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[],"class_list":["post-361","post","type-post","status-publish","format-standard","hentry","category-fb-nl8mulvbo"],"_links":{"self":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/comments?post=361"}],"version-history":[{"count":2,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/361\/revisions"}],"predecessor-version":[{"id":3735,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/361\/revisions\/3735"}],"wp:attachment":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/media?parent=361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/categories?post=361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/tags?post=361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}