Since you didn't say, I'm going to assume this is Linux. One option would be to put the full path to R in the call in the EMME script. This might be, for example
/usr/local/bin/R --save < IPFPUMS.R Without the asterisks before and after, unless they are a requirement of EMME (which I've never heard of). But it will depend on where R is installed. It might be easier in the long run to use Rscript instead of R. (strictly speaking, this is not an R problem, but a operating system/installation problem, possibly combined with the methods EMME uses to interact with software other than itself) -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 12/8/16, 10:56 AM, "R-help on behalf of Grace King" <r-help-boun...@r-project.org on behalf of gk...@ctps.org> wrote: >Hi all, > > > >I am trying to run a macro by R in a EMME script. The R macro that we >wrote >is called IPFPUMS.R. The whole process has been working until someone >removed R. We tried to re-install R but getting the error message: > >³ŒR¹ is not recognized as an internal or external command, operable >program >or batch file.² > > > >Here is how R is called to run the macro in the script: > > > >*R --save < IPFPUMS.R* > > > >R now resides on the same server location as EMME. Our IT person created a >symbolic link for R but still the same error occurred. > > > >Any thoughts will be much appreciated. > > > >Grace > > [[alternative HTML version deleted]] > >______________________________________________ >R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >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. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.