Application for creating a user friendly web interface for R scripts
15/12/2006 Added the option of including a 'Login' page at the begining of the application. The 'Login' page can require either a single password for all users
or username/password pairs. The password, or username/password pairs, are held in a text file called passwords.txt in the WEB-INF directory of your application and
can be changed or added to by editing this file. See 'Help' for further details.
15/12/2006 The applications created by Rwui now clear up the session attributes on startup in case an old session is still active.
2/1/2007 Radio buttons with the same variable name can now be added to the page at different locations, with other input
items lying in between. But re-using a variable name is not allowed for other types of input items, only radio buttons.
2/1/2007 Added the option to turn off validation in the applications created by Rwui.
2/1/2007 Added the option of parent-child linking of validation. The value of parent radio buttons or checkboxes can
determine whether child input items are validated or not in applications created by Rwui.
2/1/2007 NB: Application definition files created prior to 2/1/2007 will no longer work with the new version of Rwui.
2/1/2007 Removed a bug that crept in on 15/12/2006 - if the application created by Rwui included a multiple/replicate
file upload page but did not include a login page then the application would not load.
8/1/2007 Added the option of having different sized Section Headings.
27/4/2007 Identified and removed a bug that occurred only if the application created by Rwui included a 'Login' page.
Normally in applications created by Rwui if the user navigates with the browser back button, rather than with the buttons provided on the application's web page,
the user is redirected to a page that points out their mistake. The bug meant that if the user navigated with the browser back
button they were redirected to just a blank page with no explanation of what they had done wrong. This has now been corrected.
Our apologies for any inconvenience. Existing applications can easily be remade to correct the bug by loading the application's "Application description file" (which
you can find in the original download) on the first page of Rwui, clicking through to the end of Rwui, making no changes, and then
creating and downloading the application again and redeploying the new .war file to the server. Please see 'Help' pages for further details.
27/4/2007 Identified and removed a bug in applications created by Rwui. If the user leaves the application for some time the
server will end the session. The bug meant that if the user returned to the session after it had expired and clicked a button on
the web page they would get an error message accusing them of clicking the browser back button. This has been corrected and they
now get an error message explaining that their session has timed out. Again our apologies. The bug can be corrected in existing
applications by using the application's 'Application description file' - please see previous entry.
18/7/2007 Added a link on the start page to the R News Article about Rwui.
18/7/2007 Added the option of specifying the size of the window in which process information is displayed.
18/7/2007 Added a new type of Input Item - an 'Other Application Results' (OAR) entry box. This allows you to link two applications
created by Rwui, the results of one application serving as input to the second. The particular set of results to use as input are
specified by either their submission ID (if the results are held on the server in an active session of the first application) or their zip file name (if the results have been
saved to a local disk). Please see 'Help'
pages for further details.
18/7/2007 In applications created by Rwui, text entered into a 'Text Box' is now trimmed of any leading and/or trailing white space.
18/7/2007 In applications created by Rwui, text entered into a 'Groups' box on a Multiple/Replicate File Upload page
is now trimmed of any leading and/or trailing white space.
18/7/2007 Added the option of incorporating subsidiary R scripts and/or constant data sources into web applications created by
Rwui. Please see 'Help'
pages for further details.
18/7/2007 On the page in Rwui where the names of the files to be displayed on the Results page are entered, the method of editing entered
file names has changed. Previously entered file names can now be removed by name.
18/7/2007 In Rwui, information entered throughout the application is first trimmed of any leading and trailing whitespace that may inadvertently
have been included.
18/7/2007 In applications created by Rwui, added commas between the entries in the lists of parameter and their values.
18/7/2007 In applications created by Rwui, tidied up the format of the file of parameter values that each analysis produces.
18/7/2007 In Rwui, a warning message page now appears if a user tries to run two copies of Rwui on the same machine.
18/7/2007 In applications created by Rwui, a warning message page may now appear if a user tries to run two
copies of the application on the same machine. Whether the warning appears is browser specific. Currently, with IE you can run two
or more copies simultaneously without problems and the warning won't appear, but with Netscape and Mozilla you can't and the warning
page will appear if you try to do this.
18/7/2007 In Rwui, when entering the name(s) of results file(s) to be displayed on the 'Results' page, the size of the box in which
these files will be displayed on the 'Results' page can now be specified. Please note that if an old application is reloaded into Rwui using its ADF
and the old application displays results files on the 'Results' page, and you want to change the size of the box in which they are
displayed, then you will have to remove the names of the results files, using the delete facility, and re-enter them, specifying
the box size.
18/7/2007 In applications created by Rwui, if more than one results file is to be displayed on the 'Results' page the order in which they
are displayed down the page is the order in which they are entered into Rwui. Previously images were always displayed before any text results.
Please note that if an old application, requiring editing, is reloaded into Rwui using its ADF and this application displays a number of results files on the 'Results' page, some of which
are images and some text, then the order in which they are displayed down the page may change when the application is recreated. To restore the order,
delete them, and re-enter their names in the order in which you require them to be displayed down the page.
18/7/2007 In applications created by Rwui, if more than one results file is to be displayed on the 'Results' page they can now be displayed
side by side on the page by specifying the number of display columns you require on the 'Results' page.
18/7/2007 In applications created by Rwui, it is now possible to include a link on the page to more detailed instructions
about the application for users.
18/7/2007 In applications created by Rwui, if you need to return an error message from the R script you can now write the error message
to a file named "error.txt" and it will be displayed on the web page. Previously you could do this by writing the message to a file
"../AnalysisError.txt". Unfortunately writing to "../AnalysisError.txt" will no longer work, so if an existing application is reloaded into Rwui
for editing using its ADF and the application's R script used "../AnalysisError.txt" for displaying error messages then "../AnalysisError.txt"
will need to be replaced by "error.txt" throughout the R script.
18/7/2007 Added a new type of Input Item - Zip File Upload Box. This enables users of applications created by Rwui to upload
zip archive files, which will be automatically unzipped into the current working directory.
16/8/2007 If the application tries to display a results file which the R script, in error, has not produced,
then a 'File not found' message now appears in place of the missing results file.
16/8/2007 Fixed a minor problem whereby the scroll bars in the progress info popup window might be obscured.
16/8/2007 In applications created by Rwui, the results of each analysis are accessed from a list of links at the
foot of the analysis page. But I've now added the option of also displaying the results files from the current analysis
on the analysis page itself.
22/08/2007 Fixed a bug: Applications created by Rwui which included a zip file or oar entry box, could in some circumstances fail to unpack a
zip archive if the archive contained any directory structure. Directory structure in a zip archive should not be a problem now.
22/08/2007 Changed the way zip files are handled. Previously the directory structure of an uploaded zip archive was maintained
when it was unpacked on the server. If the user uploads a zip archive file which has some directory structure then this directory
structure is not now maintained when the zip file is unpacked on the server. This was changed because using filenames held in an
experimental structure file (uploaded by the user at the same time as the zip archive file) is a convenient way of reading data files
from an unpacked zip archive file into the R script. Now that the data files of a zip archive are unpacked into the top level of the
working directory for a particular submission, they can be read into the R script using the filenames held in the user's experimental structure file
without problems arising from the varying and unknown directory structure that the user might have incorporated into their zip
archive file. The alternative method of reading the data files from the zip archive into the R script using the R variable associated with the zip file
input item will still work as before.
22/08/2007 Added the option of displaying results files produced by the R script when the name of the results files to be displayed is unknown
prior to runtime and/or the number of results files to be displayed is unknown prior to runtime. Please see
'Help' pages for further details.
28/08/2007 In applications created by Rwui, the layout of displayed results files is now more flexible. When creating
an application, Rwui allows you to assign the results files to be displayed to particular tables in which to be displayed. Rwui then allows you to
specify the number of columns within each table in the layout.
06/09/2007 When creating an application with Rwui you can now specify a default value to appear in a numeric entry box.
25/09/2007 In applications created by Rwui, if you want to return a warning message from the R script to the user, you can now write
the warning message to a file named "warning.txt" and it will be displayed on the web page. Unlike an error message,
a warning message won't prevent any results from being displayed.
28/02/2008 Bug fix: Applications created by Rwui would not display results files when used with Tomcat 6.0.16.
Fixed the code to remove this problem.
19/03/2008 In applications created by Rwui it is no longer necessary to change the permissions of the shell script when installing
the application on a Linux server.
14/02/2009 Corrected an error in applications created by Rwui. When selecting 'Results Only' for downloading, in an
application that takes a data zip file for input, the data zip file was correctly excluded from the download zip file,
but the unzipped data files were included in the download zip file. This has now been corrected.
14/02/2009 Added the option of multi-select lists - drop-down list from which several elements can be selected simultaneously.
14/02/2009 Added the option of text area input boxes; used for example, to allow users to add notes about each submission.
14/02/2009 Added the option of specifying the size of numeric and text boxes.
14/02/2009 Added the option of specifying the refresh rate of the process information window.
14/02/2009 Added the option of including a graphical process information window which can show the user the progress of the analysis graphically rather than as text.
14/02/2009 Added the option of creating a webapp from which the results can be e-mailed to the user rather than returned to the web page.
28/02/2009 Corrected an error introduced at the last update. When the 'Email' results option was selected, webapps created with Rwui that contained a Multiple/Replicate File Upload Page
did not have the 'New Multiple/Replicate Files' back button on the Analysis page.
28/02/2009 Added the option of including a 'Cancel' button on the web page of a webapp created by Rwui.
Please note this will only work for webapps installed on Linux/Unix servers, not if installed on Windows servers.
28/02/2009 Changed code so that in applications created by Rwui, when 'No validation' or 'Linked Validation' is selected,
the 'Current file' or 'Current Zip file' displayed on the web page is always correct.
23/07/09 Added the facility for adding image maps to images displayed in the results sections of web applications created by Rwui. Adding an image map
to an image makes the image 'clickable', so that supplementary information can be displayed according to whereabouts on the image it is clicked.
17/11/10 Added the facility for displaying the results of the R analysis on a geographic (static Google) map.
13/12/10 Corrected an error in applications created by Rwui, so that they now work with Windows 7.
16/09/11 Corrected a bug in applications created by Rwui that contain geographic maps. Previously the current geographic map was displayed on a Results page, not necessarily the geographic map corresponding to the submission associated with the particular Results page.
16/09/11 Correctd a bug where some old application description files could not be reloaded into the latest version of Rwui.
16/09/11 If an application created by Rwui has a login page with user/password pairs, the username is now made available to the R script.
16/09/11 Applications created by Rwui can now display results data on Google dynamic geographic maps.
1/11/11 Added a tutorial on how to display results on dynamic Google maps and added code to facilitate doing this.
01/06/12 Rwui running on a new server. Requirements for running webapps created by Rwui now changed to Java 1.6.0_31 or later and Tomcat 6.0.35 or later.
20/06/12 If an application created by Rwui displays data on a Google dynamic geographic map, the map can now be made 'clickable'. Regions of
interest (circle, square, rectangle or polygon) can be defined by clicking on the map. When the 'Analyse' button is pressed, the coordinates of the region of interest
are automatically made available to the R script.
20/06/12 Added to dynamic map documentation and included step-by-step guides to creating webapps which display
results on Google dynamic maps.
15/08/12 Added support for displaying KML files on Google dynamic maps