Re: [R] installing the x86_64 R Binary on Fedora Core 5
On Thu, 2006-08-24 at 10:53 -0400, roger bos wrote: I am looking for help install the x86_64 R Binary onto my FC5 machine. At the risk of subjecting myself to tons of criticism, I must confess that I don't know anything about Linux and I have never compiled R from source. Therefore, I choose FC5 because I see that a 64-bit binary is already available. Here is what I tried: I installed FC5 with all options (productivity, software development, and web server). FC5 boots up fine. I downloaded all the R binary files in that FC5 directory to my USB drive and copied them onto my linux machine (where I don't yet have internet access). I created a folder in my rbos's Home directory and copied the files there. I clicked on the R-2.3.1-1.fc5.x86_64.rpm and right-clicked to choose 'open with install software' It asked me for my root password. I put in the same root password I choose when I installed FC5. I get a installing packages screen that shows the R filename and I click Apply. It then give me an Error: Unable to retrieve software information. Can anyone tell me what steps I am missing? The R install guide states that binary installs are platform specific so it only considers building from the sources. I look forward to learning a lot about Linux and using more than just the GUI, but to get started, I just want to learn how to install a binary of R. Thanks so much, Roger Roger, I don't know if the GUI version of the RPM interface (Red Hat/Fedora's Package Manager) is sufficiently robust these days. In the past, there were notable problems trying to use it to install software binaries. I would open a console and change into the folder where you copied the files. If you are running GNOME and do not have a Terminal launcher (icon) on any of your panels, you can go to the menus and select: Applications - Accessories - Terminal This will open a console on your desktop, just like the Windows command line console. Then change to the appropriate folder: cd /Path/To/FolderName Note that unlike Windows, the slashes are '/', not '\'. Then in that folder, type: su You will be prompted for the root password. If successful, you will note that the prompt prefix changes from a '$' to a '#'. Then, type: rpm -ivh R-2.3.1-1.fc5.x86_64.rpm This will begin the R installation process. If you get back to the prompt without any error messages, you should be good to go. Then type: exit at the console, which will exit root status and bring you back to your regular user ID (prompt prefix back to '$'). Needless to say, that while you have root privileges in the console, be careful in what you might type. You have total access to screw up the system... :-) If you get any error messages, post them back here and we can help debug the process. HTH, Marc Schwartz __ R-help@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 and provide commented, minimal, self-contained, reproducible code.
Re: [R] installing the x86_64 R Binary on Fedora Core 5
Hi Roger, I dunno what exactly might be the source of that mistake but I would strongly recommend to install R while you are online. Often other packages must be installed for dependencies. (And then I recommend using the smart package manager ( http://labix.org/smart ) which is a great tool and handling dependencies better.) You could use rpm at the command line level. open a shell, type su and give your password, change to the folder where the rpm is downloaded to, type rpm -ivh R-2.3.1-1.fc5.x86_64.rpm will try to install and give you information on whats missing... Stefan Grosse roger bos schrieb: I am looking for help install the x86_64 R Binary onto my FC5 machine. At the risk of subjecting myself to tons of criticism, I must confess that I don't know anything about Linux and I have never compiled R from source. Therefore, I choose FC5 because I see that a 64-bit binary is already available. Here is what I tried: I installed FC5 with all options (productivity, software development, and web server). FC5 boots up fine. I downloaded all the R binary files in that FC5 directory to my USB drive and copied them onto my linux machine (where I don't yet have internet access). I created a folder in my rbos's Home directory and copied the files there. I clicked on the R-2.3.1-1.fc5.x86_64.rpm and right-clicked to choose 'open with install software' It asked me for my root password. I put in the same root password I choose when I installed FC5. I get a installing packages screen that shows the R filename and I click Apply. It then give me an Error: Unable to retrieve software information. Can anyone tell me what steps I am missing? The R install guide states that binary installs are platform specific so it only considers building from the sources. I look forward to learning a lot about Linux and using more than just the GUI, but to get started, I just want to learn how to install a binary of R. Thanks so much, Roger [[alternative HTML version deleted]] __ R-help@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 and provide commented, minimal, self-contained, reproducible code. __ R-help@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 and provide commented, minimal, self-contained, reproducible code.
Re: [R] installing the x86_64 R Binary on Fedora Core 5
Thanks so much Marc Stefan! The GUI wasn't telling me what I was missing. The terminal told me I was missing tk-8.4.12-1.2.x86_64.rpm so I went and got that and it installed without errors. Then I could't figure out how to launch R through the GUI so I went back to the terminal and typed R and it launched. I have a lot to learn but I want to thank you so much for getting me started. Another question: As I said, I don't have internet access on the linux machine, so is there any way to copy the library folder from my windows machine to the linux box and install the packages from there? Roger On 8/24/06, Stefan Grosse [EMAIL PROTECTED] wrote: Hi Roger, I dunno what exactly might be the source of that mistake but I would strongly recommend to install R while you are online. Often other packages must be installed for dependencies. (And then I recommend using the smart package manager ( http://labix.org/smart ) which is a great tool and handling dependencies better.) You could use rpm at the command line level. open a shell, type su and give your password, change to the folder where the rpm is downloaded to, type rpm -ivh R-2.3.1-1.fc5.x86_64.rpm will try to install and give you information on whats missing... Stefan Grosse roger bos schrieb: I am looking for help install the x86_64 R Binary onto my FC5 machine. At the risk of subjecting myself to tons of criticism, I must confess that I don't know anything about Linux and I have never compiled R from source. Therefore, I choose FC5 because I see that a 64-bit binary is already available. Here is what I tried: I installed FC5 with all options (productivity, software development, and web server). FC5 boots up fine. I downloaded all the R binary files in that FC5 directory to my USB drive and copied them onto my linux machine (where I don't yet have internet access). I created a folder in my rbos's Home directory and copied the files there. I clicked on the R-2.3.1-1.fc5.x86_64.rpm and right-clicked to choose 'open with install software' It asked me for my root password. I put in the same root password I choose when I installed FC5. I get a installing packages screen that shows the R filename and I click Apply. It then give me an Error: Unable to retrieve software information. Can anyone tell me what steps I am missing? The R install guide states that binary installs are platform specific so it only considers building from the sources. I look forward to learning a lot about Linux and using more than just the GUI, but to get started, I just want to learn how to install a binary of R. Thanks so much, Roger [[alternative HTML version deleted]] __ R-help@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 and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] __ R-help@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 and provide commented, minimal, self-contained, reproducible code.
Re: [R] installing the x86_64 R Binary on Fedora Core 5
Roger, The Windows packages will not run on Linux. You will need to install them using the Linux versions (.tar.gz files) of the CRAN packages. You can copy them from a CRAN mirror to your USB drive and then install them locally using R CMD INSTALL PackageName.tar.gz This will again need to be done as root using 'su' from the console. Note that depending upon the nature of the package (ie. does it uses C and/or FORTRAN code or require third party libraries), you may get errors during the installation process if you are missing required code/applications/header files. HTH, Marc On Thu, 2006-08-24 at 11:50 -0400, roger bos wrote: Thanks so much Marc Stefan! The GUI wasn't telling me what I was missing. The terminal told me I was missing tk-8.4.12-1.2.x86_64.rpm so I went and got that and it installed without errors. Then I could't figure out how to launch R through the GUI so I went back to the terminal and typed R and it launched. I have a lot to learn but I want to thank you so much for getting me started. Another question: As I said, I don't have internet access on the linux machine, so is there any way to copy the library folder from my windows machine to the linux box and install the packages from there? Roger On 8/24/06, Stefan Grosse [EMAIL PROTECTED] wrote: Hi Roger, I dunno what exactly might be the source of that mistake but I would strongly recommend to install R while you are online. Often other packages must be installed for dependencies. (And then I recommend using the smart package manager ( http://labix.org/smart ) which is a great tool and handling dependencies better.) You could use rpm at the command line level. open a shell, type su and give your password, change to the folder where the rpm is downloaded to, type rpm -ivh R-2.3.1-1.fc5.x86_64.rpm will try to install and give you information on whats missing... Stefan Grosse roger bos schrieb: I am looking for help install the x86_64 R Binary onto my FC5 machine. At the risk of subjecting myself to tons of criticism, I must confess that I don't know anything about Linux and I have never compiled R from source. Therefore, I choose FC5 because I see that a 64-bit binary is already available. Here is what I tried: I installed FC5 with all options (productivity, software development, and web server). FC5 boots up fine. I downloaded all the R binary files in that FC5 directory to my USB drive and copied them onto my linux machine (where I don't yet have internet access). I created a folder in my rbos's Home directory and copied the files there. I clicked on the R-2.3.1-1.fc5.x86_64.rpm and right-clicked to choose 'open with install software' It asked me for my root password. I put in the same root password I choose when I installed FC5. I get a installing packages screen that shows the R filename and I click Apply. It then give me an Error: Unable to retrieve software information. Can anyone tell me what steps I am missing? The R install guide states that binary installs are platform specific so it only considers building from the sources. I look forward to learning a lot about Linux and using more than just the GUI, but to get started, I just want to learn how to install a binary of R. Thanks so much, Roger [[alternative HTML version deleted]] __ R-help@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 and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] __ R-help@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 and provide commented, minimal, self-contained, reproducible code. __ R-help@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 and provide commented, minimal, self-contained, reproducible code.
Re: [R] installing the x86_64 R Binary on Fedora Core 5
On Thu, 24 Aug 2006, roger bos wrote: Thanks so much Marc Stefan! The GUI wasn't telling me what I was missing. The terminal told me I was missing tk-8.4.12-1.2.x86_64.rpm so I went and got that and it installed without errors. Then I could't figure out how to launch R through the GUI so I went back to the terminal and typed R and it launched. I have a lot to learn but I want to thank you so much for getting me started. Another question: As I said, I don't have internet access on the linux machine, so is there any way to copy the library folder from my windows machine to the linux box and install the packages from there? No, but what you can do on Windows is use download.packages(..., type=source), and copy the folder into which you downloaded to your Linux box. To avoid continually needing root access, I would do cd ~ mkdir Rlibrary cat .Renviron ~/Rlibrary ^D cd folder-with-downloaded-sources foreach f (*.tar.gz) R CMD INSTALL -l ~/Rlibrary $f end The next time you start R the installed packages should be available to you. Roger On 8/24/06, Stefan Grosse [EMAIL PROTECTED] wrote: Hi Roger, I dunno what exactly might be the source of that mistake but I would strongly recommend to install R while you are online. Often other packages must be installed for dependencies. (And then I recommend using the smart package manager ( http://labix.org/smart ) which is a great tool and handling dependencies better.) You could use rpm at the command line level. open a shell, type su and give your password, change to the folder where the rpm is downloaded to, type rpm -ivh R-2.3.1-1.fc5.x86_64.rpm will try to install and give you information on whats missing... Stefan Grosse roger bos schrieb: I am looking for help install the x86_64 R Binary onto my FC5 machine. At the risk of subjecting myself to tons of criticism, I must confess that I don't know anything about Linux and I have never compiled R from source. Therefore, I choose FC5 because I see that a 64-bit binary is already available. Here is what I tried: I installed FC5 with all options (productivity, software development, and web server). FC5 boots up fine. I downloaded all the R binary files in that FC5 directory to my USB drive and copied them onto my linux machine (where I don't yet have internet access). I created a folder in my rbos's Home directory and copied the files there. I clicked on the R-2.3.1-1.fc5.x86_64.rpm and right-clicked to choose 'open with install software' It asked me for my root password. I put in the same root password I choose when I installed FC5. I get a installing packages screen that shows the R filename and I click Apply. It then give me an Error: Unable to retrieve software information. Can anyone tell me what steps I am missing? The R install guide states that binary installs are platform specific so it only considers building from the sources. I look forward to learning a lot about Linux and using more than just the GUI, but to get started, I just want to learn how to install a binary of R. Thanks so much, Roger [[alternative HTML version deleted]] __ R-help@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 and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] __ R-help@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 and provide commented, minimal, self-contained, reproducible code. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ R-help@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 and provide commented, minimal, self-contained, reproducible code.