Hello, I'm new to the installation R on Linux and I've followed the instructions on the R Installation and Administration Manual and on the FAQs. I also have changed the path at the .bash_profile file but when I try to type R at the shell prompt, it says: Fatal error: R home directory is not defined I've tried many things but all the time it says the same. Any help would be appreciated. Regards, Alicia
"Alicia Amadoz" <Alicia.Amadoz at uv.es> writes:> Hello, > > I'm new to the installation R on Linux and I've followed the > instructions on the R Installation and Administration Manual and on the > FAQs. I also have changed the path at the .bash_profile file but when I > try to type R at the shell prompt, it says: > > Fatal error: R home directory is not defined > > I've tried many things but all the time it says the same. Any help would > be appreciated.What happens if you type 'which R'? What is the version of R and what is in your path? I suspect you are somehow trying to run the R binary, bypassing the R shell script, which sets things like R_HOME. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
Adaikalavan Ramasamy
2004-Oct-25 15:25 UTC
[R] problem with installation on Linux (beginners)
I presume R when executed from its bin directory works fine. Are you actually using bash shell. Try 'echo $SHELL'. If yes, then try 'which R' and see if it pointing to the right path. On Mon, 2004-10-25 at 15:55, Alicia Amadoz wrote:> Hello, > > I'm new to the installation R on Linux and I've followed the > instructions on the R Installation and Administration Manual and on the > FAQs. I also have changed the path at the .bash_profile file but when I > try to type R at the shell prompt, it says: > > Fatal error: R home directory is not defined > > I've tried many things but all the time it says the same. Any help would > be appreciated. > > Regards, > Alicia > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >