From p.dalgaard@biostat.ku.dk  Mon May 18 15:52:04 1998
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 18 May 1998 16:52:04 +0200
Subject: Another compatibility problem S => R
In-Reply-To: palme@uni-wuppertal.de's message of Mon, 18 May 1998 16:36:15 +0200 (MDT)
References: <199805181436.QAA13326@wrin27.urz.uni-wuppertal.de>
Message-ID: <x2emxrbpij.fsf@blueberry.kubism.ku.dk>

palme@uni-wuppertal.de (Hubert Palme) writes:

> 
> Hello,
> 
> after the line 
> 
>   cat("%",as.character(as.name(match.call())), "\n%\n", file=fi, append=T)
> 
> R complains about
> 
>   Error in as.name(x) : character argument required

Hmm. The Splus help page says:

       as.name coerces x to an object of mode  "name".   This  is
       useful when x is of mode "character".

The whole construction seems to be doing the same as
deparse(match.call()), which works in *both* languages.

I don't think we want to become compatible in this case.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Another compatibility problem S => R
Peter Dalgaard BSA