Squashed commit of the following:

commit be8912af65dc9c4c5d28dd4354bada5b69fb5dc9
Author: Milind Barve <milind@datatorrent.com>
Date:   Sat Jan 18 08:14:26 2014 +0530

    Test script for the faithful geyser demo application. #302

commit e8e158a683771dc16bace2a4a0db56e5930597b6
Author: Milind Barve <milind@datatorrent.com>
Date:   Sat Jan 18 08:14:26 2014 +0530

    an R script for the faithful geyser demo application. #302

commit ced8fd6a4fb8f128d00ad839b5aed23d256bab10
Author: Milind Barve <milind@datatorrent.com>
Date:   Sat Jan 18 08:14:26 2014 +0530

    Demo application for r script operator. Determines the duration of eruption for the 'faithful geyser' based on the previous values of waiting time and duration. #302

commit a3cbb4bb5929ad540f40b074a0ca50fb472663d1
Author: Milind Barve <milind@datatorrent.com>
Date:   Sat Jan 18 08:05:04 2014 +0530

    R script used to test boolean data types - boolean variable andboolean arrays. #302

commit cb48c4b18a0c018cce0b0f914ad7acb2b04de80c
Author: Milind Barve <milind@datatorrent.com>
Date:   Sat Jan 18 08:05:04 2014 +0530

    Test script for testing boolean data types - boolean variables and boolean arrays. #302

commit 938458fb3f809e1dafbef248ed5c9e5d69474ac2
Author: Milind Barve <milind@datatorrent.com>
Date:   Sat Jan 18 08:05:04 2014 +0530

    Changed the way in which the RScript object is created. #302

commit b7533728ff73f3f3b9bc9a976e8d25706220dc3f
Author: Milind Barve <milind@datatorrent.com>
Date:   Sat Jan 18 08:05:04 2014 +0530

    Changed the way in which the RScript object is created. #302

commit 3568ed5c0232fa77f7e06d120dbb3b264fb73005
Author: Milind Barve <milind@datatorrent.com>
Date:   Sat Jan 18 08:05:04 2014 +0530

    Changed the way in which the RScript object is created. #302

commit f46e4ee2d0bfd002d56b41151b354942f3aa9428
Author: Milind Barve <milind@datatorrent.com>
Date:   Sat Jan 18 08:05:04 2014 +0530

    Changed the way in which the RScript object is created. #302

commit 38f4e1508cc0bcb37cbcd2d81f1ab24ba15b3e05
Author: Milind Barve <milind@datatorrent.com>
Date:   Sat Jan 18 08:05:04 2014 +0530

    Changed the way in which the RScript object is created. #302

commit 876d2934f13e931f207c8af922f3a41ad464e98d
Author: Milind Barve <milind@datatorrent.com>
Date:   Sat Jan 18 08:05:04 2014 +0530

    Changes to use REngine instead of Rengine. Added support for boolean data type. Added a new constructor which accepts arguments. REngine specified as transient. #302

commit d8a94b4b4dcc97df9efea9696c9af2f11fc758e4
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Jan 16 13:00:15 2014 +0530

    Enclose the entire script into a function - which is specified as the function to be called in the test program. #302

commit 504444fabc9c7c78cb8aa66c6fe10dc5fe87571a
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Jan 16 12:59:58 2014 +0530

    Enclose the entire script into a function - which is specified as the function to be called in the test program. #302

commit 71f5e95ce922d8b14545187fa03157cd1ba7ac84
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Jan 16 12:59:46 2014 +0530

    Enclose the entire script into a function - which is specified as the function to be called in the test program. #302

commit ab5f00a0a5901e6e84124221fb92dacbc5bc0b0d
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Jan 16 12:59:32 2014 +0530

    Enclose the entire script into a function - which is specified as the function to be called in the test program. #302

commit 5eb175a4b5223e3435bc934b2e1a251ccb10c2d2
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Jan 16 12:59:17 2014 +0530

    Enclose the entire script into a function - which is specified as the function to be called in the test program. #302

