[R] R problem
Jim Lemon
drjimlemon at gmail.com
Thu Dec 8 21:39:31 CET 2016
Hi Grace,
It is almost certainly a directory problem. The new R installation may
be in a different directory from the old one. Does R run from the
Start menu or a desktop icon? If so, look at "Properties" to discover
where it is located and use the explicit path (e.g. C:\Users\Grace\R
-save < IPFPUMS.R) If that works you can probably add the R home
directory to your PATH when calling the script.
Jim
On Fri, Dec 9, 2016 at 5:56 AM, Grace King <gking at 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 at 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.
More information about the R-help
mailing list