Monday, June 2, 2008

Problem of Calling TStatConnectorCharacterDevice from Delphi 7


Hello everybody, nice to meet you all. For long time i didnt add my post yet. Now im trying to write my correspondence via email with Mr. Guy Yollin, he s great programmer from US. This about TStatConnectorCharacterDevice.

He sent me mail and wrote, 'My experience using R and Delphi is i always face failure when i called TStatConnectorCharacterDevice. It s so different when i used TStatConnectorGraphicDevice,TStatConnectorGraphicDevice very great!!!
But i never imagine that my key of failure is just only the case sensitives thinks

That s the greatest stuff of me as soft-computing statistician that'.

So for you that faced problem like Mr. Guy Yollin (problem accessing
TStatConnectorCharacterDevice from delphi), here is the unit from Mr. Guy,

You can download this unit at this url click here.
The password is 'indonesia'.

Ok everybody, i bet that's enough clear. Have a nice statistical computing.

Regards

Mahendra
Statistika ITS 2002


Read More......

Saturday, December 22, 2007

How to access R engine with Borland Delphi


R is powerful but it is not good looking (console interface high risk for your eyes :p ). Contrary, Delphi as a Rapid Application Development has a large number of extraordinary GUI library. The point here is.... it s very exciting for us if we can combine the good looking face of Delphi and the powerful of R in order to build our own the statistical application.
Can you imagine if you make a software calculating invers of a matrix with Delphi???? If the dimension of matrix is lower than 3x3 its okey, but it s very terrible if you have a huge matrix dimension.Fortunately, R libraries are open. We can access it with our Delphi. So it s not terrible anymore to built mathematical software with Delphi bcause we only access the R library from delphi, sending value to the R library parameters, gain the R result, and we show it on the beautiful GUI of Delphi...It was successful tricks on my final projects...and helped me gaining then bachelor degree of statistics..hehe).
Lets start!
First u must have Delphi is installed on your PC.
Second u must have R is installed on you PC. So many R version but here i used R 2.5.1. U can get it here.
Third, u have to installed RSrv250. It is server to make a communication between R and your application. It s also called (D) COM Server. (D)COM Server provides a COM-Interface to R as well as various COM objects and Active X controls for your applications.
Fourth...Restart your girl...ups i mean computer...sorry :D.
Fifth...u need statconnector client and server. These are unit in pascal language available here.
That zip file contain files like this.












Next
we must acces STATCONNECTORSRVLib_TLB.pas and STATCONNECTORCLNTLib_TLB.pas to make a connection between R and Delphi.
(Please search how to install component in Delphi if you dont know.
If you didnt found it, u can contact me at Yahoo!Messenger :
mahendra025).

You can register your component with your own name, for example i register as RClient and RServer like the picture below (u must write down your own name at

procedure register
below)









Look...i have Delphi VCL like that my Delphi UI like picture below


Here is the screen captured of my sources


I tried making a 3D plot by Delphi using R engine named scatterplot3d. Here is the screen captured of the result



Look! we can get the result of R engine execution on a delphi form. You can make another better GUI then mine depends on your demand.
My purpose has been explained now, that we can build statistical application easily with R's powerful engine and Delphi's beautiful GUI. U can implement it not only on library scatterplot3d but also all of R libraries.

Full sources code of this sample application can be downloaded at
http://rapidshare.com/files/78415356/R_Delphi_Plot.rar.html

Have a nice statistical soft programming..
mahendra statistika ITS 2002

Coming Soon :
How to Access STATISTICA engine with Delphi......

Read More......

Friday, December 21, 2007

eBook - Statistics for Six Sigma Made Easy

This book gives you a step-by-step guides that explain how to understand and implement statistical tools on six sigma methodology. This book contain implementation of statistics tools such as DOE, sampling techniques, Multivariate in six sigma. As a statistician i have to share it.
Sorry, i dont have any picture related to this book.


Statistics for Six Sigma Made Easy
by Warren Brussee ISBN:0071433856
McGraw-Hill © 2004

You can download this book at this link:
http://rapidshare.com/files/..../McGraw.Hill.Statistics.for.Six.Sigma.Made.Easy_.chm.html

Have a nice reading...

Read More......