Hi, I have difficulty in installing package "snow" from CRAN. Somehow, this package is not shown up in the available package list when I tried to use the GUI interface. So I have to go to CRAN to download the source file: snow_0.2-1.tar.gz. Then I tried to install it using the following command:> install.packages(repos=NULL, pkgs='C:\Documents andSettings\Desktop\snow_0.2-1.tar.gz', type='source', lib = 'c:/program files/r/rw2010/library/') Warning message: installation of package 'C:Documents and Settingsyzhang24Desktopsnow_0.2-1.tar.gz' had non-zero exit status in: install.packages(repos = NULL, pkgs "C:Documents and Settingsyzhang24Desktopsnow_0.2-1.tar.gz", What's the problem here, and how should I handle it? Thanks Steve
I think for 'snow' you need to download the source and build it yourself. I assume you are on Windows (you didn't say!). 'snow' depends on external programs so it would seem unwise to have a binary package on CRAN. -roger Steve Adams wrote:> Hi, > > I have difficulty in installing package "snow" from > CRAN. Somehow, this package is not shown up in the > available package list when I tried to use the GUI > interface. So I have to go to CRAN to download the > source file: snow_0.2-1.tar.gz. Then I tried to > install it using the following command: > > >>install.packages(repos=NULL, pkgs='C:\Documents and > > Settings\Desktop\snow_0.2-1.tar.gz', type='source', > lib = 'c:/program files/r/rw2010/library/') > > Warning message: > installation of package 'C:Documents and > Settingsyzhang24Desktopsnow_0.2-1.tar.gz' had non-zero > exit status in: install.packages(repos = NULL, pkgs > "C:Documents and > Settingsyzhang24Desktopsnow_0.2-1.tar.gz", > > What's the problem here, and how should I handle it? > > Thanks > > Steve > > ______________________________________________ > R-help at 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 >-- Roger D. Peng http://www.biostat.jhsph.edu/~rpeng/
Please do read the FAQ Q7.8. Once you have followed that, it should install from the sources (it does for me). However, to make it work you need other things which are non-trivial to get working on Windows: see http://www.stat.uiowa.edu/~luke/R/cluster/cluster.html for the lower-level interfaces. I think snow over PVM has been reported to work under Windows, but I don't know about the others. There is no binary version of the package, as testing that would be tedious at best. On Wed, 8 Jun 2005, Steve Adams wrote:> Hi, > > I have difficulty in installing package "snow" from > CRAN. Somehow, this package is not shown up in the > available package list when I tried to use the GUI > interface. So I have to go to CRAN to download the > source file: snow_0.2-1.tar.gz. Then I tried to > install it using the following command: > >> install.packages(repos=NULL, pkgs='C:\Documents and > Settings\Desktop\snow_0.2-1.tar.gz', type='source', > lib = 'c:/program files/r/rw2010/library/') > > Warning message: > installation of package 'C:Documents and > Settingsyzhang24Desktopsnow_0.2-1.tar.gz' had non-zero > exit status in: install.packages(repos = NULL, pkgs > "C:Documents and > Settingsyzhang24Desktopsnow_0.2-1.tar.gz", > > What's the problem here, and how should I handle it? > > Thanks > > Steve > > ______________________________________________ > R-help at 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 >-- Brian D. Ripley, ripley at stats.ox.ac.uk 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, UK Fax: +44 1865 272595
Le 08.06.2005 20:51, Steve Adams a ??crit :>Hi, > >I have difficulty in installing package "snow" from >CRAN. Somehow, this package is not shown up in the >available package list when I tried to use the GUI >interface. So I have to go to CRAN to download the >source file: snow_0.2-1.tar.gz. Then I tried to >install it using the following command: > > > >>install.packages(repos=NULL, pkgs='C:\Documents and >> >> >Settings\Desktop\snow_0.2-1.tar.gz', type='source', >lib = 'c:/program files/r/rw2010/library/') > > >Double backslash are required here, as in : install.packages(repos=NULL, pkgs='C:\\Documents and Settings\\Desktop\\snow_0.2-1.tar.gz', type='source',lib = 'c:/program files/r/rw2010/library/') (but the tools are required if you want to build from source on windows, so that may not solve the problem) Romain>Warning message: >installation of package 'C:Documents and >Settingsyzhang24Desktopsnow_0.2-1.tar.gz' had non-zero >exit status in: install.packages(repos = NULL, pkgs >"C:Documents and >Settingsyzhang24Desktopsnow_0.2-1.tar.gz", > >What's the problem here, and how should I handle it? > >Thanks > >Steve > >-- visit the R Graph Gallery : http://addictedtor.free.fr/graphiques ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~ Romain FRANCOIS - http://addictedtor.free.fr ~~~~~~ ~~~~ Etudiant ISUP - CS3 - Industrie et Services ~~~~ ~~ http://www.isup.cicrp.jussieu.fr/ ~~ ~~~~ Stagiaire INRIA Futurs - Equipe SELECT ~~~~ ~~~~~~ http://www.inria.fr/recherche/equipes/select.fr.html ~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~