For questions on interfacing or getting Mathematica to work together with other software or technologies.
4
votes
1answer
93 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 not match (DLL:3.0.1, expecting: 2.14.0)."
...
3
votes
1answer
191 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:
...
10
votes
1answer
172 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 ...
1
vote
0answers
113 views
How to run external program in Mathematica?
In fact, I want to do the following in some kind of sense automatically, thus a windows bash file or Mathematica code will be welcome.
Suppose I have a pdf file, lets name it as ...
10
votes
1answer
371 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 ...
3
votes
1answer
69 views
String encoding issue with Pythonika
I use Mathematica and Pythonika to run Python code inside it. And I'm not quite sure what causes my issue: all unicode Python objects look like this: ...
3
votes
0answers
57 views
Eureqa Client to connect to Mathematica under Windows
Does there exist a way to use Eureqa software with Mathematica under Windows?
That is, is there a working client to connect to a Eureqa server?
3
votes
2answers
98 views
Cannot call custom function loaded from script using C/C++ MathLink
I am using MathLink with C/C++ on a Unix system in order to call a Mathematica (version 9) function and get the result.
The function I need to call is a personal function of mine ...
1
vote
1answer
58 views
How to send a function definition to MathLink from C/C++?
In this tutorial some MathLink concepts are introduced. At page 33 in the last lines the author is talking about sending to MathLink a function definition like ...
20
votes
3answers
939 views
Calling MATLAB from Mathematica
How can I call MATLAB functions directly from Mathematica and transfer data/variables between the two systems?
2
votes
1answer
78 views
Cannot run Mathematica C-interfacing examples 'factor'
I am trying to run a Mathematica example concerning Mathematica interfacing issues with C programs. In particular I am trying to call a Mathematica function from C.
Example ...
9
votes
1answer
179 views
Mathematica Functions from VBA
I'm trying to call Mathematica functions from VBA (Excel) using .NETLink without success.
(Yes, I know Mathematica Link for Excel exists. And yes, I know the proper thing to do is buy it. However, ...
9
votes
1answer
240 views
Write C/C++ programs calling Mathematica functions
I need to write a C/C++ program and call some functions in Mathematica especially those like Solve or NDSolve. The problem is ...
3
votes
0answers
180 views
RefProp in Mathematica
RefProp by NIST is a program that calculates the thermodynamic properties of fluids. I need to call certain RefProp functions ...
16
votes
1answer
317 views
Can anyone explain how to use Mathematica's OAuth package?
I noticed that in HTTPClient.m which is included with Mathematica 9 and is located in
...
4
votes
1answer
183 views
Problem with SerialIO package and Lego NXT
I'm following a guide from The Mathematica Journal that describes how to use Mathematica with the Lego Mindstorms NXT but have some trouble getting started and got stuck with the SerialIO package.
I ...
2
votes
0answers
56 views
Can Mathematica interact with OPC server of Microsoft?
I am considering to interact with Microsoft OPC server with Mathematica. Writing a Solver of Optimization. Is it possible ?
8
votes
1answer
365 views
Can you call a C function that takes function pointers as arguments?
I want to use MathLink to call a function I wrote in C. However, similar to an integrator, it takes a function pointer as an argument and applies it on numbers depending on the other arguments. I ...
17
votes
1answer
400 views
Linking FORTRAN with Librarylink
FORTRAN code can be called using MathLink or .NET/Link (see the link for a worked examples).
But as mentioned in a talk by T.Gayley and J.Klein in Wolfram Technology Conference 2011, LibraryLink, ...
3
votes
1answer
59 views
Reading RData files without RLink
I am using Mathematica 8. I would like to read some RData files which I have received. I do not currently have an installation of R on the machine with Mathematica.
10
votes
0answers
211 views
How do I stop my joystick from rotating a 3D graphic?
I am trying to use Mathematica to illustrate mixed strategies in Game Theory. I want my students to be able to use common joysticks as controllers. What I find, however, is that in addition to doing ...
10
votes
1answer
217 views
Load a Mathematica Package via .Net code
I'm using C# to pass data to Mathematica and return graphs:
...
14
votes
1answer
389 views
Executing Maple Code Inside Mathematica
Is it possible to create a C++ program using MathLink that will invoke the Maple kernel and execute a very basic Maple command using OpenMaple?
I'm envisioning the following:
...
10
votes
2answers
284 views
How can I connect Mathematica to Clojure?
I'm using Clojure and I'd really love to be able to use some of Mathematica's functions inside it. Can anyone help with mathlinking it?
4
votes
1answer
399 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 ...
4
votes
1answer
338 views
Is there a way to run Python from within Mathematica?
I know there is some support for running Mathematica from Python, but is there any way to do the reverse. For example, to import some Python classes and use them in Mathematica?
5
votes
1answer
275 views
Setting default Mathematica version
Is there a way to set the default Mathematica version? I would like to run both versions 7 and 8 (on a Win7 PC), but when version 8 is installed it takes priority. Clicking on a notebook ...
1
vote
0answers
83 views
How to fix a “NET::methodargs: Improper arguments supplied” error?
I am trying to call the fortran program: Phaml.f90, which is supposed to generate an array of size "num"
...
22
votes
2answers
671 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 ...
6
votes
2answers
320 views
Web scraping and multi-threading in Mathematica
I'm working in some web scraping using Mathematica, and today, to speed-up the process, I used bash commands (xargs with parallel options with curl and wget) using ...
7
votes
3answers
455 views
Calling external commands without showing command prompt on windows
I'm playing around with some code that's calling external command-line commands on a windows platform, and when doing this, the command prompt will pop up quickly and then disappear. This is not a ...
6
votes
1answer
212 views
WinBUGS Interface
Has anyone created on WinBUGS (Bayesian inference Using Gibbs Sampling) interface with Mathematica similar to BugsXLA for Excel? I'd like to setup the model, define the evidence in a notebook and then ...
7
votes
1answer
182 views
10
votes
1answer
541 views
How to install and configure Intel C++ Compiler for Mathematica correctly?
I wish to try the trial version of the latest Intel C++ Compiler for Windows with Mathematica. I have downloaded the current version of Intel® C++ Composer XE 2011 for Windows and installed only the ...
2
votes
0answers
264 views
Automatically sending to Print (using CutePDF Writer)
I use CutePDF for creating PDF output, but this requires manually selecting Print (Ctrl+P), with CutePDF Writer as the printer, and pressing OK. Can this be automated?
0
votes
1answer
336 views
using Mathematica's matrix multiplication in C++
Is there any way that I can utilize Mathematica's matrix multiplication in a C++ program? I'm making a 3D graphics engine (for class) in C++ and I would really like to use Mathematica for all of my ...
14
votes
2answers
477 views
Is it possible to embed the Mathematica editor?
Is it possible to embed a Mathematica window into a .NET application? I mean not just the interop, but actually making the notebook editor window part of a .NET form. Is this possible?
9
votes
1answer
184 views
Link ITK with Mathematica
I would like to know if someone has tried to link Mathematica with ITK code (call ITK code in Mathematica)?
4
votes
0answers
76 views
Mathlink and Parallelization [duplicate]
Possible Duplicate:
How to run mathlink external commands in parallel?
Abstract
I have a binary file compiled to work with MathLink. I can install the file and run the component functions ...
8
votes
2answers
248 views
MathLink and C++ vector container
The Problem.
I have a C++ class that does some computations, and returns a C++ vector object (the length of which can possibly vary with each run).
I want to store each of these vectors as a list in ...
9
votes
1answer
335 views
CDF and MediaWiki
Recently there was a handful of CDF embedding-related topics. However I would like to ask whether anyone has succeeded in embedding CDF into MediaWiki page?
I've attempted to do so with the Widget ...
39
votes
5answers
1k views
Minimal effort method for integrating C++ functions into Mathematica
As of Mathematica 8, what is the minimal effort way to integrate an existing C++ function into Mathematica?
I think we have these:
MathLink (it was quite long ago I used it last time)
communication ...
19
votes
3answers
638 views
Calling IronPython code from Mathematica
I'd like to call some IronPython code from Mathematica using .NET/Link.
The problem is that the code lives in .py files, yet from Mathematica I can only load .NET assemblies which are DLLs.
So it ...
7
votes
1answer
268 views
Mathematica File Organization
Last year I asked how to integrate notebooks to the documentation center in stackoverflow. Back then I was only interested in seeing those notebook and being able to search for them. Unfortunately, it ...
3
votes
1answer
281 views
MathLink compile errors
Don't you just love it when your computer is working fine, you work with some good examples, everything is wonderful and your relationship with your computer is the best? I do. But what happens when ...
-2
votes
2answers
315 views
C interface for Mathematica
I would like to write a small C program which starts a Mathematica session, executes some user defined code and retrieves the output and finally quits the session. Basically I like to have a simple ...
17
votes
3answers
3k views
How to use Mathematica functions in Python programs?
I'd like to know how can I call Mathematica functions from Python.
I appreciate a example, for example, using the Mathematica function Prime.
I had search about MathLink but how to use it in Python ...
7
votes
2answers
373 views
Mathematica Library Link : How to use non standard 'mint' e.g. 'unsigned int' or 'long long int'
I use Mathematica 8.0.4 on Mac OSX 64 bit, and gcc as C compiler.
I am trying to write a LibraryLink function that deals with large positive integers i.e. greater than $2^{31}-1$. By dealing with, I ...
13
votes
4answers
715 views
Is there a Mathematica/Lisp link?
I'd like to start learning Lisp as it sometimes leads to interesting answers on this site with concepts borrowed from this language, so I'm curious. As I already spend most of my programming time in ...
8
votes
1answer
667 views
Using Mathlink with the cernlib FORTRAN package MINUIT
I could successfully use Mathlink to call a simple fortran subroutine. However, when I went to a realistic problem, I failed.
To be specific, I want to fit a set of data with some function using the ...




