On 11.04.2012 15:27, Prof Brian Ripley wrote:
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.

I suspect he uses a mixture of R-patched and R-release and / or R-2.13.2 so that internal code and R code in the package does not match anymore, probably because some (outdated?) base package or so is also in an additional library on the search path.

uwe



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<marshal...@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@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@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@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