Mathematica 9 is now available

Wolfram Library Archive


Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title Downloads

Using R Within Mathematica
Authors

Douglas B. Clarkson
Bryan Minor
Organization: ScienceOps
Department: CEO & President
URL: http://www.scienceops.com
John Westerhoff
Conference

2006 Wolfram Technology Conference
Conference location

Champaign IL
Description

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.
Subjects

*Mathematica Technology > Linking Technology > J/Link
*Mathematica Technology > Linking Technology > MathLink
*Mathematics > Probability and Statistics
Keywords

R, RLink, C++, Java, JLink, MathLink, statistics
Downloads

Download
WTC_RLink_14Oct2006.pdf (65.4 KB) - PDF Document