Tag Archives: Eclipse

WPS Tip – Dynamic Help

Here’s a neat little tip that was shared with me by a Customer Support/Sales Engineer from WP a few months back. It’s Dynamic Help and it allows you to have a help window open and by clicking on keywords in the editor you will see an updated help screen on that topic and any related topics.

Ctrl + F1 – Opens Dynamic Help.

Click on any keyword in the editor and you will see the dynamic help window update with links for that keyword and other possibly related links.

 

image

If you drill down into the help system, you can click on Related Topics at the bottom of the help window to return to the primary Dynamic Help  screen.

Interfaces such as the Eclipse Workbench quickly make it obvious to anyone who uses them that it’s advantageous to have a large widescreen monitor. Having a widescreen monitor makes programming in WPS a more enjoyable endeavor because it allows you to have numerous Workbench windows open simultaneously but you still have focus on the editor itself.

About the author: Phil Rack is President of MineQuest, LLC. and has been a SAS language developer for more than 25 years. MineQuest provides WPS and SAS consulting and contract programming services and a reseller of WPS in North America.

WPS Tip – RegEx Testing

One of the nicer things about WPS is the extendibility of the Eclipse Workbench. You can extend the Workbench by use of plugins. There are lots of plugins available that you can use but you need to understand one restriction that is currently in-place. That restriction is that you can only install a plugin to the WPS environment by manually copying the file into the Eclipse directory and NOT by using the Software Updates method.

There are a couple of plugins that I have in my environment but the one I want to show you is a regular expressions tester. Since WPS supports the language of SAS, and that includes Regular Expressions using the PRX functions, having a RegEx Tester is quite convenient.

You can download and install the RegEx Tester plugin from Stephan Brosinski web site at: http://www.brosinski.com/regex/

Choose “Download the most recent version as a zip file” and simply follow the installation directions he provides at the bottom of the page. Once you have it installed, the RegEx Tester will appear on the right hand side of the Workbench. Below is a screen shot of some demo text as it appears in the RegEx Tester.

image

There are a number of web sites that offer tutorials on Regular Expressions. Two websites offering tutorials on Regular Expressions can be found at http://www.aivosto.com/vbtips/regex.html and also at  http://www.regular-expressions.info/index.html

About the author: Phil Rack is President of MineQuest, LLC. and has been a SAS language developer for more than 25 years. MineQuest provides WPS and SAS consulting and contract programming services and a reseller of WPS in North America.

WPS Tips – Start a New Session

As most of you who have been using WPS via the Eclipse Workbench already now, you can submit a WPS program and instantly start modifying code, view the log window or listing window without impact to your existing session. You can even start a new program editor all the while your WPS program is running in the background. Try that with the SAS DMS!

One thing you can’t do is submit a second WPS program while you are running a program in an existing session. But here’s a neat trick that allows you to run a second program simultaneously and take advantage of all that horsepower of your PC. By simply starting a new WPS session you can run another WPS program while your first one in session #1 is executing.

To do this, simply go to the main menu and click on Window and then select New Window. A new WPS session will start-up with all your existing programs in the Project Explorer Window

 

image

About the author: Phil Rack is President of MineQuest, LLC. and has been a SAS language developer for more than 25 years. MineQuest provides WPS and SAS consulting and contract programming services and a reseller of WPS in North America.

WPS Tip – Turn ON or OFF Line Numbers

 

Here’s a quick tip for you. Did you know that you can turn on or off line numbers in the editor via a pop-up menu?

From the editor window move your mouse to the left margin area and then click your right mouse button. A pop-up menu will appear that will provide you with the ability to turn ON or OFF line numbers. There’s also a Preferences selection that you can click to set other parameters such as color coding and the number of spaces for a tab.

 

 

EclipseLineNumbers

 

About the author: Phil Rack is President of MineQuest, LLC. and has been a SAS language developer for more than 25 years. MineQuest provides WPS and SAS consulting and contract programming services and a reseller of WPS in North America.

 

Technorati Tags: ,,,

Linux, Open Source and Analytics

I spent part of the weekend at a beer tasting party and the other part brushing up my skills on Linux. The beer tasting party was much more rewarding and is almost embarrassing how well we do each year at this thing. I’m proud to say that we are experts in identifying domestic beers!

So how did the Linux research/testing go? Not bad really. I created a couple of Virtual Machines (VM’s) using SUN’s VirtualBox in both Ubuntu and Fedora 11. After struggling for about an hour in how to get the VirtualBox add-ins to work in Fedora so I could change display resolutions and work in seamless mode, the rest was pretty straight forward.

I built an analytics VM that I think is pretty nice… especially if you are a student or a professional who wants to test and expand their knowledge of some Open Source Software . I installed a number of Open Source analytical applications in the Fedora and Ubuntu VM’s. These include:

  1. R – Open Source Statistics
  2. Rcmdr – A front end GUI for R
  3. Rattle – a data mining application for R from Togaware
  4. Eclipse – a GUI/Workbench framework
  5. StatET – an Eclipse plugin that allows you to run R – from Walware
  6. Open Office – Office Applications
  7. BIRT – a reporting suite which integrates into Eclipse
  8. PSPP – an open source (and unfinished) SPSS clone

 

What’s nice about using a VM is that it doesn’t corrupt your current installation. It’s also handy in that you can simply copy the VM onto a DVD or another storage medium and regain the space that the VM is using.

The downside to using a VM is that it slower than running in native mode. This is especially true when you are doing a lot of disk access to read and write data. The two things that I do like about SUN’s VM’s is that I can easily assign a number of CPU cores to the VM and secondly run the VM in seamless mode. Running in seamless mode takes away a lot of the negative views and pain that I have when using Linux at this stage.

About the author: Phil Rack is President of MineQuest, LLC. and has been a SAS language developer for more than 25 years. MineQuest provides WPS and SAS consulting and contract programming services and a reseller of WPS in North America.