{"id":750,"date":"2024-07-08T22:16:40","date_gmt":"2024-07-08T14:16:40","guid":{"rendered":"https:\/\/linguopeng.top\/?p=750"},"modified":"2024-09-06T23:44:34","modified_gmt":"2024-09-06T15:44:34","slug":"rstudio","status":"publish","type":"post","link":"https:\/\/linguopeng.top\/?p=750","title":{"rendered":"Rstudio"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>linguopeng.top:8787\n100.75.29.54:8787\nmamba create -n r4.2.2 -c conda-forge \"r-base==4.2.2\" -y\nmamba activate r4.2.2\nmamba install r-tidyverse -y\ncp -rf \/Users\/guopenglin\/mambaforge\/envs\/r4.2.2\/lib\/R\/library \/Users\/guopenglin\/data\/docker_data\/rstudio\/guopenglin\n# Get the current library paths\ncurrent_lib_paths &lt;- .libPaths()\n# Add a new library path\nnew_lib_paths &lt;- c(\"\/home\/guopenglin\/library\",current_lib_paths)\n# Set the new library paths\n.libPaths(new_lib_paths)\n.libPaths()\n\n\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3],"class_list":["post-750","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-r"],"_links":{"self":[{"href":"https:\/\/linguopeng.top\/index.php?rest_route=\/wp\/v2\/posts\/750","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linguopeng.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linguopeng.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linguopeng.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linguopeng.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=750"}],"version-history":[{"count":5,"href":"https:\/\/linguopeng.top\/index.php?rest_route=\/wp\/v2\/posts\/750\/revisions"}],"predecessor-version":[{"id":766,"href":"https:\/\/linguopeng.top\/index.php?rest_route=\/wp\/v2\/posts\/750\/revisions\/766"}],"wp:attachment":[{"href":"https:\/\/linguopeng.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=750"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linguopeng.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=750"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linguopeng.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}