Displaying 20 results from an estimated 4000 matches similar to: "cdf of the standard normal distribution"
2003 Feb 11
3
Problems with Rcmd check on Win 2000 & rw1062
When I run Rcmd check on a package on my Windows 2000 machine, I get a
series of error messages like the following:
* checking generic/method consistency ...c:\DOCUME~1\R5018~1.WOO\LOCALS~1\Temp/R
utils138414013: cannot open c:DOCUME~1R5018~1.WOOLOCALS~1Temp/Rin138408157: no s
uch file
It looks as if a Windows style path to the temp directory is not being interpreted correctly, with backslashes
2002 Jan 15
2
returned values of glim() in S PLus and glm() in R
Dear Experts,
In glim() of S Plus, one of the returned values is "var", the estimated
variance matrix of coefficients. However, in glm() of R (there is no
glim() in R), "var" is not one of the returned values. Anyone know what
could I get the varience matrix of coefficients in glm() in R?
As a novice in R and S+, I'd appreciate your help
Sincerely,
Charlie Liu
2001 Jul 31
4
nlme: bug in getCovariateFormula (PR#1038)
I found that predict.gnls failed with a wierd error message about a
non-numeric argument to a binary vector in one of three nearly identical
uses.
Error in Inh/Ki : non-numeric argument to binary operator
(Inh and Ki are arguments to the function used in the formula for the
object whose predictions were requested).
It turns out that the problem is in getCovariateFormula().
The final line in
2002 Jan 23
4
driving R from Python (calldll?)
Sam Rushing's Python extension 'calldll' will supposedly give me access
to any DLL,
and presumably R.DLL in particular, from Python.  I have no experience
manipulating DLLs as
yet.  I am learning Python.  I can't find any simple step-by-step
instructions on how
to get done what I want to do.  Does anyone have experience with this?
Is there a
better way?  Of course, one can use
2002 Aug 29
8
lme() with known level-one variances
Greetings,
I have a meta-analysis problem in which I have fixed effects
regression coefficients (and estimated standard errors) from identical
models fit to different data sets.  I would like to use these results
to create pooled estimated regression coefficients and estimated
standard errors for these pooled coefficients.  In particular, I would
like to estimate the model
\beta_{i} = \mu +
2003 Jan 14
1
How to change the label position in axis() ?
Dear R People,
I'm working on a plot function to produce the graph shown below. One of
the features my supervisor does not like is that the labels in the Y-
axix are shown vertically. Is there a way to change that to horizontally
?
This is the axix() function I used  :
axis(2,at=seq(nstrat),labels=snames)
The labels (snames)  are: SEV1:HU:C, SEV1:MU:C, SEV1:MU:L, SEV1:RT:C
and SEV1:RT:L,
2002 Jun 20
1
Questions on Instalation of SJava Package to R1.5.0
Dear Expects,
I tried to install the SJava package to the Library subdirectory of my
R1.5.0. However, when I tried it according to the instructions from
http://www.omegahat.org/RSJava/, I got the following error messages:
library(SJava)
Error in .Defunct() : `.Alias' is defunct.
See ?Defunct.
>.JavaInit()
Error: couldn't find function ".JavaInit"
I downloaded SJavaWin
2001 Mar 08
2
surprising behavior of match.arg() (PR#872)
If a function needs to be passed as an argument to another function,
default arguments to the function being passed are lost.  Consider this
example:
fun1 <- function(x, A=c("power","constant")) {
  arg <- match.arg(A)
  cat(paste("A is:",paste(A,collapse=", "),"\narg is:",arg,"\n"))
  cat("formals:\n")
  print(formals())
2001 Dec 28
1
bug in the new version R1040
Hi,
I just downloaded the latest version of R - 1040. I'm doing the project
of converting CATREG - a statistical software writen in S Plus to R.
However, when I copied my R codes to the 1040 bin directory and resource
my codes, I got the following error message, this never happened in my
1030 or 1010 versions of R. Anyone one know what's wrong with 1040?
THanks
CHarlie Liu
EPA/ECO
2000 Oct 25
3
.Alias
Probably I've just misread the documentation, but I don't understand the
behavior of .Alias.
Consider this (on R-1.1.1, both Windows and SGI):
> tmp <- matrix(nrow=3,ncol=2)
> new <- .Alias(tmp)
> new[1,1] <- 1
> tmp
     [,1] [,2]
[1,]   NA   NA
[2,]   NA   NA
[3,]   NA   NA
> new
     [,1] [,2]
[1,]    1   NA
[2,]   NA   NA
[3,]   NA   NA
I expected tmp[1,1] to
2001 Dec 13
3
R-1.4.0: how to use getSymbolInfo()?
I have a package that solves systems of ordinary differential equations
coded as an R function (odesolve, on CRAN).  The function is passed to R
code, and c and Fortran code called by it uses lang4() and eval() to
evaluate the R function inside a compiled c function to use in a
compiled ODE solver.  This works quite well, but can be slow.
I'd like to be able to supply the name of a compiled
2001 Mar 20
2
Are sockets supported on Irix?
When I try to open a server socket on the system setup listed below, I get
the following error:
> a <- make.socket(port=8091,server=TRUE)
Error in make.socket(port = 8091, server = TRUE) :
        sockets are not available on this system
I just wanted to make sure that sockets were generally available for this
platform (or, perhaps, I need to upgrade to 1.2.2 on this system), before I
got
2001 Sep 21
2
memory usage
Does the following indicate that I have a memory leak?
> gc(TRUE)
Garbage collection 22891 = 21012+1557+322 (level 2) ...
483257 cons cells free (59%)
11.0 Mbytes of heap free (82%)
         used (Mb) gc trigger (Mb)
Ncells 334906  9.0     818163 21.9
Vcells 309342  2.4    1746173 13.4
> memory.size()/1024/1024 ## in MB
[1] 643.8978
> sum(sapply(ls(all.names=TRUE),object.size))
[1] 1776
2024 Sep 05
1
BUG: atan(1i) / 5 = NaN+Infi ?
> complex(real = 0, imaginary = Inf)
[1] 0+Infi
> Inf*1i
[1] NaN+Infi
>> complex(real = 0, imaginary = Inf)/5
[1] NaN+Infi
See the Note in ?complex for the explanation, I think.  Duncan can correct
if I'm wrong.
-- Bert
On Thu, Sep 5, 2024 at 3:20?PM Leo Mada <leo.mada at syonic.eu> wrote:
> Dear Bert,
>
> These behave like real divisions/multiplications:
>
2024 Sep 05
1
BUG: atan(1i) / 5 = NaN+Infi ?
Dear Bert,
These behave like real divisions/multiplications:
complex(re=Inf, im = Inf) * 5
# Inf+Infi
complex(re=-Inf, im = Inf) * 5
# -Inf+Infi
The real division / multiplication should be faster and also is well behaved. I was expecting R to do the real division/multiplication on a complex number. Which R actually does for these very particular cases; but not when only Im(x) is Inf.
2024 Sep 05
2
BUG: atan(1i) / 5 = NaN+Infi ?
atan(1i) -> 0 + Inf i
complex(1/5) -> 0.2 + 0i
atan(1i) -> (0 + Inf i) * (0.2 + 0i)
-> 0*0.2 + 0*0i + Inf i * 0.2 + Inf i * 0i
infinity times zero is undefined
-> 0 + 0i + Inf i + NaN * i^2
-> 0 + 0i + Inf i - NaN
-> NaN + Inf i
I am not sure how complex arithmetic could arrive at another answer.
I advise against messing with infinities... use atan2() if you don't
2002 Jun 04
4
par(xaxp)
I think this is a bug; at least this behavior is not documented in plot
or plot.default.
plot.default resets xaxp, and leaves xaxp reset when it exits:
par(xaxp=c(0,1,4))
print(par("xaxp"))
plot(c(0,1),c(0.2,0.3))
print(par("xaxp"))
R. Woodrow Setzer, Jr.                                            Phone:
(919) 541-0128
Experimental Toxicology Division                      
2024 Sep 05
2
BUG: atan(1i) / 5 = NaN+Infi ?
Perhaps
> Inf*1i
[1] NaN+Infi
clarifies why it is *not* a bug.
(Boy, did that jog some long dusty math memories :-)  )
-- Bert
On Thu, Sep 5, 2024 at 2:48?PM Duncan Murdoch <murdoch.duncan at gmail.com>
wrote:
> On 2024-09-05 4:23 p.m., Leo Mada via R-help wrote:
> > Dear R Users,
> >
> > Is this desired behaviour?
> > I presume it's a bug.
> >
2024 Sep 05
3
BUG: atan(1i) / 5 = NaN+Infi ?
On 2024-09-05 4:23 p.m., Leo Mada via R-help wrote:
> Dear R Users,
> 
> Is this desired behaviour?
> I presume it's a bug.
> 
> atan(1i)
> # 0+Infi
> 
> tan(atan(1i))
> # 0+1i
> 
> atan(1i) / 5
> # NaN+Infi
There's no need to involve atan() and tan() in this:
 > (0+Inf*1i)/5
[1] NaN+Infi
Why do you think this is a bug?
Duncan Murdoch
2002 Jan 09
1
Difference in Cat(...) function between S Plus and R ?
Dear All,
THis is my "data.char$excluded" object and I want to show its content in
my output screen.
> data.char$excluded
$names
[1] "Species" "Target"  "Sex"
[[2]]
[1] "DG"
[[3]]
[1] "R"
[[4]]
[1] "M"
>
When I run cat() in S Plus, I got:
> cat(data.char$excluded, "\n")
c("Species",