Displaying 20 results from an estimated 6000 matches similar to: "R-beta: Problem with functions using sub and gsub"
1998 Jun 22
1
R-beta: data(foo) - Error in sub(...
R-0.62.1 sparc-sun-solaris2.4:
demo(graphics) stops at:
> data("iris")
Error in sub(pattern, replacement, x, ignore.case, extended) : invalid regular
expression
or these direct entries give:
> data(iris)
Error in sub(pattern, replacement, x, ignore.case, extended) : invalid regular
expression
> > help(iris)
Error in gsub(pattern, replacement, x, ignore.case, extended) :
1998 Jul 02
1
R-beta: Solaris 2.4, R-62.1, and regex
With R-62.1 on Solaris 2.4, configure says the system has regcomp though I do
not know where it is getting that information. The Solaris 2.4 regex and other
regular expression functions are not interchangeable with the GNU regex and
libraries used by sub() and gsub(). Hence it is necessary to acquire the GNU
version and to get it into the load path ahead of the system libraries to load
it rather
1999 Sep 09
1
monitor linearity
demo("graphics") notes that a circle (piechart) is a test of monitor linearity.
With a new monitor on a new linux system with R-0.65.0 I get an ellipse. This
is not a pincushion effect and the major/minor axis ratio is constant over size
and screen location variation. Is this a hardware problem or are there
alternative possible explanations to explore?
Gordon M. Harrington Mail: 3720
1999 Jan 11
1
choosing systems
After many helpful suggestions from many including Brian Ripley, Peter
Dalgaard, Martin Maechler, Douglas Bates, and Tristan Savatier--it is clearly
time to upgrade my system from SPARC-10 Solaris 2.4. Rational choice of
configuration should be based on intended application and perhaps the fact it
is my pension, not my university, which now finances my research.
My most demanding applications
1998 Sep 12
1
R-beta: Sun native compiler SC2.0.1, R-0.62.x
Several multiple definition fatal errors occur compiling R-0.62.2 and more with
0.62.3 using the Sun native compiler SC2.0.1. Earlier versions of R did not
present the problem. It does not occur with gcc.
The problem lies in the SC2.0.1 library in sunmath.h which is not fully ANSI
compliant. The compiler, with appropriate options, compiles non-ANSI usages but
does not recognize alternatives as
1999 Jan 21
0
DONE: Installation of packages?
Dear helpers,
thanks. Installation of R and packages (like integrate) successful done. The
LD_LIBRARY_PATH wasn't set in the correct order: system libs ahead of the compiler
lib.
Cross checks provided by Brian Ripley, Oxford, helped a lot.
Yours
Bodo
gordon.harrington at uni.edu wrote:
> Without tracing the loader system calls and knowing where the functions are
> located I can
1998 Jun 18
3
R-beta: netscape/R interaction
Using netscape 4.03 (or 2.x or 3.x)/ R-0.62.1 with SPARC Solaris 2.4:
when netscape is running for help, graphics in R quit with "Color allocation
error". Closing netscape removes the problem. netscape does not interfere with
other X11 imaging programs including ghostscript and ImageMagick except that it
increases the contrast in my mailer windows slightly.
(netscape does block
1998 Jun 18
0
R-beta: netscape/R interaction [color allocation]
Thanks to Martin Maechler, Douglas Bates, Peter Dalgaard, and Hedderik van Rijn
for pointing out the problem is with the color resource demands of the two
applications and for their suggested possible solutions. A 24 bit monitor would
be ideal and maybe someday I'll have the $$$ to upgrade. "netscape -install"
works with the attendant flashing screen color changes from window to
2001 Jan 31
1
R 1.2.1 - read.table - factors problem...
This _may_ be another example of the "space" problem. Numeric fields
with embedded spaces have often been converted to factors by read.table
(although I confess to not having the latest version). I usually use
tr -d ''\40'' < oldfile > newfile
to remove the spaces and have no problem.
Jim
1997 May 02
0
R-beta: Re: S Compatibility
Ross Ihaka writes:
> Peter Dalgaard writes:
************************
> > What he probably would tell you is that the FSF has a substantial "red
> > tape" procedure for code contributions to ensure that nobody can claim
> > to own parts of the code and thereby block the use of the entire
> > product. You can't put code under GPL if you don't own it,
2009 Jan 21
1
Bug in sub and gsub (PR#13460)
Full_Name: Leon C. Banza
Version: 2.8.1
OS: Windows Vista
Submission from: (NULL) (195.69.243.253)
I believe there is a serious bug in the code for sub and gsub. I do as
following:
gsub("\\", "-", "some\\backslashed\\string")
This ought return "some-backslashed-string", but prints warnings instead:
Error in sub("\\", "",
1999 Jan 20
2
Installation of packages?
Dear r-helpers,
we have installation problems:
Successful installation of R-0.63 base package on Solaris 2.5.1 with the
SunSoft compilers f77, c version 4.2.
We habe problems with the installation of further packages e.g.
integrate from CRAN.
R code works but the shared objects built from fortran code do not find
the appropriate libs with functions like __pow_ii or __epx at runtime.
We tried
1998 Sep 10
2
R-beta: trouble compiling 0.62.3 on SunOS 4.1.4: lgamma conflicts
I've recently tried to get 0.62.3 up on our Suns (4.1.4, using gcc; I'm
also having trouble with a Solaris 2.6 compile but I haven't given up hope
on that one yet) -- the last compile I did was 0.61.1, which worked
smoothly.
Running
./configure --prefix=/usr/local/apps/R/R-0.62.3 [--with-g77]
(tried both with and without g77, eventually get to the same place),
I get a conflict
2018 Feb 14
2
Fleming-Harrington weighted log rank test
Hi all,?
The survdiff() from survival package has an argument "rho" that implements Fleming-Harrington weighted long rank test.?
But according to several sources including "survminer" package (https://cran.r-project.org/web/packages/survminer/vignettes/Specifiying_weights_in_log-rank_comparisons.html), Fleming-Harrington weighted log-rank test should have 2 parameters
2005 Jan 05
3
Tuning string matching
Dear list,
I spent about two hours searching on the message archive, with no avail.
I have a list of people that have to pass an on-line test, but only a fraction
of them do it. Moreover, as they input their names, the resulting string do not
always match the names I have in my database.
I would like to do two things:
1. Match any strings that are 90% the same
Example:
name1 <- "Harry
2018 Feb 15
0
Fleming-Harrington weighted log rank test
> On Feb 13, 2018, at 4:02 PM, array chip via R-help <r-help at r-project.org> wrote:
>
> Hi all,
>
> The survdiff() from survival package has an argument "rho" that implements Fleming-Harrington weighted long rank test.
>
> But according to several sources including "survminer" package
2002 Mar 08
2
Multiple smbd processes per client
We have around 30+ users using one computer (Win2kTS)
So I guess that means one smbd process is handling all 30 users'
requests?
You can watch the smbd process for this machine max out the CPU at times
Is there anyway of getting multiple smbd processes per client/computer
that connects
Thanks,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name:
2018 Feb 15
1
Fleming-Harrington weighted log rank test
> On Feb 14, 2018, at 5:26 PM, David Winsemius <dwinsemius at comcast.net> wrote:
>
>>
>> On Feb 13, 2018, at 4:02 PM, array chip via R-help <r-help at r-project.org> wrote:
>>
>> Hi all,
>>
>> The survdiff() from survival package has an argument "rho" that implements Fleming-Harrington weighted long rank test.
>>
2015 Dec 18
1
Assistance much appreciated
On 2015-12-17 21:37, peter dalgaard wrote:
> As you're dying in an else clause, a previous if () must contain the clue. Unfortunately not necessarily the matching one.
>
> My guess is that your TRE library is broken. The line should have matched the RE "regline" defined as
>
> tre_regcomp(®line, "^[^:]+:[[:blank:]]*", REG_EXTENDED);
> ...and
2009 Aug 24
8
[LLVMdev] Regular Expression lib support
On Aug 23, 2009, at 9:01 PM, Daniel Berlin wrote:
>> 2. Use POSIX regcomp facilities. This implies importing some
>> implementation of this interface, e.g., Windows. On Linux, BSD, etc.
>> we would try to use the platform version if available (and non-
>> buggy).
>
> Don't do it.
> They are ridiculous slow, and posix made some really dumb choices in
>