lattice install (PR#1972)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Mon, 2 Sep 2002 07:59:11 +0100 (BST)


Note the R version (1.3).

grid and lattice have been part of the Windows binary distribution since
1.4.0.  grid depends critically on the R version, so don't change it
unless you know exactly what you are doing.

library() in  1.6.0 will do a lot more checks of the package to be loaded.

On Sun, 1 Sep 2002, Liaw, Andy wrote:

> It *is* package dependency, exactly.  lattice is wholly dependent upon grid,
> so, in short,
> no grid, no lattice.  On windows, I believe the installation of binary
> packages simply unzip the package zip file(s) to the appropriate folder.  No
> checks for dependency until loading time.
>
> To R-devel:  Can package dependencies be checked at installed time, at least
> for source packages?

Nope.  What packages are available depends on the current .libPaths(),
hence can only be known at load time.  There has been a long-term plan
that installing a package would also install its dependencies, but
the dynamic nature of R libraries (the dirs in which packages are
installed) makes this tricky.

>
> Andy
>
> > -----Original Message-----
> > From: robert.king@newcastle.edu.au
> > [mailto:robert.king@newcastle.edu.au]
> > Sent: Sunday, September 01, 2002 10:56 PM
> > To: r-devel@stat.math.ethz.ch
> > Cc: R-bugs@biostat.ku.dk
> > Subject: lattice install (PR#1972)
> >
> >
> > Full_Name: Robert King
> > Version: 1.3
> > OS: windows
> > Submission from: (NULL) (134.148.4.19)
> >
> >
> > This looks like a problem with package dependencies.  Should
> > be sending this to
> > the
> > package author, not r-bugs?
> >
> >
> > An attempt to install lattice from the windows binary runs
> > OK, but attempting to
> > load the library an error occurs:
> >
> > > install.packages("D:/Software/R/lattice.zip", .lib.loc[1],
> > CRAN = NULL)
> > updating HTML package descriptions
> > > library(lattice)
> > Error in parse(file, n, text, prompt) : syntax error on line 2022
> >
> > I then tried installing under linux with R 1.5.1
> >
> > This installed OK, but loading the library gave another error:
> >
> > > library(lattice)
> > Error in library(grid) : There is no package called `grid'
> >
> > Installing grid on linux resulted in lattice loading and
> > working properly
> >
> > Installing grid also fixed the problem on windows.
> >
> >
> >
> > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> > -.-.-.-.-.-.-.-.-
> > r-devel 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-devel-request@stat.math.ethz.ch
> > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> > _._._._._._._._._
> >
>
> ------------------------------------------------------------------------------
> Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.
>
> ==============================================================================
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-devel 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-devel-request@stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley@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-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._