* You are viewing Posts Tagged ‘Eclipse’

The new definitive guide for setting up Eclipse, StatET, and R on Windows 7

Quite a while back I wrote some tutorials on getting the StatET plugin for Eclipse running, so that you can write R code and run it within the Eclipse development environment. The developers of all of these pieces of software have kept marching on with the development process, so my walk-throughs are getting a little stale. Luckily, Catherine Dalzell has stepped in with an updated tutorial for getting the most recent versions up and running on Windows 7. See her blog post and the full-fledged pdf … Continue Reading

Eclipse and StatET 2.0 Install For Running R

The Eclipse IDE with StatET plugin, developed by Stephen Wahlbrink, is one of the more (maybe the most) full-featured options for running R. I’ve written about this combination before (previous post), but the highlights include a script editor with syntax highlighting, code completion, an integrated graphics window, an advanced debug system, and the best object browser available among the various freely available R development environments. This post outlines the installation of the current StatET 2.0.x version on a Windows 7 x64 system, since the installation process has become slightly more streamlined since … Continue Reading

One minor detail for getting 64-bit R-2.13 running with Eclipse/StatET

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 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 “Detect Default Properties/Settings” button to find all of your R-2.13 install locations. I chose … Continue Reading

A lightweight object browser for R

The following post is based on information originally found here: http://r.789695.n4.nabble.com/Object-Browser-td2594912.html
If you use the basic R GUI and you can manage to remember what sorts of objects you have in the workspace more than 5 seconds after you enter them, you’ve got a better short term memory than I do. But if you constantly lose track of what variables, data frames, model objects and so forth you have in your R session, a separate “object browser” window can be a godsend.

Diehard R command line users just use the ls() command to list the objects in memory, and get a … Continue Reading

R 2.12.0 and Eclipse with StatET installation

A while back I outlined the setup process for running R under the Eclipse integrated development environment with the help of WalWare.de’s StatET plugin for Eclipse, in Windows 7. This post is an update on that procedure for the newer versions of each of the programs now available.

Specifically, this information pertains to an installation of Eclipse 3.6 (Helios), StatET version 0.9.1.b201011060900E36sw, and R 2.12.0, under Windows 7 64-bit (circa December 2010). The process for making R work within Eclipse has become a bit more … Continue Reading

Sorting out Sweave in Eclipse/StatET

Using Sweave to produce pretty-looking documentation for R is awfully handy. It takes a little tweaking to get set up in Eclipse and StatET though. I followed the information in Jeromy Anglim’s webpage to originally get Sweave set up. The following is my experience getting it working with Eclipse 3.5, StatET 0.9.1.b201011060900E35sw, Sweave Add-on for StatET 0.9.0.b201011060900E35sw, MiKTeK 2.9, and R 2.12.0 i386 on Windows 7 x64 circa November 2010.

I initially wrote a .Rnw file to be run through Sweave and converted to a pdf. I then set up Eclipse to process the .Rnw file using Sweave. I … Continue Reading

Altering Eclipse user name

Using StatET’s code generation templates is handy, but the standard Eclipse variable for ${user} just inserts the currently logged-in user’s account name. If you want a different name to appear when ${user} is called, one method is to alter the eclipse.ini file.

Specifically, add the line
-Duser.name = Your full name
at the end of the .ini file.

For instance, my eclipse.ini file looks like this:
-Duser.name=Luke Miller

When I open a new R-script file in Eclipse now, StatET automatically inserts that user name.

You can further alter the generated code in the Eclipse Preferences window. Go to Window>Preferences and you’ll get the following window.

[caption id=”attachment_502″ align=”aligncenter” … Continue Reading

Eclipse and StatET – a working environment for R

In the endless search to find an interface for the R statistics package that recreates the features of my favorite Matlab development environment, I finally ran across the Eclipse and StatET combination. The Eclipse project produces the program that acts as the integrated development environment (also useful for Java development, php development, perl scripting etc.). To integrate your R installation into this development environment, you use the StatET plug-in for Eclipse, available at http://www.walware.de/?page=/it/statet/. The result looks like the picture below:

[caption id=”attachment_195″ align=”aligncenter” width=”300″ caption=”The Eclipse/StatET development environment for R. There aren't normally crudely drawn … Continue Reading