[R] How to import simple java/mathematica expression to R

Andrey Siver andrey.siver at gmail.com
Sat Jul 24 09:35:03 CEST 2010


Hello,

2010/7/24 jim holtman <jholtman at gmail.com>:
> Well, I took you equation and put the following at the start:
>
> Power <- function(x,y) x^y
> EE <- function(x) x
> alp <- 2
>
> x <- 9000000*Power(-0.2030178326474623 + 0.23024073983368956*(1 - alp) +
>...

Actually, there are many functions like this (about 18*2), for each
situation with input data.

So there is an idea to put them in different files (via Export from
Mathematica) and then use them somehow (without modifications) in R
program.

Thank You for the answer.

 --
Regards,
    -Andrey



More information about the R-help mailing list