Andrey Siver
2010-Jul-23 10:03 UTC
[R] How to import simple java/mathematica expression to R
Hello, Is it possible to import some (large enough) polynomial expression from java (or mathematica) to R as a function? I found very interesting package rJava but I did not see this feature there. We used Mathematica as calculation engine for our program with statistical calculations and now we want to sell our package to customers. As we cannot force people to buy the Mathematica only for our program, so we are looking for another calculation engine. R is very good candidate. -- Regards, ?? -Andrey
jim holtman
2010-Jul-23 12:37 UTC
[R] How to import simple java/mathematica expression to R
It would be nice if you could post what the data looks like that you want to import. R can import any text file and then you have string manipulation that you can do to parse it. So the basic answer is probably yes, but we do need to understand the format of the data to give a more precise answer. On Fri, Jul 23, 2010 at 6:03 AM, Andrey Siver <andrey.siver at gmail.com> wrote:> Hello, > > Is it possible to import some (large enough) polynomial expression > from java (or mathematica) to R as a function? > > I found very interesting package rJava but I did not see this feature there. > > We used Mathematica as calculation engine for our program with > statistical calculations and now we want to sell our package to > customers. > As we cannot force people to buy the Mathematica only for our program, > so we are looking for another calculation engine. R is very good > candidate. > > -- > Regards, > > ?? -Andrey > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve?
Andrey Siver
2010-Jul-23 17:29 UTC
[R] How to import simple java/mathematica expression to R
Hello, 2010/7/23 jim holtman <jholtman at gmail.com>:> It would be nice if you could post what the data looks like that you > want to import. ?R can import any text file and then you have string > manipulation that you can do to parse it. ?So the basic answer is > probably yes, but we do need to understand the format of the data to > give a more precise answer.I put the target expression to minimize (with some constrains) here: http://analytic-products4you.com/target.txt Is it possible to import it as a function to minimize?> > What is the problem that you are trying to solve? >We solve a problem for parameters estimation with ties. Thank You for the answer. -- Regards, ?? -Andrey