[R] 7 arguments passed to .Internal(identical) which requires 6

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Apr 11 15:27:27 CEST 2012


On 11/04/2012 14:08, R. Michael Weylandt wrote:
> Well, obviously the interface to .Internal(identical) changed between
> 2.13.x and 2.15 -- as, ?.Internal says: Only true R wizards should
> even consider using this function...
>
> Anyways, find where you use it in your script and then we can help --
> there's not much we can do without seeing the relevant line of code.

It may not be in his code.  What is odd is that R 2.15.0's identical() 
does require 6 arguments, whereas in R >= R-patched it accepts 6 or 7.

So it looks like something has been done under a later version of R, and 
the usual culprit here is an S4-using package which has captured the 
definition of identical() from a later version of R.

Updating to R-patched may solve the problem.

>
> Michael
>
> On Wed, Apr 11, 2012 at 5:58 AM, krtek<marshalfox at mail.ru>  wrote:
>> Hello, I've just installed R-2.15.0 (I've had R 2.13.2 before it and I've
>> deleted everything before I started to install new version).
>>
>> When I've tried to run my script by command "source()" I received this
>> message:
>> Error in source("script.R") :
>>   7 arguments passed to .Internal(identical) which requires 6
>>
>> I know I should delete my $R_HOME but it contain only one string:
>> [1] "C:/PROGRA~1/R/R-215~1.0"
>>
>> I don't know what's happened.
>>
>> Thank you!
>>
>> --
>> View this message in context: http://r.789695.n4.nabble.com/7-arguments-passed-to-Internal-identical-which-requires-6-tp4548460p4548460.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> R-help at 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.
>
> ______________________________________________
> R-help at 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,                  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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list