{"id":616,"date":"2018-04-13T18:28:12","date_gmt":"2018-04-13T23:28:12","guid":{"rendered":"http:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=616"},"modified":"2018-04-13T18:28:12","modified_gmt":"2018-04-13T23:28:12","slug":"install-linda-for-r","status":"publish","type":"post","link":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=616","title":{"rendered":"Install LINDA for R"},"content":{"rendered":"<p>under su:<br \/>\nmkdir ~\/.R<br \/>\necho &#8220;CPPFLAGS=-fpermissive&#8221; &gt;&gt; ~\/.R\/Makevars<br \/>\nln -s \/location\/of\/LINDA \/usr\/local\/<br \/>\nR<br \/>\nin &#8220;R&#8221;:<br \/>\ninstall.packages(&#8220;Rcpp&#8221;)<br \/>\ninstall.packages(&#8220;magrittr&#8221;)<br \/>\ninstall.packages(&#8220;drat&#8221;)<br \/>\ndrat::addRepo(&#8220;ANTs-R&#8221;)<br \/>\ninstall.packages(&#8220;ANTsR&#8221;)<br \/>\ninstall.packages(&#8220;randomForest&#8221;)<br \/>\nsource(&#8216;\/usr\/local\/LINDA\/linda_predict.R&#8217;)<br \/>\nq()<\/p>\n","protected":false},"excerpt":{"rendered":"<p>under su: mkdir ~\/.R echo &#8220;CPPFLAGS=-fpermissive&#8221; &gt;&gt; ~\/.R\/Makevars ln -s \/location\/of\/LINDA \/usr\/local\/ R in &#8220;R&#8221;: install.packages(&#8220;Rcpp&#8221;) install.packages(&#8220;magrittr&#8221;) install.packages(&#8220;drat&#8221;) drat::addRepo(&#8220;ANTs-R&#8221;) install.packages(&#8220;ANTsR&#8221;) install.packages(&#8220;randomForest&#8221;) source(&#8216;\/usr\/local\/LINDA\/linda_predict.R&#8217;) q()<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,3],"tags":[],"class_list":["post-616","post","type-post","status-publish","format-standard","hentry","category-computer-tips","category-mri-technical-support","post-blog"],"_links":{"self":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=616"}],"version-history":[{"count":1,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/616\/revisions"}],"predecessor-version":[{"id":617,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/616\/revisions\/617"}],"wp:attachment":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}