Call Javascript from Java – 1

yes, It is possible to call javascript from java, and the functionality is built right into the JVM!. Here’s a simple way to do it . Lets say you have a javascript called file.js, which has a method called sum(a,b). To call this method from java, do the following: The imports: import javax.script.Invocable; import javax.script.ScriptEngine; … Read more

R – Turorial II

  NOTE : This tutorial has been superseded by the exhaustive tutorials Here Lists Collection of Objects of same or mixed type.List may also contain vector or other lists. Create a list using the funtion list(). The following example shows operations that can be performed on a list. > alphabets=list(a=”apple”,b=”ball”,c=”cat”) > alphabets $a [1] “apple” $b … Read more

R – Tutorial I

NOTE : This tutorial has been superseded by the exhaustive R tutorials Here Basics Start R in Windows using the program menu. To quit :  q(). to call help for a function. help([function]) or ?[function]. use double quotes to escape special characters and tokens. e.g. ?”for”. objects() or ls() to obtain list of objects stored. rm([object]) … Read more

R and Java – JRI Using Netbeans

Setting up R-Java in Netbeans is pretty straight forward. For those who need a walkthough here are the steps. Download and install R (for this example version 2.12.2). install rJava package.   Download and install Netbeans.  In Netbeans Create a new java project. we will call it RJava.  From the [R_HOME]>/library/rJava/jri/examples folder, copy the file rtest.java … Read more

R and Java – JRI using eclipse on 64 bit machines

Update – Check out the new RJava Eclipse Plugin.The steps to install rjava on a 64 bit machine is not very different from installing it on a 32 bit machine. however, here are the exact steps. 1. Install 64 bit java.2. Install R 2.12.X3. Start R and install the rjava package using the package installer.4. … Read more

Oracle BI applications – Installation

In this post we look at installing and configuring Oracle BI Applications. I managed to install the application on an intel core 2 duo laptop with 2 GB RAM, Windows Vista machine.We would need source data to view the dashboard for BI apps, the source data can be obtained from Oracle E business suite vision … Read more

OBIEE – Configuring the publisher/scheduler for MySql

Publisher can be used to share and distribute reports. Scheduler is a quartz based scheduler for reporting jobs. In this post we will look at sending a report to a user via mail using the scheduler and publisher.Steps1. Login to BI publisher. If you face any problems during login, use the following troubleshooting optionshttp://forums.oracle.com/forums/thread.jspa?threadID=582633&start=0&tstart=60http://oraclebizint.wordpress.com/2007/11/06/oracle-bi-publisher-and-bi-ee-invisible-admin-tab/http://onlineappsdba.com/index.php/2009/01/15/oracle-bi-publisher-admin-console-xmlpserver-login-issue-administratoradministrator/2. Note … Read more