I apparently had a prior version of R in /usr/local/, but deleted all R files in that subdirectory. Rebuilt R-3.0.3 and installed it in /usr/. However, when I try to start R as either a user or as root it aborts because it cannot find /usr/local/bin/R. Where is this information stored? I need to either edit that file or remove it so R can happily find all it wants in /usr/. Thanks, Rich
Running the Linux commands which R and echo $PATH | sed -e 's/:/\n/g' might give you a hint. (Exactly what did you install in /usr?) Bill Dunlap TIBCO Software wdunlap tibco.com> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf > Of Rich Shepard > Sent: Monday, April 07, 2014 5:51 PM > To: r-help at r-project.org > Subject: [R] What Directs R to Executable Directory? > > I apparently had a prior version of R in /usr/local/, but deleted all > R files in that subdirectory. Rebuilt R-3.0.3 and installed it in /usr/. > However, when I try to start R as either a user or as root it aborts because > it cannot find /usr/local/bin/R. > > Where is this information stored? I need to either edit that file or > remove it so R can happily find all it wants in /usr/. > > Thanks, > > Rich > > ______________________________________________ > 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.
On Mon, 7 Apr 2014, Rich Shepard wrote:> However, when I try to start R as either a user or as root it aborts because > it cannot find /usr/local/bin/R.When I stepped back from the problem, but shutting down the laptop for the evening, it occurred to me that the system needed to be rebooted to see the new installation and forget about the older one. Sure enough, when I booted the laptop this morning, R worked as expected. Thanks very much, Bill, Rich