When trying grep(), I get the following:> grep("[a-z]", letters)Error in grep(pattern, x, ignore.case, extended, value) : POSIX regular expressions not available I can't find any pointer in the installation kit. How can I configure R to make it "avaliable"? I run R in an Irix 5.3 system. Thanks in advance! -- =====================================================================Hubert Palme Bergische Universitaet-Gesamthochschule Wuppertal Computing Center D-42097 Wuppertal Email: palme at uni-wuppertal.de (Germany) http://www.hrz.uni-wuppertal.de/hrz/personen/h_palme.html -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Martin Maechler
1998-Mar-12 16:46 UTC
R-beta: POSIX regular expressions not available [INSTALLATION!]
>>>>> "Hubert" == Hubert Palme <palme at uni-wuppertal.de> writes:Hubert> When trying grep(), I get the following: >> grep("[a-z]", letters) Hubert> Error in grep(pattern, x, ignore.case, extended, value) : POSIX Hubert> regular expressions not available Hubert> I can't find any pointer in the installation kit. How can I Hubert> configure R to make it "avaliable"? Hubert> I run R in an Irix 5.3 system. Half an answer: If POSIX regular expression is used, depends on #ifdef HAVE_REGCOMP (in src/main/character.c) This is defined during installation when './configure' is run (./configure writes this result into src/include/Platform.h ). In the many output lines of configure, you have probably seen ----------------------- -- checking for regcomp... no ----------------------- ## where you'd rather would want to see "yes". ------------------ A short (not so helpful) answer is ``Get a better C compiler + libraries''. Do you have GNU's cc (gcc) 2.7.1 or newer? [type "gcc -v"] Sorry that I don't know more. Martin Maechler <maechler at stat.math.ethz.ch> <>< Seminar fuer Statistik, ETH-Zentrum SOL G1; Sonneggstr.33 ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND phone: x-41-1-632-3408 fax: ...-1086 http://www.stat.math.ethz.ch/~maechler/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._