Hi! After unziping the CRAN file e1071.zip on my Win95 library directory, I start R and type>library(e1071)After that, help commands of the e1071 functions work (i.e., help(read.pnm), BUT some functions themselves are not available:> read.pnmError: Object "read.pnm" not found I've looked at the file library/R/e1071 with an ascii editor and it seems like the functions there are not all the ones listed in the help for e1071. Indeed, after listing the available functions:> search()[1] ".GlobalEnv" "package:e1071" "package:ctest" "Autoloads" [5] "package:base"> objects(pos=2)and comparing to the ones listed in library/e1071/help/AnIndex, I've found that the missing ones are: channel.pnm Mvnorm plot.clobj pnm read.pnm write.pgm As it is often the case, the missing ones are the ones I need... I've checked that this is not a downloading problem, the CRAN file: http://cran.r-project.org/bin/windows/contrib/e1071.zip is identical to the one I have on my disk. Maybe a problem at compiling for win* and/or packing the e1071.zip file? Any solution? Thanks Agus Dr. Agustin Lobo Instituto de Ciencias de la Tierra (CSIC) Lluis Sole Sabaris s/n 08028 Barcelona SPAIN tel 34 93409 5410 fax 34 93411 0012 alobo at ija.csic.es -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Agustin Lobo wrote:> > Hi! > > After unziping the CRAN file e1071.zip > on my Win95 library directory, I start R and > type > > >library(e1071) > > After that, help commands of the e1071 > functions work (i.e., help(read.pnm), BUT > some functions themselves are not available: > > > read.pnm > Error: Object "read.pnm" not foundIf you have read the readme of e1071, you would have found: "The functions for reading and writing PNM images need the netpbm libraries and header files (which can be downloaded from http://netpbm.sourceforge.net). If netpbm is not found at INSTALL time, support wir reading and writing PNM images is disabled." This seems to be the case in your installation.> I've looked at the file library/R/e1071 with > an ascii editor and it seems like the functions > there are not all the ones listed in the help for > e1071. Indeed, after listing the available functions: > > > search() > [1] ".GlobalEnv" "package:e1071" "package:ctest" "Autoloads" > [5] "package:base" > > > objects(pos=2) > > and comparing to the ones listed in library/e1071/help/AnIndex, > I've found that the missing ones are: > > channel.pnm > Mvnorm > plot.clobj > pnm > read.pnm > write.pgmSome are functions and (as expected) "missing". Some are help topics (and not functions!) with aliases to other functions. E.g. Mvnorm is not a function. In Mvnorm.Rd of the package sources you will find: \name{Mvnorm} \alias{dmvnorm} \alias{rmvnorm}> As it is often the case, the missing ones are the ones I need... > > I've checked that this is not a downloading problem, > the CRAN file: > > http://cran.r-project.org/bin/windows/contrib/e1071.zip > > is identical to the one I have on my disk. > > Maybe a problem at compiling for win* and/or packing the e1071.zip file? > > Any solution?a) Try to compile yourself the netpbm libraries and after that the e1071 package. But I think that won't be very easy. b) Change to another OS. It works fine on many Linux/Unix/Solaris systems, which often have the required libraries and compiler installed. Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
pnm functionality is only included if a pnm library is found, I have one, but it does not work correctly with this package. There is nothing wrong with the archive, which is what you will get if you install e1071 on a machine without pnm support. Please do read the ReadMe there and/or the rw-FAQ. On Wed, 29 Aug 2001, Agustin Lobo wrote:> Hi! > > After unziping the CRAN file e1071.zip > on my Win95 library directory, I start R and > type > > >library(e1071) > > After that, help commands of the e1071 > functions work (i.e., help(read.pnm), BUT > some functions themselves are not available: > > > read.pnm > Error: Object "read.pnm" not found > > > I've looked at the file library/R/e1071 with > an ascii editor and it seems like the functions > there are not all the ones listed in the help for > e1071. Indeed, after listing the available functions: > > > search() > [1] ".GlobalEnv" "package:e1071" "package:ctest" "Autoloads" > [5] "package:base" > > > objects(pos=2) > > and comparing to the ones listed in library/e1071/help/AnIndex, > I've found that the missing ones are: > > channel.pnm > Mvnorm > plot.clobj > pnm > read.pnm > write.pgm > > As it is often the case, the missing ones are the ones I need... > > I've checked that this is not a downloading problem, > the CRAN file: > > http://cran.r-project.org/bin/windows/contrib/e1071.zip > > is identical to the one I have on my disk. > > Maybe a problem at compiling for win* and/or packing the e1071.zip file? > > Any solution?Find a working pnm library and compile it yourself. -- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._