I mostly use Windows, but I am slowly learning to use Linux on my second machine. (It came in handy a couple of weeks ago when I had two files to sort, each of length about 2 million. Windows sort died after an hour, but the Linux sorts took 2-3 minutes each.) Anyway the last time I tried installing R in Linux I found out from a helpful computer support person that with my distribution (Slackware) it is better to work from the source files than binaries. In fact he was so helpful that he did it all for me. This was great, except I didn't learn how to do it myself. Now I'd like to upgrade from 0.65.1 to 0.90.* and add some packages, but this time I'm all on my own. My linux skills are quite limited, but I have some books to help me. Is there anything written down somewhere that help someone compile and install R who has never compiled or installed anything on Linux before? Regards, Murray Jorgensen Murray Jorgensen, Department of Statistics, University of Waikato, Hamilton, New Zealand. [maj at waikato.ac.nz] ______________________________________________________________________ Hey! Look at this! The survivors are the ones we had time to get the water to. None of the eighteen other variables that we recorded were significant. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Wed, 1 Dec 1999, Murray Jorgensen wrote:> I mostly use Windows, but I am slowly learning to use Linux on my second > machine. (It came in handy a couple of weeks ago when I had two files to > sort, each of length about 2 million. Windows sort died after an hour, but > the Linux sorts took 2-3 minutes each.) > > Anyway the last time I tried installing R in Linux I found out from a > helpful computer support person that with my distribution (Slackware) it is > better to work from the source files than binaries. In fact he was so > helpful that he did it all for me. This was great, except I didn't learn > how to do it myself. > > Now I'd like to upgrade from 0.65.1 to 0.90.* and add some packages, but > this time I'm all on my own. My linux skills are quite limited, but I have > some books to help me. Is there anything written down somewhere that help > someone compile and install R who has never compiled or installed anything > on Linux before?Well, get R-0.90.0.tgz, copy it to /usr/src and then type (as root) $> tar -xzvf R-0.90.0.tgz # untar the archive $> cd R-0.90.0 # change to the R dir $> ./configure # create your Makefiles $> make # if the output of configure is ok compile $> make install # and install the bin's All those things are well documented in the FAQ and README's as in all GNU projects ... :-) Torsten> > Regards, > > Murray Jorgensen > > Murray Jorgensen, Department of Statistics, > University of Waikato, Hamilton, New Zealand. [maj at waikato.ac.nz] > ______________________________________________________________________ > Hey! Look at this! > The survivors are the ones we had time to get the water to. > None of the eighteen other variables that we recorded were significant. > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Become root: su - Put the new *.tgz file the same place as the old one was (something like /usr/local or /usr/local/src). Unpack it: tar zxvf Rwhatever.tgz Then read INSTALL for detailed instructions. Bill -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I'd like to thank Markus Jantti, John Maindonald, Peter Malewski, Mathew Wiener and Jonathan Yuen for their help. As most pointed out, the .INSTALL file is quite good. Just the same, for a linux novice like me it did help to have much the same thing said in several different ways. I still don't know what to do with the old 0.65.1 directory tree. [ It was a minor triumph of mine when I figured out how to use the "find" command properly and by searching for config.status, which one of the replies let me know was a file in the tree, actually succeeded in finding the R0.65.1 directory tree.] Now what do I do? * Delete the old directory tree before installing the new version? (and risk ending up with no R at all) * Leave the old directory tree and install the new version? (and possibly still get the old version when I type "R") Or maybe uninstalling is more complicated than deleting the tree - it certainly is in Windows! I truly do hope that there are lurking newbies out there that make my asking such basic questions worthwhile! Murray Jorgensen, Department of Statistics, U of Waikato, Hamilton, NZ -----[+64-7-838-4773]---------------------------[maj at waikato.ac.nz]----- "Doubt everything or believe everything:these are two equally convenient strategies. With either we dispense with the need to think." http://www.cs.waikato.ac.nz/stats/Staff/maj.html - Henri Poincare' -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._