From p.dalgaard@biostat.ku.dk  Wed Nov 26 21:46:45 1997
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 26 Nov 1997 22:46:45 +0100
Subject: R-alpha:  Latin-1 characters (3)
In-Reply-To: Ross Ihaka's message of Thu, 27 Nov 1997 08:35:05 +1300 (NZDT)
References: <199711261935.IAA09097@stat1.stat.auckland.ac.nz>
Message-ID: <x2pvnn2ure.fsf@blueberry.kubism.ku.dk>

Ross Ihaka <ihaka@stat.auckland.ac.nz> writes:

>=20
> =09>> ------------------------
> =09>> R & R, any comments?
> =09>> ------------------------
>=20
> At present the parser makes the decision on what characters can go int=
o
> symbol names based on isalpha(c).  If someone will send me a function =
-
> say isidchar(c) which returns 1 for characters which can be in
> identifiers and 0 otherwise, I will replace the current test with that=
.
>=20
> =09Ross

Ahaaa... So the "oscillatory behaviour" is just me shifting between
machines with proper locale configuration and machines without it! I
think that isalpha() is actually the way to go. People just have to
get their locales right. Here's what's in isalpha(c)=3D=3D1 for the da_D=
K
locale:

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz=AD
=C0=C1=C2=C3=C4=C5=C6=C7=C8=C9=CA=CB=CC=CD=CE=CF=D0=D1=D2=D3=D4=D5=D6=D8=
=D9=DA=DB=DC=DD=DE=DF=E0=E1=E2=E3=E4=E5=E6=E7=E8=E9=EA=EB=EC=ED=EE=EF=F0=
=F1=F2=F3=F4=F5=F6=F8=F9=FA=FB=FC=FD=FE=FF

The hyphen following 'z' is actually 0xad (soft hyphen).

--=20
   O__  ---- Peter Dalgaard             Blegdamsvej 3 =20
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N  =20
 (*) \(*) -- 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


R-alpha: Latin-1 characters (3)
Peter Dalgaard BSA