I am at a new job where my sys admin installed R in linux and it does run when I log in as a user. I am on linux 2.1.2 but i'm not sure if it''s redhat etc ( but i doubt this matters for my question ). The alias put in my .envfile ( for the kshell ) is R "/ms/dev/fsf/R/2.0.0/install/.exec/ia32.linux.2.4.lib6/lib/R/bin/exec/R" and my R_HOME is /ms/dev/fsf/R/2.0.0/install/.exec/ia32.linux.2.4.lib6/lib/R So now, I am trying to install specific packages ( I can't use install.packages because my linux doesn't have an internet connection ) , I think I found the right documentation ( pg 16 of R installation and administration ) and I set my R_LIBS varaible appropriately but my R CMD INSTALL command is not working. It just drops the CMD and gives "ARGUMENT CMD __ignored__ ) and invokes R by itself. I also tried R CMD BATCH testfile and similarly it dropped the CMD and the BATCH and just invoked R also Does anyone know what I need to change ( probably in my .envfile ) so that R knows what these commands mean ? I am familar with installing R ( binary ) and various packages on windows but I am very unfamilar with Linux. I think if I can get this fixed, I might be able to install the specific packages I need because the instructions on pg 16 are clear. Thanks a lot. -------------------------------------------------------- This is not an offer (or solicitation of an offer) to buy/sell the securities/instruments mentioned or an official confirmation. Morgan Stanley may deal as principal in or own or act as market maker for securities/instruments mentioned or may advise the issuers. This is not research and is not from MS Research but it may refer to a research analyst/research report. Unless indicated, these views are the author's and may differ from those of Morgan Stanley research or others in the Firm. We do not represent this is accurate or complete and we may not update this. Past performance is not indicative of future returns. For additional information, research reports and important disclosures, contact me or see https://secure.ms.com/servlet/cls. You should not use e-mail to request, authorize or effect the purchase or sale of any security or instrument, to send transfer instructions, or to effect any other transactions. We cannot guarantee that any such requests received via e-mail will be processed in a timely manner. This communication is solely for the addressee(s) and may contain confidential information. We do not waive confidentiality by mistransmission. Contact me if you do not wish to receive these communications. In the UK, this communication is directed in the UK to those persons who are market counterparties or intermediate customers (as defined in the UK Financial Services Authority's rules). [[alternative HTML version deleted]]
"Leeds, Mark (IED)" <Mark.Leeds at morganstanley.com> writes:> I am at a new job where my sys admin installed R in linux and it does > run when I log in as a user. I am on linux 2.1.2 but i'm not sure if > it''s redhat etc ( but i doubt this matters for my question ).Well it does, since your sysadmin seems to need help. If it is Redhat/SuSE/Debian/Ubuntu/..., then he will have much easier installation options. "cat /etc/issue" should give you a clue what you're running. ("2.1.2" doesn't ring any bells with me, and neither does the use of kshell)> The alias put in my .envfile ( for the kshell ) is > > R > "/ms/dev/fsf/R/2.0.0/install/.exec/ia32.linux.2.4.lib6/lib/R/bin/exec/R"This is wrong. R need to be started via its startup script. "..../lib/R/bin/R" might be right.> and my R_HOME is > /ms/dev/fsf/R/2.0.0/install/.exec/ia32.linux.2.4.lib6/lib/RThis should not be set at all. Notice also that R-2.0.0 is two years old. It really shouldn't be necessary for you to run something that aged, and it can easily get you into trouble with packages developed against newer versions.> So now, I am trying to install specific packages ( I can't use > install.packages because my linux doesn't have an internet connection ) > , I think I found the right documentation > ( pg 16 of R installation and administration ) and I set my R_LIBS > varaible appropriately but my R CMD INSTALL command is not working. It > just drops the CMD and gives "ARGUMENT CMD __ignored__ ) and invokes R > by itself. I also tried R CMD BATCH testfile and similarly it dropped > the CMD and the BATCH and just invoked R alsoThese are all symptoms of the above misconfiguration.> Does anyone know what I need to change ( probably in my .envfile ) so > that R knows what these commands mean ? I am familar with installing R > ( binary ) and various packages > on windows but I am very unfamilar with Linux. > > I think if I can get this fixed, I might be able to install the specific > packages I need because the instructions on pg 16 are clear. Thanks a > lot.You might need to get development tools installed (compilers, library stubs) if you have compiled code. -- O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
Reasonably Related Threads
- 2 questions about loading packages
- Switching to git (Windows experience) (was re:[cfe-dev] GitHub anyone?)
- beginner's guide to C++ programming with R packages?
- Problems authenticating Ubuntu 8.04 client (gdm) against Samba (Ubuntu 8.04) domain server
- Allow Samba4/AD group "MYDOM\Domain Admins" to login through SSH on linux hosts