commit 63d2dc71d3b17f8684f967b166c164ed4c695c3d
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Jan 16 12:58:27 2014 +0530

    Specify the function name of the R script. Create a temp. file at runtime to be loaded. #302

commit 48aaadcfce1a3399ff6e3dd6cf2fd51e57e89c65
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Jan 16 12:58:13 2014 +0530

    Specify the function name of the R script. Create a temp. file at runtime to be loaded. #302

commit 7b0b3db70f048d09ec87c494999718360bb849cf
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Jan 16 12:57:51 2014 +0530

    Specify the function name of the R script. Create a temp. file at runtime to be loaded. #302

commit eb6e7c272fce61b61b8368924b5d96e05ee7f8d6
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Jan 16 12:57:35 2014 +0530

    Specify the function name of the R script. Create a temp. file at runtime to be loaded. #302

commit 7314015c90d577dffb9de0750e82a489740ccffd
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Jan 16 12:57:12 2014 +0530

    Specify the function name of the R script. Create a temp. file at runtime to be loaded. #302

commit dc9646e977cc0ff6d60b0c18d6985a68f09b3372
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Jan 16 12:53:12 2014 +0530

    Enclosed the entire into a function. #302

commit 6a01f0c910cac941b90f228b788d2052cf503a16
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Jan 16 12:50:15 2014 +0530

    added code to source the script file in setup() and call the script as a function. Made REngine transient. Added variable for the suer to specify the name of the function which represents the script. #302

commit 6857557d5a78f80edf4fc454206e9abd6d53bab7
Merge: 930f245 7e3dcb2
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Jan 16 12:45:46 2014 +0530

    Merge remote-tracking branch 'upstream/master' into Rsupport

commit 930f2457b24501e9116a89190df8c9f93d17b7ea
Author: Milind Barve <milind@datatorrent.com>
Date:   Tue Dec 31 15:18:59 2013 +0530

    throw an exception if R cannot be loaded. #302

commit b902f620d5b351947725e17d8698855297e7cd10
Author: Milind Barve <milind@datatorrent.com>
Date:   Tue Dec 31 15:18:52 2013 +0530

    throw an exception if R cannot be loaded. #302

commit 4fd7fef0cee109da2be9f0bb80e8d06134789859
Author: Milind Barve <milind@datatorrent.com>
Date:   Tue Dec 31 15:18:44 2013 +0530

    throw an exception if R cannot be loaded. #302

commit d0382e6a97c228e8be578f16de9f65df96c0b57c
Author: Milind Barve <milind@datatorrent.com>
Date:   Tue Dec 31 07:58:53 2013 +0530

    Changed the name of the arraylist to collect incoming numeric values to numList. #302

commit 96b90f4d31e2b83512386ec6a89c0f4a532f7d97
Author: Milind Barve <milind@datatorrent.com>
Date:   Tue Dec 31 07:58:39 2013 +0530

    Changed the name of the arraylist to collect incoming numeric values to numList. #302

commit 812417e6170a3b1226306306ad86b02e136747d2
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 30 23:33:00 2013 +0530

    A linear regression modelling script to test various types of arrays being passed in, create a model and determing the value of the dependent variable. #302

commit 5b156a26ed1b17e4996cf74364d4fe8a47b3839b
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 30 23:31:56 2013 +0530

    Added coments as well. #302

commit ba196dabab3f43bd84b93a4f39d520bc4e622e48
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 30 23:31:27 2013 +0530

    R script for testing integer datatypes changed. Added coments as well. #302

commit d157ff3f0fad3657500da343a85958f90e4ff79f
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 30 23:30:47 2013 +0530

    R script for testing string datatypes changed. Added coments as well. #302

commit 1b5d5789e7052913b12a20336a7a2f7261bc5487
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 30 23:30:19 2013 +0530

    R script for testing real datatypes changed. Added coments as well. #302

