Displaying 20 results from an estimated 90000 matches similar to: "RE: Approved"
2001 Aug 27
1
Wierd problem comparing numeric values and list using == (PR#1076)
Peter Dalgaard BSA wrote:
>
> gregory_r_warnes@groton.pfizer.com writes:
>
> > Under R 1.3.0 on Solaris and Windows NT there seems to be a bug in == when
> > applied to elements of a list, particularly when one of the elements is of
> > mode integer:
> >
> > > list(1) == list(1)
> > [1] FALSE
> > > 1 == list(1)
> >
2002 Feb 28
1
How to turn off the beep made by locator()?
Hi,
[I'm Using redhat linux 7.1 with R-1.4.1 rpms.]
Last summer, Henrik Bengtsson wrote to R-help:
> Is there a way to turn of the (annoying) beep that occurs when one calls the
> locator() command and clicks the mouse. Try
>
> plot(0)
> locator(n=10)
>
> I am running Rterm on WindowsMe/Cygwin bash and I don't know if this is the
> case on other platforms.
2000 Jul 25
2
number of parameters of a function.
Is there a way to programmatically determine how many arguments a function
accepts? In S, one can compute this as
length(theFunction) - 1
and determine the parameter names as
names(theFunction)
due to the representation of functions.
(Just in case anyone is thinking of nargs(), that is just for
particular calls and does not concern itself with the function
definition.)
2001 Aug 27
1
is.environment, as.environment, and NULL
The r-devel (1.4) code has C implementations now of the class and
class<- functions in package methods, and also of as.environment.
The last brings up a question (it shows up in the isas-tests test
suite).
as.environment(NULL) is NULL. Seems like it has to be, since NULL is
the environment associated with package:base.
But is.environment(NULL) is FALSE, which is also fairly natural, if we
2002 Mar 14
4
KDE frontend (PR#1384)
Full_Name: Egon Willighagen
Version: 1.4.x
OS: Linux/Solaris
Submission from: (NULL) (131.174.179.30)
I would like to have an gui for KDE (like gnome).
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2000 Jun 26
2
nargs() inside "[.myclass"
I am writing a function to work with class I am defining. I have a question
about using nargs() inside of parentheses function. nargs() shows the same
for supplying 1 argument, or no arguments at all. Here is a small example:
> "[.myclass"<-function(x,...) print(nargs()-1)
> x<-c(1,2,3)
> class(x)<-"myclass"
> x[]
[1] 1
> x[1]
[1] 1
> x[1,2]
[1] 2
2003 Oct 16
4
data() misbehaving inside a function
Calls of the form data(package = pkg) inside a function
incorrectly fail ("pkg" is a local variable). For instance,
foo <- function(pkg) data(package = pkg)
foo("base")
Error in .find.package(package, lib.loc, verbose = verbose) :
none of the packages were found
## workaround -- force argument "package" to be an expression
## (not a
2000 Nov 20
2
precision, incorrect(?) tapply() NA's
Hi,
Summary:
I ran into some unexpected behavior in approx() and tapply()
that introduced NA's in "clean" data due to (?) numerical accuracy/round off.
The culprit seems to be in match() that coerces it's arguments to character,
loosing precision in the process.
[R development version 1.2.0, 08 Nov 2000, on Linux]
Example:
> r
> [1] 0.6931472 0.6931472 0.6931472
2000 Nov 20
2
precision, incorrect(?) tapply() NA's
Hi,
Summary:
I ran into some unexpected behavior in approx() and tapply()
that introduced NA's in "clean" data due to (?) numerical accuracy/round off.
The culprit seems to be in match() that coerces it's arguments to character,
loosing precision in the process.
[R development version 1.2.0, 08 Nov 2000, on Linux]
Example:
> r
> [1] 0.6931472 0.6931472 0.6931472
2004 Aug 19
2
ROracle and vector elements
Hi there!
Is ROracle available for Windows, please?
I found a download site, but it's really for UNIX/Linux.
Here is a "thought question", please: Why do the vector elements start at
location 1 rather than zero, as C does?
Thanks in advance!
R Version 1.9.1 Windows
Sincerely,
Laura Holt
mailto: lauraholt_983 at hotmail.com
1999 Dec 03
2
[[ substitution (PR#358)
Full_Name: Clive
Version: 0.90.0
OS: Linux (RH6.0)
Submission from: (NULL) (135.104.13.164)
Probably known, but...
> z <- vector("list",4)
> z[[1]] <- function(x)x
Error in "[[<-"(*tmp*, 1, value = function(x) x) : incompatible types
(works fine in S4...)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list --
1999 Nov 11
6
Compilation of R under Mandrake Linux 6.1 (helios)
I've just installed Mandrake Linux, then compiled R-0.65.1 .
Whether because I omitted some necessary items when I selected
software for installion, or because they anyway needed to be
loaded afterwards, I found it necessary to load the following
packages in order to compile R-0.65.1
pgcc-g77-1.1.3-3mdk.i586.rpm (Fortran g77 compiler)
XFree66-devel-3.3.5-3mdk.i586.rpm (X.h etc
2000 Jun 21
2
Porting S library which use "graphics.h" and "device.h"
Hello.
I am porting Splus library to R, which use S "graphics.h" and "device.h",
the library makes a number of high resolution plots using these.
Does anyone have an experience with similar porting? I don't really want to
rewrite all C code, so any recommendation would be helpful.
Thanks.
---------------------------
Vadim Kutsyy
vadim at kutsyy.com
2001 May 03
1
dataframe behavior
Windows98, Emacs20.7, ESS5.1.18
I recently constructing a data.frame "belle" that now does not spew its
contents when I type the name on the command line (see errors below). It
will only do so if I specify columns. Incidently, plot(belle) displays the
pairs plot of all variables.
> belle
Error in as.data.frame.default(x[[i]], optional = TRUE) :
can't coerce array into a
1999 Jun 14
4
definition of R_problem_buf in S.h (PR#210)
Full_Name: Thomas Vogels
Version: 0.64.1
OS: AIX 4.2
Submission from: (NULL) (198.133.22.70)
R_problem_buf is defined, not just declared, in S.h:
#define R_PROBLEM_BUFSIZE 4096
char R_problem_buf[R_PROBLEM_BUFSIZE];
This is bad since every time S.h is included this buffer is defined. The
linker
will eventually complain about multiple definitions of this symbol.
Solution: declare
2002 Feb 21
2
help understanding box plots
Another naive stats question. I'm trying to better understand what
boxplots are telling me.
I think what I see is the median and the boundaries of the 1st and 3rd
quartiles. The whiskers represent the range of the data unless there
are points which are outside "range" (default: 1.5) times the distance
from the median to that quartile. Is that right? I've read the
2000 Jan 24
1
Help compiling R
Hi,
I have just downloaded R (v. 0.90.1) and am trying to compile it on a Sun/UNIX
system running Solaris 2.6. Needless to say, I have run into a problem, and
cannot find any info on it through the CRAN site, or searching the old
discussion files.
When I do the "make', after configuring, I get the message, "The current
directory must be set to the RSI directory. Change the
1999 Jan 13
4
make docs
I'm having trouble with make at the documentation. (R 0.63.2 on Solaris)
Paul Gilbert
______
g77 -O2 -fPIC -c kmns.f -o kmns.o
ld -G -o mva.so dblcen.o hclust.o kmns.o
mkdir ../../../../library/mva/libs
mkdir ../../../library/stepfun
mkdir ../../../library/stepfun/R
Building system startup profile
You should `make docs' now ...
make: Fatal error: Don't know how to make target
2003 Nov 18
4
address for bug reports? (PR#5171)
bug.report() tells me to email to r-bugs@r-project.org, whereas
the Web site http://www.r-project.org/ points me to
r-bugs@biostat.ku.dk.
Which should I believe?
Simon Fear
Senior Statistician
Syne qua non Ltd
Tel: +44 (0) 1379 644449
Fax: +44 (0) 1379 644445
email: Simon.Fear@synequanon.com
web: http://www.synequanon.com
Number of attachments included with this message: 0
This
2003 Apr 25
4
Kinderman-Ramage (PR#2846)
Hi,
Our department has detected a bug in the implementation of the
Kinderman-Ramage generator for normal random variates in version
1.7.0, which can be seen from the below R session.
(Consecutive calls for chisq.test(...) always gives p-values very
close to 0.)
We have already encountered this bug in version 1.6.2
The error is in file
R-1.7.0/src/nmath/snorm.c
Here is a patch for this file to