{"id":880,"date":"2011-05-09T11:57:03","date_gmt":"2011-05-09T15:57:03","guid":{"rendered":"http:\/\/lukemiller.org\/?p=880"},"modified":"2011-05-09T11:57:03","modified_gmt":"2011-05-09T15:57:03","slug":"one-minor-detail-for-getting-64-bit-r-2-13-running-with-eclipsestatet","status":"publish","type":"post","link":"https:\/\/lukemiller.org\/index.php\/2011\/05\/one-minor-detail-for-getting-64-bit-r-2-13-running-with-eclipsestatet\/","title":{"rendered":"One minor detail for getting 64-bit R-2.13 running with Eclipse\/StatET"},"content":{"rendered":"<p>Upgrading from R-2.12 to R-2.13 was fairly painless, except for one minor hiccup in trying to get the 64-bit version running on my installation of Eclipse + StatET under Windows 7. The setup instructions are almost entirely the same as I have outlined previously (<a href=\"https:\/\/lukemiller.org\/index.php\/2010\/12\/r-2-12-0-and-e\u2026t-installation\/\">R 2.12.0 and Eclipse with StatET installation<\/a>). But when you go to set up a 64-bit environment in Eclipse using those instructions, you must make one change to the Environment Configuration. Shown below is what you get when you use the &#8220;Detect Default Properties\/Settings&#8221; button to find all of your R-2.13 install locations. I chose 64-bit in the gray drop-down menu before hitting Detect Default Properties\/Settings, and got the options below:<\/p>\n<p style=\"text-align: center;\">\n<figure id=\"attachment_882\" aria-describedby=\"caption-attachment-882\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/lukemiller.org\/wp-content\/uploads\/2011\/05\/x64_no_good.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-882 \" title=\"_x64_no_good\" src=\"https:\/\/lukemiller.org\/wp-content\/uploads\/2011\/05\/x64_no_good-300x211.png\" alt=\"\" width=\"300\" height=\"211\" srcset=\"https:\/\/lukemiller.org\/wp-content\/uploads\/2011\/05\/x64_no_good-300x211.png 300w, https:\/\/lukemiller.org\/wp-content\/uploads\/2011\/05\/x64_no_good.png 705w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-882\" class=\"wp-caption-text\">This is almost correct, except for the &quot;\/x64&quot; in the white box next to Architecture.<\/figcaption><\/figure>\n<p>If you try to run your R environment configuration with the \/x64 entered in the white box next to Architecture, you&#8217;ll get an error saying rJava failed to launch:<\/p>\n<figure id=\"attachment_883\" aria-describedby=\"caption-attachment-883\" style=\"width: 378px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/lukemiller.org\/wp-content\/uploads\/2011\/05\/error_message.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-883 \" title=\"error_message\" src=\"https:\/\/lukemiller.org\/wp-content\/uploads\/2011\/05\/error_message.png\" alt=\"\" width=\"378\" height=\"214\" srcset=\"https:\/\/lukemiller.org\/wp-content\/uploads\/2011\/05\/error_message.png 378w, https:\/\/lukemiller.org\/wp-content\/uploads\/2011\/05\/error_message-300x169.png 300w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\" \/><\/a><figcaption id=\"caption-attachment-883\" class=\"wp-caption-text\">The error message.<\/figcaption><\/figure>\n<p>The fix is subtle, but simple. Go to the R Environment Configuration window again (under Window&gt;Preferences, then choose StatET&gt;Run\/Debug\/R Environments on the left-hand tree of the window and edit your configured R installation). Simply click on the <em>white<\/em> drop-down menu next to Architecture that previously said &#8216;\/x64&#8217; and choose &#8216;x86_64&#8217;.\u00a0 Leave the 64-bit option chosen in the grey drop-down menu. Don&#8217;t run the Detect Default Properties\/Settings again, there is no need. Your Environment Configuration should look something like the image below, except your Name and Location fields will be different from mine.<\/p>\n<p><figure id=\"attachment_884\" aria-describedby=\"caption-attachment-884\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/lukemiller.org\/wp-content\/uploads\/2011\/05\/x86_64_okay.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-884\" title=\"x86_64_okay\" src=\"https:\/\/lukemiller.org\/wp-content\/uploads\/2011\/05\/x86_64_okay-300x211.png\" alt=\"\" width=\"300\" height=\"211\" srcset=\"https:\/\/lukemiller.org\/wp-content\/uploads\/2011\/05\/x86_64_okay-300x211.png 300w, https:\/\/lukemiller.org\/wp-content\/uploads\/2011\/05\/x86_64_okay.png 705w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-884\" class=\"wp-caption-text\">The correct architecture is &#39;x86_64&#39; when you want to run 64-bit R-2.13.<\/figcaption><\/figure><br \/>\nAfter making that change, you should be able to go to the Run menu in Eclipse and successfully launch a 64-bit session of R-2.13, provided that you&#8217;ve completed the rest of the setup instructions <a href=\"https:\/\/lukemiller.org\/index.php\/2010\/12\/r-2-12-0-and-e\u2026t-installation\/\">outlined previously<\/a>, of course.<\/p>\n<p>This fix is based on the thread on the StatET mailing list found <a href=\"http:\/\/lists.r-forge.r-project.org\/pipermail\/statet-user\/2011-April\/000859.html\">here.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Upgrading from R-2.12 to R-2.13 was fairly painless, except for one minor hiccup in trying to get the 64-bit version running on my installation of Eclipse + StatET under Windows 7. The setup instructions are almost entirely the same as I have outlined previously (R 2.12.0 and Eclipse with StatET installation). But when you go [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[218],"tags":[81,14,80,15],"class_list":["post-880","post","type-post","status-publish","format-standard","hentry","category-r-project","tag-64-bit","tag-eclipse","tag-r-2-13-0","tag-statet"],"_links":{"self":[{"href":"https:\/\/lukemiller.org\/index.php\/wp-json\/wp\/v2\/posts\/880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lukemiller.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lukemiller.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lukemiller.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lukemiller.org\/index.php\/wp-json\/wp\/v2\/comments?post=880"}],"version-history":[{"count":16,"href":"https:\/\/lukemiller.org\/index.php\/wp-json\/wp\/v2\/posts\/880\/revisions"}],"predecessor-version":[{"id":899,"href":"https:\/\/lukemiller.org\/index.php\/wp-json\/wp\/v2\/posts\/880\/revisions\/899"}],"wp:attachment":[{"href":"https:\/\/lukemiller.org\/index.php\/wp-json\/wp\/v2\/media?parent=880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lukemiller.org\/index.php\/wp-json\/wp\/v2\/categories?post=880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lukemiller.org\/index.php\/wp-json\/wp\/v2\/tags?post=880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}