commit 530b4ab2faf13e3aa2becb9f0af584598e8ec972
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 30 23:29:30 2013 +0530

    R script to be used in the test for vector of type double. #302

commit 08be849c939e635c6b09a7b65d001d876b959eb4
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 30 23:28:36 2013 +0530

    Modified the test for strings to set whether the script file is to be created on the fly or not. #302

commit ac3d1b65f26bc7f16147c62162cae3110d2e684f
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 30 23:27:59 2013 +0530

    Modified the test for real to set whether the script file is to be created on the fly or not. #302

commit 591fc0e202cbd28a4c18c431c9c0cb6f3e63ba74
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 30 23:27:29 2013 +0530

    Modified the test for integer to set whether the script file is to be created on the fly or not. #302

commit cda8802ebc04c9f2ba367db3dbfc1796c78cc494
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 30 23:26:14 2013 +0530

    Test for array type of double being passed in as an argument and also as a return value. #302

commit f5cf25bdc12cca5a7111ae93601b4c642755519f
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 30 23:25:14 2013 +0530

    Test case for testing array values of different types being passed as arguments. Used linear regression to determine the value of dependent variable after creating a model based on input values. #302

commit 94db88943146ea2bd4c3016064115eb4a577f708
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 30 23:23:34 2013 +0530

    Added support for various array types. Also added support to create file to be sourced on the fly and then execute it if selected so by the user. Refactored process_tuple. #302

commit 9fc2c681bcb27e6489f2c72b256bbcca43d1b2e4
Author: Milind Barve <milind@datatorrent.com>
Date:   Fri Dec 13 17:35:36 2013 +0530

    Removed RScriptOperatorTest.java because the tests have been individually added. #302

commit 3f00339f1bc4fde8b91716778645e672d181536f
Author: Milind Barve <milind@datatorrent.com>
Date:   Fri Dec 13 17:22:21 2013 +0530

    Sample script for RScriptOperatorStrTest.java. #302

commit 8be754fe92bd76d82696706c6e82dc95baee2be9
Author: Milind Barve <milind@datatorrent.com>
Date:   Fri Dec 13 17:21:49 2013 +0530

    Sample script for RScriptOperatorRealTest.java. #302

commit cc8bcedeb60c438c036fa81f48362d38c7afb4d3
Author: Milind Barve <milind@datatorrent.com>
Date:   Fri Dec 13 17:21:20 2013 +0530

    Sample script for RScriptOperatorIntTest.java. #302

commit 2412d5a443841a9e9dca6e87e03640377616589c
Author: Milind Barve <milind@datatorrent.com>
Date:   Fri Dec 13 17:20:26 2013 +0530

    Test case to pass in and return string type of arguments and return type. #302

commit 767f79af7bbbccab68999e98d1fac2be73f7a99f
Author: Milind Barve <milind@datatorrent.com>
Date:   Fri Dec 13 17:18:57 2013 +0530

    Test case to pass in and return real type of arguments and return type. #302

commit d30e57b19b99bf525e7cecb21c2261171f128df8
Author: Milind Barve <milind@datatorrent.com>
Date:   Fri Dec 13 17:18:15 2013 +0530

    Test case to pass in and return int type of arguments and return type. #302

commit e72ae218337a1d5a10e34f1c0a7251fd7d777981
Author: Milind Barve <milind@datatorrent.com>
Date:   Fri Dec 13 17:17:00 2013 +0530

    Added support to read the script file from the classpath. #302

commit 26f91301f10a8896f3e0b025d25f4069a6a371f0
Author: Milind Barve <milind@datatorrent.com>
Date:   Wed Dec 11 19:52:55 2013 +0530

    Added test scripts to test arguments being passed to the R script and the return values of type int, real and string. #302library/src/test/java/com/datatorrent/lib/r/RScriptOperatorTest.java

commit 2f9276d359b3912c77fd6d7d2bd27bc18e05cdef
Author: Milind Barve <milind@datatorrent.com>
Date:   Wed Dec 11 19:51:35 2013 +0530

    Added licensing information, comments. Changed code to accept arguments to be passed to the R script. Added support to return int, real and string variable as a return value.

