R-beta: Problem with functions using sub and gsub

gordon.harrington@uni.edu gordon.harrington at uni.edu
Sat Jun 27 00:58:12 CEST 1998


Previously I had problems with data(foo) and Gass and I had problems with
help(). His diagnostic was "POSIX regular expressions not available" and mine
was "invalid regular expression". Martin Maechler has no problems with Solaris
2.5 and suggested a regular expression library was needed, e.g., regex-x.xx.

Solaris 2.4 has regex.o in /usr/ccs/libgen.a and regex.h in /usr/include.
configure finds regcomp and make does not show any errors compiling and
loading. Hence their is no indication that R cannot find the appropriate
library. As an attempted solution, I tried downloading GNU regex-0.12 and
putting regex.o in src/main so that it would be available first when ld
searched for links. (character.c in main seems to be the only function calling
regcomp.) It does not alter the problem. (I am using gcc since the sun native C
compiler does not do well by R.)

Any suggestions?

gordon


 



Gordon M. Harrington		Mail:	3720 Village Place, #6308
Professor Emeritus			Waterloo, IA 50702-5848
University of Northern Iowa 	Phone:	319-291-8535
gordon.harrington at uni.edu	Fax:	319-291-8324

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list