|
|
|
|
|
|
|
|
|
Using R Within Mathematica
|
|
|
|
|
|
Department: | CEO & President |
|
|
|
|
|
|
2006 Wolfram Technology Conference
|
|
|
|
|
|
Champaign IL
|
|
|
|
|
|
Mathematica provides many but not all statistical computing capabilities. When such capabilities are not provided, it is often easy to program these capabilities directly in Mathematica. When this programming is somewhat complicated and these capabilities already exist in other environments, it is often easier to import the required functionality into Mathematica using the various Mathematica interfaces. Here we use the interface to DLL’s and compiled languages such as Java or C++. R is a widely available language that is popular with research statisticians because it is free, readily available, and easy to extend. Because of this, many statistical functions, especially in academia, are written specifically for the R environment. Here we explore methods for importing functionality from R into Mathematica. In particular, we are interested in porting an R language function we previously developed for adaptively fitting polychotomous logistic models to multidimensional contingency tables. Example uses are provided.
|
|
|
|
|
|
|
|
|
|
|
|
R, RLink, C++, Java, JLink, MathLink, statistics
|
|
|
|
|
|
| WTC_RLink_14Oct2006.pdf (65.4 KB) - PDF Document |
|
|
|
|
|
|
|
| | | | | |
|