# Tagged Questions

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

1answer
224 views

### Factor Analysis

How can I do Factor Analysis with Mathematica? This is my best attempt so far: ...
1answer
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: ...
1answer
76 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 ...
1answer
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 ...
4answers
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: ...
0answers
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: ...
1answer
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 ...
2answers
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, ...
0answers
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-...
6answers
1k views

### Installing RLink on Linux

I'm trying to install RLink here. Needs["RLink"] InstallR[] After downloading it throws an error: ...
0answers
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 ...
1answer
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 ...
2answers
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....
1answer
142 views

### Ordinary Least Squares (OLS) with RLink

I need to calculate the parameters b0, b1 and b2 in: ...
0answers
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 ...
1answer
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 ...
1answer
586 views

### RLink and R v3.0.1?

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 ...
1answer
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 ...
0answers
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 ...
2answers
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 ...
0answers
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 ...
1answer
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 ...
2answers
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 ...
1answer
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: ...
1answer
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 ...
1answer
250 views

### Parallelization of REvaluate[]?

Is there a way to run several RLink computations via REvaluate[] in parallel, e.g. with ParallelTable[]?
1answer
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 ...
1answer
2k views

### Installing CRAN Packages

When I install RLink: Needs["RLink"] InstallR[] then evaluate the command ...
1answer
642 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 ...
1answer
898 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. ...
2answers
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 ...
2answers
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 ...
1answer
325 views

### Getting R textual output into Mathematica

I use Mathematica with R because I am able to keep my code and output organized with the notebook interface. Although I can get R structures into Mathematica using REvaluate, I can't figure out how to ...
1answer
273 views

### Accessing the Data of an RLink RDataFrame

I am trying to extract the data table itself from an RLink-generated RDataFrame: ...