Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to use R within Mathematica

  • To: mathgroup at
  • Subject: [mg100783] Re: How to use R within Mathematica
  • From: Erich Neuwirth <erich.neuwirth at>
  • Date: Sat, 13 Jun 2009 06:07:05 -0400 (EDT)
  • References: <gr0glf$96a$>

I stumbled upon your question.
On Windows, it is easy to use R from within Mathematica.
You just have to download and install the
statconnDCOM server (free for noncommerial use)

The following piece of code shows how you than
can use R from within Mathematica.

myR = CreateCOMObject["RCOMServerLib.StatConnector"]

Dobromir Tzotchev wrote:
> I would like to use functions from some R libraries within Mathametica. I have seen that there exists a software called RLink but it is not readily available.  Is the way to go to use the R functionaly in C/C++  and then use MathLink to call the C/C++ functions?
> Thanks.      

  • Prev by Date: Re: keybord problem with version 7 and altgr
  • Next by Date: Re: Correction to "Fundamental Theorem of Calculus and Mathematica"
  • Previous by thread: Re: Inverse / Laplace Transform Halved
  • Next by thread: Re: How to use R within Mathematica