[R] .Alias

About this list Date view Thread view Subject view Author view Other groups

Subject: [R] .Alias
Setzer.Woodrow@epamail.epa.gov
Date: Thu 26 Oct 2000 - 06:17:25 EST


Message-id: <85256983.006EC394.00@EPAHUB2.RTP.EPA.GOV>

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 be 1.

R. Woodrow Setzer, Jr. Phone: (919)
541-0128
Experimental Toxicology Division Fax: (919) 541-5394
Pharmacokinetics Branch
NHEERL MD-55; US EPA; RTP, NC 27711

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Thu 01 Feb 2001 - 16:14:29 EST