[R] princomp error
I am attempting to run principal components analysis on a dataset of spectral reflectance (6 decimal places). I imported the data using read.table and there are both column and row headers. When I run princomp I receive the following error: Error in cov.wt(z) : 'x' must contain finite values only Where am I going wrong? Ross *** Ross Bricklemyer Dept. of Crop and Soil Sciences Washington State University 291D Johnson Hall PO Box 646420 Pullman, WA 99164-6420 Work: 509.335.3661 Cell/Home: 406.570.8576 Fax: 509.335.8674 Email: [EMAIL PROTECTED] [[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] Mandriva Spring 2007 and R
Jonathan, I was in the same predicament not long ago with Mandriva 2007. You will need to compile and build R from the source code. I have not completely gotten all of the bugs worked out on my system, but I am still quite new to linux. Good luck. Ross *** Ross Bricklemyer Dept. of Crop and Soil Sciences Washington State University 291D Johnson Hall Pullman, WA 99164-6420 Work: 509.335.3661 Cell/Home: 406.570.8576 Fax: 509.335.8674 Email: [EMAIL PROTECTED] Message: 49 Date: Mon, 4 Jun 2007 15:34:20 -0700 (PDT) From: Jonathan Morse [EMAIL PROTECTED] Subject: [R] Mandriva Spring 2007 and R To: r-help@stat.math.ethz.ch Message-ID: [EMAIL PROTECTED] Content-Type: text/plain I am new to Linux (not to R) and recently installed Mandriva Spring 2007 on my partitioned hard drive. My next objective is to install R in the Linux environment, unfortunately Mandriva is not one of the Linux distributions available for download... Could someone please let me know which distribution I should use? Thanks. Jonathan __ 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] make check error in linux OS
I am rebuilding R in a Mandriva Linux environment and have hit a new stumbling point I get the following error. Any help would be greatly appreciated. make[1]: Entering directory `/usr/local/R_HOME/R-2.5.0/tests' make[2]: Entering directory `/usr/local/R_HOME/R-2.5.0/tests' make[3]: Entering directory `/usr/local/R_HOME/R-2.5.0/tests/Examples' make[4]: Entering directory `/usr/local/R_HOME/R-2.5.0/tests/Examples' make[4]: Leaving directory `/usr/local/R_HOME/R-2.5.0/tests/Examples' make[4]: Entering directory `/usr/local/R_HOME/R-2.5.0/tests/Examples' make[4]: *** No rule to make target `../../bin/exec/R', needed by `base-Ex.Rout'. Stop. make[4]: Leaving directory `/usr/local/R_HOME/R-2.5.0/tests/Examples' make[3]: *** [test-Examples-Base] Error 2 make[3]: Leaving directory `/usr/local/R_HOME/R-2.5.0/tests/Examples' make[2]: *** [test-Examples] Error 2 make[2]: Leaving directory `/usr/local/R_HOME/R-2.5.0/tests' make[1]: *** [test-all-basics] Error 1 make[1]: Leaving directory `/usr/local/R_HOME/R-2.5.0/tests' make: *** [check] Error 2 *** Ross Bricklemyer Dept. of Crop and Soil Sciences Washington State University 291D Johnson Hall Pullman, WA 99164-6420 Work: 509.335.3661 Cell/Home: 406.570.8576 Fax: 509.335.8674 Email: [EMAIL PROTECTED] __ 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] error installing packages
I was finally able to get R to 'configure', 'make', and 'install' on Mandriva 2007. Itried to install gnomeGUI and I received an error. See below. At what step do I make R a shared library? Where did I go wrong? Ross == downloaded 74Kb * Installing *Frontend* package 'gnomeGUI' ... Using R Installation in R_HOME=/usr/local/lib64/R R was not built as a shared library Need a shared R library ERROR: configuration failed for package 'gnomeGUI' * Removing '/usr/local/lib64/R/library/gnomeGUI' The downloaded packages are in /root/tmp/RtmpkHUeyA/downloaded_packages Warning message: installation of package 'gnomeGUI' had non-zero exit status in: install.packages(c(gnomeGUI)) = [[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] repost-configure error on Mandriva 2007
All, Apparently the attachment did not make it through the list serve. I am having difficulty installing R-2.4.1 on Mandriva Linux 2007 Discovery. Thanks to the help of Doug Bates I got further along the path (Thanks Doug!!). I now cannot figure out which line of code needs modified in order for configure to complete. Please see below for the last several lines of output. checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking whether makeinfo version is at least 4.7... yes checking for cos in -lm... yes checking for sin in -lm... yes checking for dlopen in -ldl... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking for rl_callback_read_char in -lreadline... no checking for main in -lncurses... no checking for main in -ltermcap... no checking for main in -ltermlib... no checking for rl_callback_read_char in -lreadline... no checking for history_truncate_file... no configure: error: --with-readline=yes (default) and headers/libs are not available *** Ross Bricklemyer Dept. of Crop and Soil Sciences Washington State University 201 Johnson Hall Pullman, WA 99164-6420 Work: 509.335.3661 Cell/Home: 406.570.8576 Fax: 509.335.8674 Email: [EMAIL PROTECTED] __ 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] configure error on Mandriva 2007
All, I am having difficulty installing R-2.4.1 on Mandriva Linux 2007 Discovery. Thanks to the help of Doug Bates I got further along the path (Thanks Doug!!). I now cannot figure out which line of code needs modified in order for configure to complete. Please see the attached output script to see where configure is stopping. Best, Ross Bricklemyer Dept. of Crop and Soil Sciences Washington State university [EMAIL PROTECTED] __ 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] compiling issues with Mandriva Linux 2007 Discovery
All, I am a new user to Linux but I am familiar with R. I have previously used and installed R on a Windows platform without problems. I recently set up a dual boot system (XP_64, Mandriva) to run R on a Linux platform in order to more efficiently handle large datasets. I have not done compiling before, but read the R instructions and followed to my best ability. I downloaded the most recent tar and unpacked it into /usr/local/R_HOME. I was able to run ./configure and added the additional Linux packages necessary to compile. The problem arises using the 'make' command. When I run make I get an error that there is not a target or a makefile. There is, however, Makefile.in in the directory. I think I am close to getting this installed, but I am stuck. Any help would be greatly appreciated. I do not suppose that any of the pre compiled Linux versions (i.e. Debian, SuSe) available on CRAN mirrors would run on a Mandriva distro? Best, Ross *** Ross Bricklemyer Dept. of Crop and Soil Sciences Washington State University 201 Johnson Hall Pullman, WA 99164-6420 Work: 509.335.3661 Cell/Home: 406.570.8576 Fax: 509.335.8674 Email: [EMAIL PROTECTED] __ 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.