[R] Missing functions in package e1071(Win*)

Agustin Lobo alobo at ija.csic.es
Thu Aug 30 08:58:01 CEST 2001


Thanks.

According to your message and the one from Uwe Ligges,
the problem is that the e1071.zip
file comes from a compilation and installation on
a win9* machine with no pnm support (something that
the user cannot know), and even if I had
had the proper libraries the e1071 pnm-related functions
would not have been available in my system. For that,
I would need to compile myself on the win9* machine with
pnm libraries previously installed, which is not an easy
task. Correct?
Perhaps an specific ReadmeWin file in the e10171.zip file
could, in the future, include a note pointing that the binary package
lacks the pnm-related functions.

Anyway, as it seems that no other R function would display a (m,n,3)
array as a RGB color image, I've made a function for it. I'd
like to send it to the list so that others can use it and, hopefully,
suggest improvements. If this is within the scope of this list,
I would send it in another message so that it gets a different
subject field.

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


On Wed, 29 Aug 2001, Prof Brian Ripley wrote:

> 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list