StatET – Setup and Installation Errol Strain useR! July 20 th 2010.

Slides:



Advertisements
Similar presentations
August 2012 This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit
Advertisements

Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
Copyright GeneGo CONFIDENTIAL »« MetaCore TM (System requirements and installation) Systems Biology for Drug Discovery.
Software Configuration Management Donna Albino LIS489, December 3, 2014.
David Notkin Autumn 2009 CSE303 Lecture 22 Subversion is an open source version control system. Social Implications Friday version control system.
Java Integrated Development Environments: ECLIPSE Part1 Installation.
Eclipse Introduction Dwight Deugo Nesa Matic
IERG4180 Tutorial 4 Jim.
13-Jul-15 Getting Ready for Java. 2 What You Need 256 MB of RAM (512 MB or more recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably.
Source Control Repositories for Enabling Team Working Svetlin Nakov Telerik Corporation
© 2010 IBM Corporation IBM Experience Modeler - Theme Editor Installing Python Image Library Presenter’s Name - Presenter’s Title DD Month Year.
SubVersioN – the new Central Service at DESY by Marian Gawron.
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
European Organization for Nuclear Research Source Control Management Service (Subversion) Brice Copy, Michel Bornand EN-ICE 13 May 2009.
Julie McEnery1 Installing the ScienceTools The release manager automatically compiles each release of the Science Tools, it creates a set of wrapper scripts.
Getting Started With Java Downloading and installing software Running your first program Dr. DwyerFall 2012.
NSDI/NBII Clearinghouse Server Training Slide 1 NSDI/NBII Clearinghouse Server Training Yellowstone to Yukon Initiative 7. December University of.
Tutorial 11 Installing, Updating, and Configuring Software
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
Sumedha Rubasinghe October,2009 Introduction to Programming Tools.
Hands-On Virtual Computing
© 2013 IBM Corporation Get started on IBM Linux on Power SDK November 2013.
MAE Continuous Integration Administration guide July 8th, 2013.
Version control Using Git Version control, using Git1.
INF 123: Software Architectures, Distributed Systems, and Interoperability Discussion Session Week 1 - Spring 2008 Instructor: Prof. Richard N. Taylor.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
JCreator Tonga Institute of Higher Education. Programming with the command line and notepad is difficult. DOS disadvantages  User Interface (UI) is not.
Version Control Systems with Subversion (SVN) and Tortoise.
SVN in Eclipse Presented by David Eisler 10/09/2014.
DireXions – Your Tool Box just got Bigger PxPlus Version Control System Using TortoiseSVN Presented by: Jane Raymond.
Prachi Chitnis.  The CSS feel  SDS – Synoptic Display Studio  ADL Converter  PV table, Probe…
Ohana Software’s PAF INSIGHT Part 1 By Tina Abplanalp
9/2/ CS171 -Math & Computer Science Department at Emory University.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
Ant & Jar Ant – Java-based build tool Jar – pkzip archive, that contains metadata (a manifest file) that the JRE understands.
INFSO-RI Enabling Grids for E-sciencE SCDB C. Loomis / Michel Jouvin (LAL-Orsay) Quattor Tutorial LCG T2 Workshop June 16, 2006.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Refactoring and Synchronization with the StarTeam Plug-in for Eclipse  Jim Wogulis  Principal Architect, Borland Software Corporation.
Version Control CSC 517 John Slankas. Version Control Managing files and directories, and the changes made to them over time. - Adapted from “Version.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Introduction to Common Java Development Tools (1) 1.
Package & Deploy. OBJECTIVES Package Deploy Way to package.
Loader Tutorial Set Up. Requirements Java 7 Eclipse IvyIDE plugin Git Optional: Ant Maven.
NJIT 1 Apache Tomcat (Version 6.0) THETOPPERSWAY.COM.
Introduction to Linux Server Setup Jonathan Hood CSE 4000 Practical Issues in Software Engineering.
SVN code server for AliRoot P.Hristov 18/10/2007.
1 CSE 303 Lecture 19 Version control and Subversion ( svn ) slides created by Marty Stepp
------TAO, MARKUS Project IT. JavaDoc ‣ JavaDoc is a standard method of commenting source code (interfaces, classes, methods, instances variables). ‣
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
 Project Team: Suzana Vaserman David Fleish Moran Zafir Tzvika Stein  Academic adviser: Dr. Mayer Goldberg  Technical adviser: Mr. Guy Wiener.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
Source Control Repositories for Enabling Team Working Doncho Minkov Telerik Corporation
 CSC 215 : Procedural Programming with C C Compilers.
NALINI S. NAUTIYAL SYSTEM SOFTWARE DIVISION Subversion.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
Anjana & Shankar September,2010 Introduction to Programming Tools.
Software Configuration Management -Subversion- RTLAB YuJin Park.
CSC 215 : Procedural Programming with C
CLOUD
Concurrent Version Control
Version Control with Git accelerated tutorial for busy academics
slides borrowed and adapted from Alex Mariakis and CSE 390a
University of Texas Rio Grande Valley Systems Administration CSCI 6175
Compilers, Make and SubVersion
Subversion Basics Guide
JENKINS TIPS Ideas for making your life with Jenkins easier
Review of Previous Lesson
Presentation transcript:

StatET – Setup and Installation Errol Strain useR! July 20 th 2010

Material to Cover Minimum Installation –Java –Eclipse –StatET Recommended Installation –Apache, subversion, subclipse, LaTeX, Rtools Tricks and Troubleshooting

Java (and rJava) Sun Java ( for Linux & Windowshttp://java.sun.com –JRE 1.5 or higher –Eclipse/R/StatEt was crashing frequently with IBM java on RHEL4 x86_64 (but this may be fixed in recent versions) –Eclipse can use local JRE if necessary Windows (32-bit) –CRAN binaries work in XP OS X –CRAN binaries (Snow Leopard) – –Forced to compile, use MacPorts Linux (RHEL and Ubuntu) –CRAN binaries (RHEL 5 & Lucid Lynx) –Shared/Dynamic Libraries, compile with “--enable-R-shlib”

R and Packages Setup tested using R on XP and Snow Leopard rJava (version 8.4) rj (version ) –Needed for StatET RJ launch –Not available on CRAN –Download from –Use the terminal/console to install $ R CMD INSTALL --no-test-load rj_ tar.gz –R does not have --no-test-load option

R Path StatET uses defined R environments, not the system R path in Windows and Linux –Multiple R installations (Current version, previous working version, development version) –Terminal/Console output and default StatET output be consistent Windows XP –Settings -> Control Panel -> System -> Advanced -> Environment Variables, then edit Path variable to include C:\R\R \bin –Or create symbolic link from C:\R\R to C:\R\R and edit path to include C:\R\R\bin OS X and Linux –/Users/username/.profile –/home/username/.bashrc

Building Packages Compilers (gcc, mingw, Fortran), Perl, bitmap libraries, gzip, tar, etc. Windows –Use Rtools.exe – OS X –XCode Developer Tools – Linux (Ubuntu) –Use apt-get install r-base-dev

Eclipse IDE Download Eclipse Classic (3.6) for your OS from –Eclipse IDE for Java Developers is also supposed to work –Synaptic/Yum repository versions are usually a little behind Extract Files –One eclipse folder per user is easiest (config settings) –C:\eclipse\eclipse36 (Windows) –\home\user\eclipse\eclipse36 (Linux) –Applications Folder (OS X) Memory settings (eclipse/configuration/config.ini) –Modify/Add line to config.ini “-Xmx4096m” Select a Workspace –“C:\eclipse\workspace” or “\home\user\workspace” preferred –Makes it easier to switch machines and collaborate on projects (absolute path names) –Multiple workspaces for different large, complex projects?

Plug-Ins Help -> Install New Software –If using Eclipse 3.5, add –If using 3.6, download archive from –Install StatET and related components Subclipse (uses subversion) –Help -> Install New Software – –Uncheck Mylyn and Revision Graph EGit (uses git) –Help -> Install New Software –

Eclipse StatET/R Tutorial Installing Plug-Ins Create StatET project Specify Connector –New Console, Classic Console, Rgui, Xterm Add R Environment –Detect Default Properties/Settings –Set as Default R Console Launch Configuration Launch the console R Index

Problems? Often Java Related –Check JRE under Run Configurations –Follow suggestions from In JRE tab, add to vm arguments: "-Drjava.path= " Snow Leopard –Complains about 32-bit R with 64-bit JRE Help -> About Eclipse -> Installation Details -> Configuration Building R from source? –R CMD javareconf

Latex and Sweave Statistical Analyses and Reproducible Research (Gentleman and Lang 2004) – MacTeX or MiKTeX Copy style files from R /share/texmf to your TeX path –Linux: $HOME/texmf/tex/latex –OS X: ~/Library/texmf/tex/latex Refresh LaTeX database –texhash

Sweave Setup Sweave Run Configurations (Eclipse 3.5) –Sweave Tab Sweave Document Processing Run R CMD Sweave –Create New –LaTex Tab –Output Format: pdf Eclipse 3.6 –Run inside console –*.Rnw file must be in working directory Latex Error –TeXClipse Highlighting –Run LaTeX from the Console

Troubleshooting SVN Conflicts, SVN corrupted R files with “<<<<<<<<<.mine“ –Subversion attempts to merge files, resulting in *.mine, *.rXXX –Edit Conflicts, Mark Resolved Too many files, large files –3000+ files in a folder is too many, 100 is okay Team Cleanup (svn cleanup) –Locked files Nuclear Option –Copy affected directories, delete *.svn folders –Replace with repository version –Copy/Replace workspace files with copies –Lose subversion history

Subversion Proxy Subversion servers file on Windows C:\Documents and Settings\Errol.Strain\Application Data\Subversion [global] # http-proxy-exceptions = *.exception.com, # http-proxy-host = defaultproxy.whatever.com # http-proxy-port = 7000 # http-proxy-username = defaultusername # http-proxy-password = defaultpassword Servers file is overwritten when updating eclipse/subclipse –Keep a backup of the working copy Where to look for help – –

Subversion Server Setup Requires Apache –OS X: /etc/apache2 –Linux: /etc/httpd or /etc/apache2 OS X Subversion Installation – – own-subversion-repository-in-leopard/ own-subversion-repository-in-leopard/ Ubuntu: Problems? –Firewall settings –SVN repository permissions –Search for “apache dav svn”

Acknowledgements BD Technologies –Elaine McVey, Daniel Samarov, Julie Leonard, Dylan Wilson, Perry Haaland StatET –Stephan Wahlbrink FDA – Center for Food Safety and Nutrition