On Wed, 8 Oct 2008, Waichler, Scott R wrote:

I just updated my Redhat EL systems to R-2.7.2, and tried to update my
packages as well.  Lattice is one that failed.  What do I need to do?

Install the R-devel RPM?  (Assuming you installed R from an RPM.)


R version 2.7.2 (2008-08-25)

install.packages("lattice", repos = "http://cran.fhcrc.org/";)
Warning in install.packages("lattice", repos = "http://cran.fhcrc.org/";)
:
 argument 'lib' is missing: using '/usr/lib/R/library'
trying URL 'http://cran.fhcrc.org/src/contrib/lattice_0.17-15.tar.gz'
Content type 'application/x-gzip' length 281977 bytes (275 Kb)
opened URL
==================================================
downloaded 275 Kb

* Installing *source* package 'lattice' ...
** libs
gcc -I/usr/include/R  -I/usr/local/include    -fpic  -O2 -g -std=gnu99
-c init.c -o init.o
init.c:2:15: R.h: No such file or directory
init.c:3:24: Rinternals.h: No such file or directory
init.c:4:28: R_ext/Rdynload.h: No such file or directory
In file included from init.c:6:
threeDplot.h:5:22: Rdefines.h: No such file or directory
In file included from init.c:6:
threeDplot.h:9: error: syntax error before "wireframePanelCalculations"
threeDplot.h:9: error: syntax error before "xArg"
threeDplot.h:15: warning: type defaults to `int' in declaration of
`wireframePanelCalculations'
threeDplot.h:15: warning: data definition has no type or storage class
init.c:8: error: syntax error before "CallEntries"
init.c:8: warning: type defaults to `int' in declaration of
`CallEntries'
init.c:9: warning: braces around scalar initializer
init.c:9: warning: (near initialization for `CallEntries[0]')
init.c:9: warning: initialization makes integer from pointer without a
cast
init.c:9: error: `DL_FUNC' undeclared here (not in a function)
init.c:9: warning: excess elements in scalar initializer
init.c:9: warning: (near initialization for `CallEntries[0]')
init.c:9: warning: excess elements in scalar initializer
init.c:9: warning: (near initialization for `CallEntries[0]')
init.c:10: warning: braces around scalar initializer
init.c:10: warning: (near initialization for `CallEntries[1]')
init.c:10: error: `NULL' undeclared here (not in a function)
init.c:10: error: initializer element is not constant
init.c:10: error: (near initialization for `CallEntries[1]')
init.c:10: warning: excess elements in scalar initializer
init.c:10: warning: (near initialization for `CallEntries[1]')
init.c:10: warning: excess elements in scalar initializer
init.c:10: warning: (near initialization for `CallEntries[1]')
init.c:10: error: initializer element is not constant
init.c:10: error: (near initialization for `CallEntries[1]')
init.c:11: warning: data definition has no type or storage class
init.c:13: error: syntax error before '*' token
init.c: In function `R_init_lattice':
init.c:15: warning: implicit declaration of function
`R_registerRoutines'
init.c:15: error: `dll' undeclared (first use in this function)
init.c:15: error: (Each undeclared identifier is reported only once
init.c:15: error: for each function it appears in.)
init.c:16: warning: implicit declaration of function
`R_useDynamicSymbols'
init.c:16: error: `FALSE' undeclared (first use in this function)
make: *** [init.o] Error 1
ERROR: compilation failed for package 'lattice'
** Removing '/usr/lib/R/library/lattice'
** Restoring previous '/usr/lib/R/library/lattice'

Thanks,
Scott Waichler
Pacific Northwest National Laboratory
[EMAIL PROTECTED]

______________________________________________
R-help@r-project.org 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.


--
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, UK                Fax:  +44 1865 272595

______________________________________________
R-help@r-project.org 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.

Reply via email to