commit 135bbf004aa208f33f13be4ec20a2c602360dc29
Author: Milind Barve <milind@datatorrent.com>
Date:   Wed Dec 11 19:17:58 2013 +0530

    Added licensing information and comments.

commit f703869c2aa6e8cc3d6ddd0e643309736e626a7e
Author: Milind Barve <milind@datatorrent.com>
Date:   Wed Dec 11 19:17:49 2013 +0530

    Added licensing information and comments.

commit f06a98c1db0c32f54e3627ae71056f699c104512
Author: Milind Barve <milind@datatorrent.com>
Date:   Wed Dec 11 19:17:38 2013 +0530

    Added licensing information and comments.

commit 85aa181f26aa2ac8fc9af8b84122bfb257bf8266
Author: Milind Barve <milind@datatorrent.com>
Date:   Wed Dec 11 19:17:29 2013 +0530

    Added licensing information and comments.

commit 6da3a28644577783b1a4ae2ce9c31c9c053cc3f5
Author: Milind Barve <milind@datatorrent.com>
Date:   Wed Dec 11 19:17:12 2013 +0530

    Added licensing information and comments.

commit 2de015f5967ce88309e21d2b85864669e6244fdf
Author: Milind Barve <milind@datatorrent.com>
Date:   Wed Dec 11 19:16:50 2013 +0530

    Added licensing information and comments.

commit cbf8165cb14d5c5b18c6f8b7c48a3ccf943c1c44
Merge: 38efe70 2f9c46a
Author: Milind Barve <milind@datatorrent.com>
Date:   Wed Dec 11 19:05:51 2013 +0530

    Merge branch 'master' of https://github.com/DataTorrent/Malhar into Rsupport

commit 38efe70bc58276d0ae32534c0b6a50d805192118
Merge: 6e8791e f89e369
Author: Milind Barve <milind@datatorrent.com>
Date:   Fri Dec 6 13:41:13 2013 +0530

    Merge branch 'master' of https://github.com/DataTorrent/Malhar into Rsupport

commit 6e8791eac3c5cf657a1fa4fe1e054595c3f90701
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 2 10:14:28 2013 +0530

    Added dependencies for R #302

commit 229585a6b7fb9d14400c583aa34ee81b1497b21a
Merge: fd86aef 3a3a113
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Dec 2 09:54:40 2013 +0530

    Merge branch 'master' of https://github.com/DataTorrent/Malhar into Rsupport

commit fd86aef0f2be0eff12fd503c46b3c383d48e01f3
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Nov 25 17:14:57 2013 +0530

    Added comments. Also added support for unifier. #302

commit 7e18715816cd5afc8ec7cb982dcf8d85b1924031
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Nov 25 17:14:18 2013 +0530

    Added comments. Also added support for unifier. #301

commit 7ea691523090e20362d92c7a2e4b75671338e5cf
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Nov 25 17:14:11 2013 +0530

    Added comments. Also added support for unifier. #301

commit f9f4926c426fb7b4f926e75123e9b6bfc9113c84
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Nov 25 10:18:38 2013 +0530

    Operator for finding standard deviation and variance using R functions - fixes #302

commit aee33fe3a9f8c07c041e8e0e614c55dcd9553247
Author: Milind Barve <milind@datatorrent.com>
Date:   Mon Nov 25 10:17:14 2013 +0530

    Changed the RScript operator - class RScript derives from ScriptOperator instead of ScriptBaseOperator - fixes #302

commit dacc7b95e9960266b684accae1f626ffcf9cf97e
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Nov 21 05:32:20 2013 +0530

    Adding support for in R Script and max function

commit b24207061efaf93262c4050fec23dd1693f2ede0
Author: Milind Barve <milind@datatorrent.com>
Date:   Thu Nov 21 05:29:36 2013 +0530

    Adding support for the Min operator in R