# Tagged Questions

Questions about integrating Mathematica and the statistics package R using the RLink functionality provided with Mathematica.

223 views

### Factor Analysis

How can I do Factor Analysis with Mathematica? This is my best attempt so far: ...
53 views

### Is there an equivalent to Mathematica's ToString in R for use with RLink? [closed]

x = "vvvv" REvaluate["f(\"vvvv\")"] (*works*) Want to replace vvvv with x: ...
75 views

### Create a Mathematica function that can be called from R or Matlab

I would like to export a function from Mathematica to allow it to be accessed from R and/or Matlab. Is there a way to do this? As an example, suppose I want to export the following (albeit ...
67 views

### RLink: Cannot get Mathematica and R to look at the same workspace

I am trying to get Mathematica and R to look at the same workspace, but have failed thus far. The task is to produce variables that will be operated upon by either program while the current state of ...
2k views

### Time-series decomposition in Mathematica

I'm studying time-series in R with this book, and there is a nice command in R that creates decompositions. Inside Mathematica 9 the command can be executed as: ...
60 views

### How to get a plot generated by ggplot2 in R ggplot returned in an output cell [closed]

I'd like to get a plot generated by ggplot2 in Mathematica but using the getRPlot function doesn't seem to work: ...
154 views

### Is there an efficient way to load a large list to Mathematica from R within Rlink?

I'm working on something that involves using both R and Mathematica. For this something, I first generate a large R list (1000 matrices, each 200x1000, mixed integer and real values) and then need to ...
1k views

### How can I conveniently call igraph from Mathematica?

Mathematica has lots of functions for working with graphs and networks, but there are still some functionality holes that are provided by other packages. Also, due to the nature of graph theory, ...
49 views

### Problems with RLink; Debian Wheezy, external R version 2.15.1

Hei, I am still in stuck with InstallR. I followed the instructions presented in a link: Installing RLink on Linux but still no result. I am running Linux 3.2.0-...
1k views

I'm trying to install RLink here. Needs["RLink"] InstallR[] After downloading it throws an error: ...
28 views

### Mathematica does not launch after RLink installation /Linux [duplicate]

Hei, I have a problem with Mathematica 10.0 launching after RLink installation. I am running Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u3 x86_64 GNU/Linux Exactly what I did: Typed on ...
214 views

### How can I connect the Interactive Brokers TWS API to Mathematica using RLink for automated trading?

I do know there is documentation for the IB TWS Java API. However, instead of Java, I would like to establish a connection between Mathematica and the IBrokers API module using RLink as a 'proxy' to ...
229 views

### InstallR on OS X with external R installation on 10.0.1.0

I had no problem to follow the instructions given at InstallR on OS X with external R installation to get an external R working with Mathematica 10.0.0.0. However when Mathematica was updated to 10.0....
141 views

### Ordinary Least Squares (OLS) with RLink

I need to calculate the parameters b0, b1 and b2 in: ...
69 views

### Parsing RLink RObject for aovlist and other object types

There are some slightly similar requests out there (e.g. Getting R textual output into Mathematica ) but I'm wondering if anyone has put together a more general purpose solution to parsing ...
499 views

### InstallR on OS X with external R installation

How do I InstallR on OS X to use my already installed and configured R? Simply using ...
586 views

Running InstallR["RHomeLocation" -> "C:\\Program Files\\R\\R-3.0.1"] results in a popup box titled "Version Mismatch" saying Error: R.DLL version does ...
414 views

### Installing R packages using RLink on Mac OS X

Is there any updates regarding installing CRAN packages via RLink in Mathematica 10 on Mac OS X? Or are we still stuck with the base R package and that's it? I was able to point to my R distribution ...
52 views

### Sending RObject to RFunctions

I want to realize function from some R package in Mathematica. First load RLink and package what I need ...
127 views

### RLink Java(TM) platform has stop working

I am trying to send to R a big function,it has only three variables but output is quite big.So when i "translate" that code from mathematica to look like R code and input it in REvaluate i get the ...
177 views

### Establish connection with RLink and Rtools

Has anyone gotten RLink to work with Rtools (or even tried)? If so a simple step-by-step would be much appreciated ! When attempting to access any Rtools functionality through RLink I get: The ...
974 views

### Using a different R version with RLink

I wish to use a different version of R than what is provided by Mathematica 9. For example, I want to use the Macports version of R, where R_HOME is ...
417 views

### Giving JLink Huge Memory by Default

I have noticed that Mathematica makes use of Java by way of JLink, for example, in the extensions such as DatabaseLink and (I think) RLink. It also seems like Java is a first-class citizen for writing ...
445 views

### Using a different version of R with RLink on Windows 7

I'd like to run the R version installed in my Windows 7 system from within Mathematica 9 but when I execute the following command: ...
391 views

### Using non-trivial objects in RLink

I would like to use RLink to access igraph, which has an R interface. I do not know R; my motivation for learning it is to be able to access igraph easily. I installed igraph using ...
250 views

### Parallelization of REvaluate[]?

Is there a way to run several RLink computations via REvaluate[] in parallel, e.g. with ParallelTable[]?
568 views

### Mathematica 9 Linking with R

I would like to run a batch job from within the current Mathematica .m file using "R CMD BATCH &" (the job runs in the background when Mathematica proceeds with the current calculations. How can ...
2k views

639 views

### TemporalData frequency option as in R

I'm studying R, and am very impressed by the simplicity of some commands and in the way R handles temporal data. For example, in R, if you have some one-dimensional temporal data, you can easily ...
897 views

### How to get a plot generated by R returned in an output cell?

It seems we'll never have built in two axis plots and list plots in Mathematica but you can make them in R. ...
790 views

### Special Mathematica Cell to work with R code

I have enjoyed working with R inside Mathematica. But it would be nice If I could have a special R cell. For example, instead of typing ...
862 views

### Are there any “RLink” like projects, which enable the interaction between R and Mathematica?

I want to borrow the vast amount of packages of R. I know there was one but it is neither sold nor supported anymore. So are there any active open source projects for linking R with Mathematica? Thank ...