{"id":983,"date":"2013-06-28T08:03:31","date_gmt":"2013-06-28T12:03:31","guid":{"rendered":"http:\/\/wehuberconsultingllc.com\/wordpress\/?p=983"},"modified":"2013-06-28T09:57:18","modified_gmt":"2013-06-28T13:57:18","slug":"rcmdr-for-r-portable-or-how-to-create-a-custom-shortcut-in-the-portableapps-menu","status":"publish","type":"post","link":"https:\/\/wehuberconsultingllc.com\/wordpress\/2013\/06\/28\/rcmdr-for-r-portable-or-how-to-create-a-custom-shortcut-in-the-portableapps-menu\/","title":{"rendered":"Rcmdr for R-Portable or How to Create a Custom Shortcut in the PortableApps Menu"},"content":{"rendered":"<p>I have been playing around with <a href=\"http:\/\/www.rcommander.com\/\">Rcmdr<\/a> since I saw several folks talk say good things about it. To make it play nicely R-Portable I decided to create my own PortableApps icon to launch R-Portable and automatically start Rcmdr. The procedure is similar to creating a <a href=\"http:\/\/jekyll.math.byuh.edu\/other\/howto\/R\/shortcutRcmdr.shtml\">shortcut for Rcmdr<\/a> except that I will start R-Portable from a separate folder that contains a customized version of .Rprofile that automatically starts Rcmdr. So I created a&#160; Rcmdr folder in my Portableapps program directory, created a DOS batch file that starts R-Portable with the \u00e2\u20ac\u0153\u00e2\u20ac\u201dsdi\u00e2\u20ac\u009d option, and created a .Rprofile file like <a href=\"http:\/\/jekyll.math.byuh.edu\/other\/howto\/R\/shortcutRcmdr.shtml\">Scott Hyde<\/a> had recommended. You can test your setup at this point. I am assuming you have previously installed R Commander. When you execute the batch file a DOS screen should briefly flash and both the R and the \u00e2\u20ac\u0153sdi\u00e2\u20ac\u009d version of the R Commander window should open.<\/p>\n<p>To get a PortableApps icon to appear I created the PortableApps folder structure in Rcmdr, created an appinfo.ini file that referenced the batch file as the program executable, and copied the R icons from R-Portable into the \u00e2\u20ac\u0153app\\appinfo\u00e2\u20ac\u009d folder. Now when I refresh my PortableApps icons I have a \u00e2\u20ac\u0153R\u00e2\u20ac\u009d icon for R Commander Portable to go with my existing icons for R Portable and RStudio Portable. Here is a zipped version of my Rcmdr folder,<br \/>\n<a href=\"http:\/\/wehuberconsultingllc.com\/wordpress\/wp-content\/uploads\/2013\/06\/Rcmdr.zip\">Rcmdr.zip<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been playing around with Rcmdr since I saw several folks talk say good things about it. To make it play nicely R-Portable I decided to create my own PortableApps icon to launch R-Portable and automatically start Rcmdr. The procedure is similar to creating a shortcut for Rcmdr except that I will start R-Portable &hellip; <a href=\"https:\/\/wehuberconsultingllc.com\/wordpress\/2013\/06\/28\/rcmdr-for-r-portable-or-how-to-create-a-custom-shortcut-in-the-portableapps-menu\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Rcmdr for R-Portable or How to Create a Custom Shortcut in the PortableApps Menu&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[104],"tags":[146],"class_list":["post-983","post","type-post","status-publish","format-standard","hentry","category-r","tag-r"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4iN3d-fR","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/posts\/983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/comments?post=983"}],"version-history":[{"count":5,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/posts\/983\/revisions"}],"predecessor-version":[{"id":990,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/posts\/983\/revisions\/990"}],"wp:attachment":[{"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/media?parent=983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/categories?post=983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/tags?post=983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}