[R] package forecast is not working properly

David Winsemius dwinsemius at comcast.net
Wed Jul 1 19:45:21 CEST 2015



This has been reported once on rhelp and once on StackOverflow and both times the advice to update to R 3.2.1 was effective in removing the difficulty. (You did get a warning.)

R 3.2.1 changed the number of arguments to nchar and this was announced in the NEWS.

-- 
David.
On Jul 1, 2015, at 5:51 AM, Magda Joana Silva wrote:

> Hello all,
> 
> I just installed "forecast" package but I have the following error when I
> try to load the library:
> 
> 
>> library("forecast")
> Loading required package: zoo
> 
> Attaching package: ‘zoo’
> 
> The following objects are masked from ‘package:base’:
> 
>    as.Date, as.Date.numeric
> 
> Loading required package: timeDate
> Error : .onAttach failed in attachNamespace() for 'forecast', details:
>  call: fun(libname, pkgname)
>  error: 4 arguments passed to .Internal(nchar) which requires 3
> In addition: Warning messages:
> 1: package ‘forecast’ was built under R version 3.2.1
> 2: package ‘zoo’ was built under R version 3.2.1
> Error: package or namespace load failed for ‘forecast’
> 
> I am running Windows 7 and the package is in my local library (I don't have
> admin rights).
> 
> I would be very appreciated if someone could help me
> 
> 
> mjs
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list