[R] forecasting package installation errors

Dan Robb dan at trdlnk.com
Wed Nov 14 16:51:53 CET 2007


R gurus,

I've exhausted my search of online help.  This is my last resort.

We're running R-2.1.1.  I've been told by one of the R users here that 
we cannot upgrade to the lastest version because of some python rpy 
wrapper dependency that hasn't caught up to the latest version of R.  
The software is running on Solaris 10 x86.  Gcc version is 3.4.1.  R is 
installed in /opt/app/R

 > Sys.getlocale()
[1] "/iso_8859_1/C/C/C/C/C"

 > install.packages("forecasting",dependencies=TRUE)
Warning in install.packages("forecasting", dependencies = TRUE) :
argument 'lib' is missing: using /opt/app/R/lib/R/library
trying URL
'http://www.biometrics.mtu.edu/CRAN/src/contrib/forecasting_1.07.tar.gz'
Content type 'application/x-gzip' length 1059921 bytes
opened URL
==================================================
downloaded 1035Kb

* Installing *source* package 'forecast' ...
** libs
gcc -I/opt/app/R-2.1.1/lib/R/include -I/opt/app/include
-D__NO_MATH_INLINES -fPIC -I/opt/app/include -c etscalc.c -o etscalc.o
etscalc.c:8:1: warning: "HUGE" redefined
In file included from etscalc.c:1:
/opt/app/g++lib6/gcc-3.4/lib/gcc/i386-pc-solaris2.10/3.4.1/include/math.h:118:1:
warning: this is the location of the previous definition
gcc -G -L/opt/app/lib -R/opt/app/lib -o forecast.so etscalc.o
-L/opt/app/R-2.1.1/lib/R/lib -lR
** R
** data
** moving datasets to lazyload DB
** preparing package for lazy loading
Error in importIntoEnv(impenv, impnames, ns, impvars) :
object 'simulate' is not exported by 'namespace:stats'
Execution halted
ERROR: lazy loading failed for package 'forecast'
** Removing '/opt/app/R-2.1.1/lib/R/library/forecast'
** Removing '/opt/app/R-2.1.1/lib/R/library/fma'
** Removing '/opt/app/R-2.1.1/lib/R/library/Mcomp'

The downloaded packages are in
/tmp/RtmplNa4PN/downloaded_packages
Warning message:
installation of package 'forecasting' had non-zero exit status in:
install.packages("forecasting", dependencies = TRUE)

Any help would be greatly appreciated.

-Dan

-- 
---
Daniel P. Robb
71 S. Wacker
Suite 1900
Chicago, IL 60606
dan at trdlnk.com
direct: (312) 264-2080
fax: (312) 264-2001



More information about the R-help mailing list