[prev in list] [next in list] [prev in thread] [next in thread]
List: r-devel
Subject: Re: R-alpha: Latin-1 characters (3)
From: Peter Dalgaard BSA <p.dalgaard () biostat ! ku ! dk>
Date: 1997-11-26 21:46:45
[Download RAW message or body]
Ross Ihaka <ihaka@stat.auckland.ac.nz> writes:
>
> >> ------------------------
> >> R & R, any comments?
> >> ------------------------
>
> At present the parser makes the decision on what characters can go into
> 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.
>
> Ross
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)==1 for the da_DK
locale:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
ÀÁ ÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
The hyphen following 'z' is actually 0xad (soft hyphen).
--
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic