RMath and RMath for .Nethttp://rmath.codeplex.com/project/feeds/rssWe provide pre-compiled Windows binaries for RMath library. RMath provides stable implementation for commonly used special functions, e.g. bessel family. We also provide a .Net wrapper for the native RMath DLL with documentation and usage examples in C&#35; and F&#35;.Updated Wiki: Homehttps://rmath.codeplex.com/wikipage?version=6<div class="wikidoc">
<p><font size="4"></font></p>
<p><font size="4"></font></p>
<p><font size="4">Authors: </font></p>
<p><font size="4">Liuhang Zhang (</font><a href="mailto:zhanglhjostey@gmail.com"><font size="4">zhanglhjostey@gmail.com</font></a><font size="4">)</font></p>
<p><font size="4">Yin Zhu (</font><a href="mailto:zhuyin.nju@gmail.com"><font size="4">zhuyin.nju@gmail.com</font></a><font size="4">)
</font></p>
<p>&#160;</p>
<p><strong></strong></p>
<h1>The Standalone RMath library</h1>
<p>R (<a href="http://www.r-project.org/">www.<b>r</b>-project.org/</a>) is probably the most widely used statistical software. It has been developed and improved over many years by best programmers and statisticians in related fields. One of the foundations
in R is its math library, called RMath. Rmath implements commonly used special functions, e.g. Normal distribution functions,
<a href="http://stat.ethz.ch/R-manual/R-devel/library/stats/html/Normal.html">?norm</a>, in R actually call the corresponding functions in RMath library.
</p>
<p>RMath is implemented in the good-old ANSI C. It is <strong>fast</strong> and it is
<strong>nearly bug free</strong> after being widely tested for many years. It implements functions that are easy to implement in our working language at hand, e.g. the normal distribution function; it also implements functions that are very hard to implement
correctly, e.g. the <a href="http://en.wikipedia.org/wiki/Bessel_function">Bessel family functions</a>. Because of its correctness and speed, other program other than R itself may benefit from this math library. Actually there are various methods to call not
only RMath but also other R functions from other languages, say <a href="http://stats.math.uni-augsburg.de/rserve/">
Rserve</a> and <a href="http://rdotnet.codeplex.com/">R.Net</a>. For RMath functions, since they all have nice C interfaces, accessing the R dynamic runtime is probably the best. This is also the basic method used in other higher-level R wrappers, say R.Net.
</p>
<p>R’s official documentation, <a href="http://cran.r-project.org/doc/manuals/R-exts.html#Embedding-R-under-Windows">
Writing R Extensions</a>, has a <a href="http://cran.r-project.org/doc/manuals/R-exts.html#Embedding-R-under-Windows">
section</a> on calling R’s dynamic runtime (R.dll in Windows). However, accessing functions in R.dll requires two initialization functions:</p>
<pre> int Rf_initEmbeddedR(int ac, char **av);
void Rf_endEmbeddedR(int fatal);</pre>
<p>They seem to be annoying. </p>
<p>Fortunately, the dynamic library of RMath can be compiled in a standalone DLL.
<a href="http://cran.r-project.org/doc/manuals/R-admin.pdf">R Installation and Administration</a> has the full guidance for how to do this. As make-from-the-source is never the tradition in Windows platform, we have done the job and released the dynamic runtime
library (DLL) of RMath (both 32bit and 64bit) <a href="http://rmath.codeplex.com/releases">
here</a>. </p>
<p>&#160;</p>
<h1>RMath.Net </h1>
<p>The story ends at the successful compilation of the library if we only use C/C&#43;&#43; to access RMath. However, our observation is that it is .Net programmers who need a great library for some statistical functions, while C/C&#43;&#43; programmers have more choices besides
RMath. So most of our work in this project has been focused on writing a C# wrapper for RMath native library so that .Net languages can access RMath.
</p>
<p>The wrapper is pretty easy (just a brunch of simple functions) to use and as far as we can say it is thread-safe. Please read the detailed
<a href="http://dl.dropbox.com/u/7090102/rmath_doc/document.htm">documentation</a> and the example C# program in the
<a href="http://rmath.codeplex.com/releases">release</a> for more information. </p>
<p>&#160;</p>
<p>The following picture shows how to use this library in an F# script file. </p>
<p>&#160;</p>
<p><a href="http://download.codeplex.com/Download?ProjectName=rmath&DownloadId=370464"><img title="image" border="0" alt="image" src="http://download.codeplex.com/Download?ProjectName=rmath&DownloadId=370465" width="678" height="443" style="border-bottom:0px; border-left:0px; padding-left:0px; padding-right:0px; display:inline; border-top:0px; border-right:0px; padding-top:0px"></a></p>
</div><div class="ClearBoth"></div>yinzSun, 22 Apr 2012 13:45:31 GMTUpdated Wiki: Home 20120422014531PUpdated Wiki: Homehttps://rmath.codeplex.com/wikipage?version=5<div class="wikidoc">
<p><font size="4"></font></p>
<p><font size="4"></font></p>
<p><font size="4">Authors: Liuhang Zhang (</font><a href="mailto:zhanglhjostey@gmail.com"><font size="4">zhanglhjostey@gmail.com</font></a><font size="4">) and Yin Zhu (</font><a href="mailto:zhuyin.nju@gmail.com"><font size="4">zhuyin.nju@gmail.com</font></a><font size="4">)
</font></p>
<p>&#160;</p>
<p><strong></strong></p>
<h1>The Standalone RMath library</h1>
<p>R (<a href="http://www.r-project.org/">www.<b>r</b>-project.org/</a>) is probably the most widely used statistical software. It has been developed and improved over many years by best programmers and statisticians in related fields. One of the foundations
in R is its math library, called RMath. Rmath implements commonly used special functions, e.g. Normal distribution functions,
<a href="http://stat.ethz.ch/R-manual/R-devel/library/stats/html/Normal.html">?norm</a>, in R actually call the corresponding functions in RMath library.
</p>
<p>RMath is implemented in the good-old ANSI C. It is <strong>fast</strong> and it is
<strong>nearly bug free</strong> after being widely tested for many years. It implements functions that are easy to implement in our working language at hand, e.g. the normal distribution function; it also implements functions that are very hard to implement
correctly, e.g. the <a href="http://en.wikipedia.org/wiki/Bessel_function">Bessel family functions</a>. Because of its correctness and speed, other program other than R itself may benefit from this math library. Actually there are various methods to call not
only RMath but also other R functions from other languages, say <a href="http://stats.math.uni-augsburg.de/rserve/">
Rserve</a> and <a href="http://rdotnet.codeplex.com/">R.Net</a>. For RMath functions, since they all have nice C interfaces, accessing the R dynamic runtime is probably the best. This is also the basic method used in other higher-level R wrappers, say R.Net.
</p>
<p>R’s official documentation, <a href="http://cran.r-project.org/doc/manuals/R-exts.html#Embedding-R-under-Windows">
Writing R Extensions</a>, has a <a href="http://cran.r-project.org/doc/manuals/R-exts.html#Embedding-R-under-Windows">
section</a> on calling R’s dynamic runtime (R.dll in Windows). However, accessing functions in R.dll requires two initialization functions:</p>
<pre> int Rf_initEmbeddedR(int ac, char **av);
void Rf_endEmbeddedR(int fatal);</pre>
<p>They seem to be annoying. </p>
<p>Fortunately, the dynamic library of RMath can be compiled in a standalone DLL.
<a href="http://cran.r-project.org/doc/manuals/R-admin.pdf">R Installation and Administration</a> has the full guidance for how to do this. As make-from-the-source is never the tradition in Windows platform, we have done the job and released the dynamic runtime
library (DLL) of RMath (both 32bit and 64bit) <a href="http://rmath.codeplex.com/releases">
here</a>. </p>
<p>&#160;</p>
<h1>RMath.Net </h1>
<p>The story ends at the successful compilation of the library if we only use C/C&#43;&#43; to access RMath. However, our observation is that it is .Net programmers who need a great library for some statistical functions, while C/C&#43;&#43; programmers have more choices besides
RMath. So most of our work in this project has been focused on writing a C# wrapper for RMath native library so that .Net languages can access RMath.
</p>
<p>The wrapper is pretty easy (just a brunch of simple functions) to use and as far as we can say it is thread-safe. Please read the detailed
<a href="http://dl.dropbox.com/u/7090102/rmath_doc/document.htm">documentation</a> and the example C# program in the
<a href="http://rmath.codeplex.com/releases">release</a> for more information. </p>
<p>&#160;</p>
<p>The following picture shows how to use this library in an F# script file. </p>
<p>&#160;</p>
<p><a href="http://download.codeplex.com/Download?ProjectName=rmath&DownloadId=370464"><img title="image" border="0" alt="image" src="http://download.codeplex.com/Download?ProjectName=rmath&DownloadId=370465" width="678" height="443" style="border-bottom:0px; border-left:0px; padding-left:0px; padding-right:0px; display:inline; border-top:0px; border-right:0px; padding-top:0px"></a></p>
</div><div class="ClearBoth"></div>yinzSun, 22 Apr 2012 13:44:59 GMTUpdated Wiki: Home 20120422014459PUpdated Wiki: Homehttps://rmath.codeplex.com/wikipage?version=4<div class="wikidoc">
<p>Liuhang Zhang (<a href="mailto:zhanglhjostey@gmail.com">zhanglhjostey@gmail.com</a>) and Yin Zhu (<a href="mailto:zhuyin.nju@gmail.com">zhuyin.nju@gmail.com</a>)
</p>
<p><strong></strong></p>
<h1>The Standalone RMath library</h1>
<p>R (<a href="http://www.r-project.org/">www.<b>r</b>-project.org/</a>) is probably the most widely used statistical software. It has been developed and improved over many years by best programmers and statisticians in related fields. One of the foundations
in R is its math library, called RMath. Rmath implements commonly used special functions, e.g. Normal distribution functions,
<a href="http://stat.ethz.ch/R-manual/R-devel/library/stats/html/Normal.html">?norm</a>, in R actually call the corresponding functions in RMath library.
</p>
<p>RMath is implemented in the good-old ANSI C. It is <strong>fast</strong> and it is
<strong>nearly bug free</strong> after being widely tested for many years. It implements functions that are easy to implement in our working language at hand, e.g. the normal distribution function; it also implements functions that are very hard to implement
correctly, e.g. the <a href="http://en.wikipedia.org/wiki/Bessel_function">Bessel family functions</a>. Because of its correctness and speed, other program other than R itself may benefit from this math library. Actually there are various methods to call not
only RMath but also other R functions from other languages, say <a href="http://stats.math.uni-augsburg.de/rserve/">
Rserve</a> and <a href="http://rdotnet.codeplex.com/">R.Net</a>. For RMath functions, since they all have nice C interfaces, accessing the R dynamic runtime is probably the best. This is also the basic method used in other higher-level R wrappers, say R.Net.
</p>
<p>R’s official documentation, <a href="http://cran.r-project.org/doc/manuals/R-exts.html#Embedding-R-under-Windows">
Writing R Extensions</a>, has a <a href="http://cran.r-project.org/doc/manuals/R-exts.html#Embedding-R-under-Windows">
section</a> on calling R’s dynamic runtime (R.dll in Windows). However, accessing functions in R.dll requires two initialization functions:</p>
<pre> int Rf_initEmbeddedR(int ac, char **av);
void Rf_endEmbeddedR(int fatal);</pre>
<p>They seem to be annoying. </p>
<p>Fortunately, the dynamic library of RMath can be compiled in a standalone DLL.
<a href="http://cran.r-project.org/doc/manuals/R-admin.pdf">R Installation and Administration</a> has the full guidance for how to do this. As make-from-the-source is never the tradition in Windows platform, we have done the job and released the dynamic runtime
library (DLL) of RMath (both 32bit and 64bit) <a href="http://rmath.codeplex.com/releases">
here</a>. </p>
<p>&#160;</p>
<h1>RMath.Net </h1>
<p>The story ends at the successful compilation of the library if we only use C/C&#43;&#43; to access RMath. However, our observation is that it is .Net programmers who need a great library for some statistical functions, while C/C&#43;&#43; programmers have more choices besides
RMath. So most of our work in this project has been focused on writing a C# wrapper for RMath native library so that .Net languages can access RMath.
</p>
<p>The wrapper is pretty easy (just a brunch of simple functions) to use and as far as we can say it is thread-safe. Please read the detailed
<a href="http://dl.dropbox.com/u/7090102/rmath_doc/document.htm">documentation</a> and the example C# program in the
<a href="http://rmath.codeplex.com/releases">release</a> for more information. </p>
<p>&#160;</p>
<p>The following picture shows how to use this library in an F# script file. </p>
<p>&#160;</p>
<p><a href="http://download.codeplex.com/Download?ProjectName=rmath&DownloadId=370464"><img title="image" border="0" alt="image" src="http://download.codeplex.com/Download?ProjectName=rmath&DownloadId=370465" width="678" height="443" style="border-bottom:0px; border-left:0px; padding-left:0px; padding-right:0px; display:inline; border-top:0px; border-right:0px; padding-top:0px"></a></p>
</div><div class="ClearBoth"></div>yinzSun, 22 Apr 2012 13:42:37 GMTUpdated Wiki: Home 20120422014237PCreated Release: RMath.NET 0.9 Beta (Apr 22, 2012)http://rmath.codeplex.com/releases?ReleaseId=86463<div class="wikidoc">runtimes, source code and example C# project.</div><div class="ClearBoth"></div>yinzSun, 22 Apr 2012 13:28:28 GMTCreated Release: RMath.NET 0.9 Beta (Apr 22, 2012) 20120422012828PReleased: RMath.NET 0.9 Beta (Apr 22, 2012)http://rmath.codeplex.com/releases/view/86463
<div class="wikidoc">runtimes, source code and example C# project.</div>
<div></div>
Sun, 22 Apr 2012 13:28:28 GMTReleased: RMath.NET 0.9 Beta (Apr 22, 2012) 20120422012828PUpdated Wiki: Homehttps://rmath.codeplex.com/wikipage?version=3<div class="wikidoc">
<p>Liuhang Zhang (<a href="mailto:zhanglhjostey@gmail.com">zhanglhjostey@gmail.com</a>) and Yin Zhu (<a href="mailto:zhuyin.nju@gmail.com">zhuyin.nju@gmail.com</a>)
</p>
<p><strong></strong></p>
<h1>The Standalone RMath library</h1>
<p>R (<a href="http://www.r-project.org/">www.<b>r</b>-project.org/</a>) is probably the most widely used statistical software. It has been developed and improved over many years by best programmers and statisticians in related fields. One of the foundations
in R is its math library, called RMath. Rmath implements commonly used special functions, e.g. Normal distribution functions,
<a href="http://stat.ethz.ch/R-manual/R-devel/library/stats/html/Normal.html">?norm</a>, in R actually call the corresponding functions in RMath library.
</p>
<p>RMath is implemented in the good-old ANSI C. It is <strong>fast</strong> and it is
<strong>nearly bug free</strong> after being widely tested for many years. It implements functions that are easy to implement in our working language at hand, e.g. the normal distribution function; it also implements functions that are very hard to implement
correctly, e.g. the <a href="http://en.wikipedia.org/wiki/Bessel_function">Bessel family functions</a>. Because of its correctness and speed, other program other than R itself may benefit from this math library. Actually there are various methods to call not
only RMath but also other R functions from other languages, say <a href="http://stats.math.uni-augsburg.de/rserve/">
Rserve</a> and <a href="http://rdotnet.codeplex.com/">R.Net</a>. For RMath functions, since they all have nice C interfaces, accessing the R dynamic runtime is probably the best. This is also the basic method used in other higher-level R wrappers, say R.Net.
</p>
<p>R’s official documentation, <a href="http://cran.r-project.org/doc/manuals/R-exts.html#Embedding-R-under-Windows">
Writing R Extensions</a>, has a <a href="http://cran.r-project.org/doc/manuals/R-exts.html#Embedding-R-under-Windows">
section</a> on calling R’s dynamic runtime (R.dll in Windows). However, accessing functions in R.dll requires two initialization functions:</p>
<pre> int Rf_initEmbeddedR(int ac, char **av);
void Rf_endEmbeddedR(int fatal);</pre>
<p>They seem to be annoying. </p>
<p>Fortunately, the dynamic library of RMath can be compiled in a standalone DLL.
<a href="http://cran.r-project.org/doc/manuals/R-admin.pdf">R Installation and Administration</a> has the full guidance for how to do this. As make-from-the-source is never the tradition in Windows platform, we have done the job and released the dynamic runtime
library (DLL) of RMath (both 32bit and 64bit) <a href="http://rmath.codeplex.com/releases">
here</a>. </p>
<p>&#160;</p>
<h1>RMath.Net </h1>
<p>The story ends at the successful compilation of the library if we only use C/C&#43;&#43; to access RMath. However, our observation is that it is .Net programmers who need a great library for some statistical functions, while C/C&#43;&#43; programmers have more choices besides
RMath. So most of our work in this project has been focused on writing a C# wrapper for RMath native library so that .Net languages can access RMath.
</p>
<p>The wrapper is pretty easy (just a brunch of simple functions) to use and as far as we can say it is thread-safe. Please read the detailed
<a href="http://dl.dropbox.com/u/7090102/rmath_doc/document.htm">documentation</a> and the example C# program in the
<a href="http://rmath.codeplex.com/releases">release</a> for more information. </p>
</div><div class="ClearBoth"></div>yinzSun, 22 Apr 2012 13:27:08 GMTUpdated Wiki: Home 20120422012708PUpdated Wiki: Documentationhttps://rmath.codeplex.com/documentation?version=2<div class="wikidoc">
<h1><font size="5">Please access the documentation</font> <a href="http://dl.dropbox.com/u/7090102/rmath_doc/document.htm">
here</a>. </h1>
</div><div class="ClearBoth"></div>yinzSun, 22 Apr 2012 13:20:41 GMTUpdated Wiki: Documentation 20120422012041PUpdated Wiki: Documentationhttps://rmath.codeplex.com/documentation?version=1<div class="wikidoc">
<p>Please access the documentation <a href="http://dl.dropbox.com/u/7090102/rmath_doc/document.htm">
here</a>. </p>
</div><div class="ClearBoth"></div>yinzSun, 22 Apr 2012 13:20:03 GMTUpdated Wiki: Documentation 20120422012003P