Re: [R] Package installation
We are working in a new release that would solve the problem mentioned; in the current source tarball available it could be manage as Uwe said, adding the line in the DESCRIPTION file: ZipData: no By the way, besides the RTools needed to compile any package in Windows, you will need to install the libjpeg and libtiff libraries and follow the instructions in the README file. Sorry for the delayed answer. I hope you can use the package. In a few weeks we think we are going to release an improved version, with more functionalities. Any feedback will be welcome. Best, Matías Bordese. On 8/24/07, Uwe Ligges [EMAIL PROTECTED] wrote: Antje wrote: Hello, I'm running R with windows. Could anybody help me how to install the package biOps (http://cran.mirroring.de/src/contrib/Descriptions/biOps.html) ? I cannot find it at any mirror provided by the GUI; I just found it as tar.gz which cannot be installed with the installation method... Maybe, I simply do something wrong? The Windows binary is not available on CRAN, because it still fail its checks under Windows. I already asked the package maintainer (CCing again) to fix the package by simply adding one line: ZipData: no to its DESCRIPTION file. Uwe Ligges Thanks for any hint! Antje __ 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] Package installation
Vladimir Eremeev wrote: This is a source code package. Install Rtools (http://www.murdoch-sutherland.com/Rtools/), then you should be able to compile source packages from the Windows command prompt For example, c:\downloadsR CMD INSTALL biOps_0.1-1.tar.gz provided you have downloaded the file biOps_0.1-1.tar.gz to the directory c:\downloads on your hard drive. Sorry, I forgot to mention, this package could depend on 3rd party libraries, and your system must have them installed. Vladimir Eremeev wrote: Antje wrote: Hello, I'm running R with windows. Could anybody help me how to install the package biOps (http://cran.mirroring.de/src/contrib/Descriptions/biOps.html) ? I cannot find it at any mirror provided by the GUI; I just found it as tar.gz which cannot be installed with the installation method... Maybe, I simply do something wrong? Antje -- View this message in context: http://www.nabble.com/Package-installation-tf4322071.html#a12308092 Sent from the R help mailing list archive at Nabble.com. __ 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] Package installation
This is a source code package. Install Rtools (http://www.murdoch-sutherland.com/Rtools/), then you should be able to compile source packages from the Windows command prompt For example, c:\downloadsR CMD INSTALL biOps_0.1-1.tar.gz provided you have downloaded the file biOps_0.1-1.tar.gz to the directory c:\downloads on your hard drive. Antje wrote: Hello, I'm running R with windows. Could anybody help me how to install the package biOps (http://cran.mirroring.de/src/contrib/Descriptions/biOps.html) ? I cannot find it at any mirror provided by the GUI; I just found it as tar.gz which cannot be installed with the installation method... Maybe, I simply do something wrong? Thanks for any hint! Antje -- View this message in context: http://www.nabble.com/Package-installation-tf4322071.html#a12307927 Sent from the R help mailing list archive at Nabble.com. __ 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] package installation for windows vista
See, e.g., RSiteSearch(Vista Package) Uwe Ligges Jungpin Wu wrote: Hi guys, How to install selected packages for R 2.4.1 under windows vista? Thanks a lot. JP [[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] package installation fails only for sp
Thanks to Brian Ripley and Roger Bivand for their quick replies to my question (original post below). Both politely pointed out that I had failed to check if I was running the latest version of R (2.4). I was attempting to download the current version of the sp package, which is not compatible with v 2.3. On Fri, 1 Dec 2006, Don McKenzie wrote: I have escaped Splus for Windows (mostly) and have started using R (v 2.3.1 on i686 redhat). Installing packages has been routine except for sp (classes and methods for spatial data). I get the following error message install.packages(sp) Warning in download.packages(unique (pkgs),destdir=tmpd,available=available,: no package 'sp' at the repositories Clearly I am missing something (probably obvious), but can someone enlighten me as to why the behavior of this package installation is different from others? sp is listed under Contributed packages at the R-project URL. Thank you for your time. Don McKenzie, Research Ecologist Pacific WIldland Fire Sciences Lab US Forest Service Affiliate Assistant Professor College of Forest Resources CSES Climate Impacts Group University of Washington 206.732.7824 [EMAIL PROTECTED] [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] package installation fails only for sp
Don McKenzie wrote: I have escaped Splus for Windows (mostly) and have started using R (v 2.3.1 on i686 redhat). Installing packages has been routine except for sp (classes and methods for spatial data). I get the following error message install.packages(sp) Warning in download.packages(unique(pkgs),destdir=tmpd,available=available,: no package 'sp' at the repositories Clearly I am missing something (probably obvious), but can someone enlighten me as to why the behavior of this package installation is different from others? sp is listed under Contributed packages at the R-project URL. Thank you for your time. Try looking at the Depends: field __ 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] package installation fails only for sp
One thing you did miss was the request in the posting guide to update to the latest version of R before posting. Note that it is the download that fails, not the installation. There is a binary versioon of 'sp' for R 2.3.x on the CRAN master, so it looks like a problem with the CRAN mirror you are using -- but of course I don't have an outdated version of R installed to cross-check. On Fri, 1 Dec 2006, Don McKenzie wrote: I have escaped Splus for Windows (mostly) and have started using R (v 2.3.1 on i686 redhat). Installing packages has been routine except for sp (classes and methods for spatial data). I get the following error message install.packages(sp) Warning in download.packages(unique(pkgs),destdir=tmpd,available=available,: no package 'sp' at the repositories Clearly I am missing something (probably obvious), but can someone enlighten me as to why the behavior of this package installation is different from others? sp is listed under Contributed packages at the R-project URL. Thank you for your time. -- 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.
Re: [R] package installation fails only for sp
Sorry, I missed that 'i686 redhat' might mean Red Hat, that is a form of Linux. The advice in the first para applies: the current version of 'sp' in the source area on CRAN is for R=2.4.0: see http://cran.r-project.org/src/contrib/Descriptions/sp.html If you cannot update your R, there are versions of 'sp' available in the Archive area on CRAN that willl work with R 2.3.1. On Sat, 2 Dec 2006, Prof Brian Ripley wrote: One thing you did miss was the request in the posting guide to update to the latest version of R before posting. Note that it is the download that fails, not the installation. There is a binary version of 'sp' for R 2.3.x on the CRAN master, so it looks like a problem with the CRAN mirror you are using -- but of course I don't have an outdated version of R installed to cross-check. On Fri, 1 Dec 2006, Don McKenzie wrote: I have escaped Splus for Windows (mostly) and have started using R (v 2.3.1 on i686 redhat). Installing packages has been routine except for sp (classes and methods for spatial data). I get the following error message install.packages(sp) Warning in download.packages(unique(pkgs),destdir=tmpd,available=available,: no package 'sp' at the repositories Clearly I am missing something (probably obvious), but can someone enlighten me as to why the behavior of this package installation is different from others? sp is listed under Contributed packages at the R-project URL. Thank you for your time. -- 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.
Re: [R] package installation problems
On Tue, 18 Jul 2006, Demmler J. wrote: Hello, I just updated from R 2.1.1 to R 2.3.1 (I also updated from Fedora 3 to How? Did you install an RPM? Before or after OS update? I checked the RPM for fc4 on CRAN which has C compiler:gcc -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables Fortran 77 compiler: gfortran -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables C++ compiler: g++ -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables Fortran 90/95 compiler:gfortran -g -O2 not as you show. However, read on. Fedora 4 if that is of any importance). However, several packages (e.g. fields etc.) refuse to be installed. I get the following error message: [EMAIL PROTECTED] R-files]# R CMD INSTALL fields_2.3.tar.gz * Installing *source* package 'fields' ... ** libs g77 -fpic -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -c css.f -o css.o f771: invalid option `tune=pentium4' make: *** [css.o] Error 1 ERROR: compilation failed for package 'fields' ** Removing '/usr/lib/R/library/fields' For some reason -mtune is set to Pentium 4, although I'm using an Athlon-XP. That may not actually be a problem: the problem is that your compiler is not recognizing -mtune. (I seem to have run R RPMs for fc3 with -march=i386 -mtune=pentium4 on a dual Athlon MP. 'tune' should generate code that runs on other CPUs, just not optimally.) I searched the files in the fields package for this line but couldn't find it. Other packages, like f.i. maps didn't have any problems. I hope anyone can help me, as I need those packages urgently for my PhD project. The options are coming from the version of R you installed. I would expect R compiled for FC4 to be using gfortran not g77 (as in the CRAN RPM). The simplest way out here is compile R from the sources on your actual machine, but you could try replacing your RPM with the CRAN fc4 one. -- 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.
Re: [R] package installation problem
Hello everyone. After some very welcome offline advice, I now have the mvtnorm package working on R-2.3.0; here is my solution for MacOSX. There were two problems: first, make could not find gcc-4.0. To solve this, add the relevant directory to PATH. For me, this is PATH=$PATH:/usr/local/gcc4.0/bin/ Now the second problem is that the file for -lgfortran can't be found. To solve this, add FLIBS=-L/usr/local/gcc4.0/lib to the Makevars file. best wishes rksh On 23 May 2006, at 08:25, Robin Hankin wrote: (this after asking the package author) Hi I cannot install the rmvnorm package under R-2.3.0, or R-2.3.1 beta. It installs fine under R-2.2.1. transcript for installation under R-2.3.0 follows. Robin-Hankins-Computer:~/scratch% R --version R version 2.3.0 (2006-04-24) Copyright (C) 2006 R Development Core Team R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under the terms of the GNU General Public License. For more information about these matters, see http://www.gnu.org/copyleft/gpl.html. Robin-Hankins-Computer:~/scratch% sudo R CMD INSTALL mvtnorm_0.7-2.tar.gz * Installing *source* package 'mvtnorm' ... ** libs gfortran -fPIC -fno-common -g -O2 -c mvt.f -o mvt.o gcc -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ include -I/Library/Frameworks/R.framework/Resources/include -I/sw/ include -I/usr/local/include -fPIC -fno-common -Wall -pedantic -O2 -std=gnu99 -c randomF77.c -o randomF77.o gcc -flat_namespace -bundle -undefined suppress -L/sw/lib -L/usr/ local/lib -o mvtnorm.so mvt.o randomF77.o -L/usr/local/gfortran/lib/ gcc/powerpc-apple-darwin8.2.0/4.1.0 -L/usr/local/gfortran/lib - lgfortran -lgcc_s -lSystemStubs -lSystem -F/Library/Frameworks/ R.framework/.. -framework R ** arch - i386 gfortran-4.0 -arch i386 -fPIC -fno-common -g -O2 -march=pentium-m - mtune=prescott -c mvt.f -o mvt.o make: gfortran-4.0: Command not found make: *** [mvt.o] Error 127 chmod: /Library/Frameworks/R.framework/Versions/2.3/Resources/library/ mvtnorm/libs/i386/*: No such file or directory ** arch - ppc gfortran-4.0 -arch ppc -fPIC -fno-common -g -O2 -c mvt.f -o mvt.o make: gfortran-4.0: Command not found make: *** [mvt.o] Error 127 chmod: /Library/Frameworks/R.framework/Versions/2.3/Resources/library/ mvtnorm/libs/ppc/*: No such file or directory ERROR: compilation failed for package 'mvtnorm' ** Removing '/Library/Frameworks/R.framework/Versions/2.3/Resources/ library/mvtnorm' ** Restoring previous '/Library/Frameworks/R.framework/Versions/2.3/ Resources/library/mvtnorm' Robin-Hankins-Computer:~/scratch% anyone? -- Robin Hankin Uncertainty Analyst National Oceanography Centre, Southampton European Way, Southampton SO14 3ZH, UK tel 023-8059-7743 __ 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 -- Robin Hankin Uncertainty Analyst National Oceanography Centre, Southampton European Way, Southampton SO14 3ZH, UK tel 023-8059-7743 __ 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
Re: [R] package installation problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin, Thanks for the tip. I already had gcc in my path, but also had to add the -lgfortran line in Makevars. Worked as you said. Cheers Robert On May 23, 2006, at 1:57 AM, Robin Hankin wrote: Hello everyone. After some very welcome offline advice, I now have the mvtnorm package working on R-2.3.0; here is my solution for MacOSX. There were two problems: first, make could not find gcc-4.0. To solve this, add the relevant directory to PATH. For me, this is PATH=$PATH:/usr/local/gcc4.0/bin/ Now the second problem is that the file for -lgfortran can't be found. To solve this, add FLIBS=-L/usr/local/gcc4.0/lib to the Makevars file. best wishes rksh On 23 May 2006, at 08:25, Robin Hankin wrote: (this after asking the package author) Hi I cannot install the rmvnorm package under R-2.3.0, or R-2.3.1 beta. It installs fine under R-2.2.1. transcript for installation under R-2.3.0 follows. Robin-Hankins-Computer:~/scratch% R --version R version 2.3.0 (2006-04-24) Copyright (C) 2006 R Development Core Team R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under the terms of the GNU General Public License. For more information about these matters, see http://www.gnu.org/copyleft/gpl.html. Robin-Hankins-Computer:~/scratch% sudo R CMD INSTALL mvtnorm_0.7-2.tar.gz * Installing *source* package 'mvtnorm' ... ** libs gfortran -fPIC -fno-common -g -O2 -c mvt.f -o mvt.o gcc -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ include -I/Library/Frameworks/R.framework/Resources/include -I/sw/ include -I/usr/local/include -fPIC -fno-common -Wall -pedantic -O2 -std=gnu99 -c randomF77.c -o randomF77.o gcc -flat_namespace -bundle -undefined suppress -L/sw/lib -L/usr/ local/lib -o mvtnorm.so mvt.o randomF77.o -L/usr/local/gfortran/lib/ gcc/powerpc-apple-darwin8.2.0/4.1.0 -L/usr/local/gfortran/lib - lgfortran -lgcc_s -lSystemStubs -lSystem -F/Library/Frameworks/ R.framework/.. -framework R ** arch - i386 gfortran-4.0 -arch i386 -fPIC -fno-common -g -O2 -march=pentium- m - mtune=prescott -c mvt.f -o mvt.o make: gfortran-4.0: Command not found make: *** [mvt.o] Error 127 chmod: /Library/Frameworks/R.framework/Versions/2.3/Resources/ library/ mvtnorm/libs/i386/*: No such file or directory ** arch - ppc gfortran-4.0 -arch ppc -fPIC -fno-common -g -O2 -c mvt.f -o mvt.o make: gfortran-4.0: Command not found make: *** [mvt.o] Error 127 chmod: /Library/Frameworks/R.framework/Versions/2.3/Resources/ library/ mvtnorm/libs/ppc/*: No such file or directory ERROR: compilation failed for package 'mvtnorm' ** Removing '/Library/Frameworks/R.framework/Versions/2.3/Resources/ library/mvtnorm' ** Restoring previous '/Library/Frameworks/R.framework/Versions/2.3/ Resources/library/mvtnorm' Robin-Hankins-Computer:~/scratch% anyone? -- Robin Hankin Uncertainty Analyst National Oceanography Centre, Southampton European Way, Southampton SO14 3ZH, UK tel 023-8059-7743 __ 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 -- Robin Hankin Uncertainty Analyst National Oceanography Centre, Southampton European Way, Southampton SO14 3ZH, UK tel 023-8059-7743 __ 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 - -- Robert M. Ullrey Special Reportage for Crises Intervention and Mediation Reportage Spécial pour des Crises Interposition et Médiation 133 Antelope Street Woodland, CA 95695 USA mobile (téléphone cellulaire): +01-916-600-5816 Skype (téléphone international): robert.ullrey email: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEcxdQ0ZwlS5OIzRcRAo0oAJ9b3MZ7Tm2wLkMkzUiiXHcGdV3qZQCglPgu dmj4FLMI90RtDQKXwP/C0XQ= =DWc5 -END PGP SIGNATURE- __ 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
Re: [R] package installation on Mac OS X 10.3.9
Hi, What is the R version you use? I am also working with OS X 10.3.9 and I got this error once with a older release of R. I found that when I used the 'superuser' it worked. either: $ sudo r and do the install as you did or: $ sudo R CMD INSTALL /path/to/your/package.tar.gz Best, David On Mar 8, 2006, at 9:58, Patrick Giraudoux wrote: Dear listers, I am tryin to install a package in a student training room. Unsuccessfull! With this message: install.packages(pgirmess) trying URL `http://cran.r-project.org/src/contrib/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 77400 bytes opened URL == downloaded 75Kb trying URL `http://cran.r-project.org/src/contrib/pgirmess_1.2.5.tar.gz' Content type `application/x-tar' length 49962 bytes opened URL == downloaded 48Kb ERROR: failed to lock directory '/Library/Frameworks/R.framework/Versions/2.0.1/Resources/library' for modifying Try removing '/Library/Frameworks/R.framework/Versions/2.0.1/Resources/library/ 00LOCK' Delete downloaded files (y/N)? N Can anybody advise a bit more clearly about the origin of this failure and anticipate a way to work it around? Cheers, Patrick __ 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 __ 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
Re: [R] package installation error (LF versus CR)
sonia wrote: Hello, I have the following problem in installing a package (in windows xp) rcmd install -c dlm [ ..stuff deleted ] ... DLL made installing DLL installing R files installing inst files installing data files installing man source files installing indices Errore in load(zfile, envir = envir) : l'input Þ stato danneggiato, LF sostituiti da CR Esecuzione interrotta make[2]: *** [indices] Error 1 make[1]: *** [all] Error 2 make: *** [pkg-dlm] Error 2 *** Installation of dlm failed *** Does anybody please have suggestions? If relevant, the source package was downloaded from a unix server using cvs+ssh In principle, it should not matter if it works on the unix machine. Anyway, can you try to *build* the package on that unix machine and install from the tar.gz file on Windows. Maybe some line endings got mixed up by cvs... For further report, please set LANGUAGE=en before a sample-run you want to include in a question to R-help, because not everybody understands italian. Uwe Ligges Thanks a lot, best, Sonia __ 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
Re: [R] package installation problem
I guess either R has not been installed properly, or you have two (or more) versions of R lying around... Uwe Ligges MJK wrote: Hi, I'm running R-1.9.1 and I'm unable to succesfully install packages using either 'R CMD INSTALL xxx.tar.gz' or 'install.packages(xxx). For example, if I try to install the msm package I get: R CMD INSTALL msm_0.4.1.tar.gz * Installing *source* package 'msm' ... ERROR: R_HOME ('/root/R-1.9.1') not found ERROR: installing package DESCRIPTION failed ** Removing '/usr/share/R-1.9.1/library/msm' In R I get: install.packages(msm) ... messages confirming succesful download are given here ... WARNING: ignoring environment value of R_HOME /root/R-1.9.1/bin/Rcmd: /root/R-1.9.1/bin/Rcmd: No such file or directory Delete downloaded files (y/N)? As you can see, R is under /usr/share/R-1.9.1 on my Slackware 9.1 Linux system. paste(file.path(R.home(),bin,R)) gives me /usr/share/R-1.9.1/bin/R and Sys.getenv(R_HOME) gives me /usr/share/R-1.9.1 as does 'R RHOME'. Everything seems fine, but I do not understand why it's trying to look for /root/R-1.9.1? How do I solve this problem? Any help is greatly appreciated! Maarten-Jan Kallen Faculty of Electrical Engineering, Mathematics and Computer Science Delft University of Technology Delft, the Netherlands __ 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 __ 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
[R] Re: R package installation
Dear Prof. Johnson, sorry for posting the reply so late. I am already using FINK. But you were right, R was looking for g77 and the gcc libraries under the MacOs distributions. Rather than creating symbolic links I updated FLIBS in /Library/Frameworks/R.framework/Resources/etc/Makeconf so that it searches in the right path /sw/lib/gcc/powerpc-apple-darwin7.2.0/ For g77 I made instead the link you suggest under /usr/bin/. I removed and reinstalled the package and everything run fine, in spite of my versions of libraries and compilers (g77 was already up-date from FINK). Thank you all for the help, Marco Dear Marco, I was given an excerpt with your problem about installing package on a MAC, such as Hmisc. I had the same problems and found a work around. I have not had any trouble loading in source packages since, include Hmisc and Design, acepack and vgam. First, I downloaded and installed the g77 compiler. I use a progam named FINK to find, download and intall g77 (so first I installed FINK then from within FINK I downloaded/installed the g77 compiler.) Do a Google search for FINK, it is easy to find and install. After g77 was installed I had to make a symbolic link so R could find it: ln -s \sw\bin\g77 \usr\bin\g77 (I think I had to make a link to my gcc compiler also) \n -s \sw\bin\gcc \usr\bin\g77 It looks like you already have the g77 compiler from the message. the next mesage you can also remedy by symbolic links. Try ln -s /sw/lib/gcc /usr/local/lib/gcc ln -s /sw/lib/gcc/powerpc-apple-darwin7.5.0 \usr\local\lib\gcc\powerpc-apple-darwin6.8 ln -s /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1 \usr\local\lib\gcc\powerpc-apple-darwin6.8\3.4.2 The first directory path in each of the above may be specific to your configuration for gcc. But this did work for me, and if you find the correct location for gcc/ powerpc-apple-darwinX.Y.Z/U.V.W, you should have no trouble either. Good luck. Sincerely Tim Johnson Adjunct Asst. Professor University of Michigan --- Marco Chiarandini, Fachgebiet Intellektik, Fachbereich Informatik, Technische Universität Darmstadt, Hochschulstraße 10, D-64289 Darmstadt - Germany, Office: S2/02 Raum E317 Tel: +49.(0)6151.166802 Fax: +49.(0)6151.165326 email: [EMAIL PROTECTED] web page: http://www.intellektik.informatik.tu-darmstadt.de/~machud __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] package installation problems
PLEASE do read the documentation. See rw-FAQ Q3.1. On Wed, 5 Nov 2003, allan clark wrote: I have tried to install some of the packages from the CRAN packages section. I am running a windows system. I did the following: (for example...) 1.downloaded the zip file (mgcv_0.9-5.tar) from http://cran.r-project.org/src/contrib/PACKAGES.html#sm That is not a zip file, and you seem to be confusing mgcv and sm: mgcv comes with R so you don't need to install it (although you may now need to reinstall R). 2.and saved it in the library folder of R 3.unzipped the file into the same folder 4.a folder named sm was created 5.from within R I loaded the package by using library(mgcv) Any help would be much appreciated. -- 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 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Re: [R] package installation problems
allan clark wrote: Hi I have tried to install some of the packages from the CRAN packages section. This is a FAQ. See the R for Windows FAQs, Section 3.1: Can I install packages (libraries) in this version? BTW: Simply typing install.packages(mgcv) should do the trick. Uwe Ligges I am running a windows system. I did the following: (for example...) 1.downloaded the zip file (mgcv_0.9-5.tar) from http://cran.r-project.org/src/contrib/PACKAGES.html#sm 2.and saved it in the library folder of R 3.unzipped the file into the same folder 4.a folder named sm was created 5.from within R I loaded the package by using library(mgcv) Any help would be much appreciated. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Re: [R] package installation problems
On Wed, 2003-11-05 at 09:45, allan clark wrote: Hi I have tried to install some of the packages from the CRAN packages section. I am running a windows system. I did the following: (for example...) 1.downloaded the zip file (mgcv_0.9-5.tar) from A .tar file is not a ZIP file. It is a Unix/Linux archive file format. Please read Windows FAQ 3.1 on installing packages under Windows. http://cran.r-project.org/bin/windows/rw-FAQ.html There are several ways to install CRAN packages within the Windows GUI, either via menus or the command line, described there. If you should elect to download the .zip file directly from CRAN at: http://cran.r-project.org/bin/windows/contrib/ be sure that you are in the proper R version specific directory for the Contributed packages. You can then use the RGui menu option to install from a local zip file. HTH, Marc Schwartz __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Re: [R] Package installation when $RHOME is not writable (win)
On Tue, Mar 18, 2003 at 05:40:32PM +1100, Robert King wrote: I'm using R in a student lab with machines running win XP. $RHOME is not writable by the students. How do I set this up so that they can install packages? Thanks, Robert. Robert King, Statistics, School of Mathematical Physical Sciences, University of Newcastle, Australia Room V133 ph +61 2 4921 5548 [EMAIL PROTECTED] http://maths.newcastle.edu.au/~rking/ __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help I am not very familiar with the windows version, but on unices this can be done without any problem. Try '?install.packages' and check the parameter 'lib' (or 'instlib') Hopin' it helps, Laurent -- -- currently at the National Yang-Ming University in Taipei, Taiwan -- Laurent Gautier CBS, Building 208, DTU PhD. StudentDK-2800 Lyngby,Denmark tel: +45 45 25 24 89http://www.cbs.dtu.dk/laurent __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Re: [R] Package installation when $RHOME is not writable (win)
Hi, I think this is covered in R for Windows FAQ in Section 2.11 and 2.12 (http://cran.r-project.org/bin/windows/contrib/rw-FAQ.html) On Tue, 18 Mar 2003, Robert King wrote: Date: Tue, 18 Mar 2003 17:40:32 +1100 (EST) From: Robert King [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [R] Package installation when $RHOME is not writable (win) I'm using R in a student lab with machines running win XP. $RHOME is not writable by the students. How do I set this up so that they can install packages? Thanks, Robert. Robert King, Statistics, School of Mathematical Physical Sciences, University of Newcastle, Australia Room V133 ph +61 2 4921 5548 [EMAIL PROTECTED] http://maths.newcastle.edu.au/~rking/ __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- Cheers, Kevin -- /* Time is the greatest teacher, unfortunately it kills its students */ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475 (City) x88480 (Tamaki) __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help