From saikat@stat.wisc.edu  Mon Nov  1 22:11:09 1999
From: saikat@stat.wisc.edu (Saikat DebRoy)
Date: 01 Nov 1999 16:11:09 -0600
Subject: problem with "[[<-"
Message-ID: <qxpzowx3ls2.fsf@ludwig.stat.wisc.edu>

This works in 0.65.1 but not in 0.90.0.

> form <- ~ a | b
> form[[2]][[3]] <- as.name("u")
Error: Object "u" not found

I can get around this as follows

> form.1 <- form[[2]]
> form.1[[3]] <- as.name("u")
> form[[2]] <- form.1
> form
~a | u

--please do not edit the information below--

Version:
 platform = i686-unknown-linux
 arch = i686
 os = linux
 system = i686, linux
 status = Under development (unstable)
 major = 0
 minor = 90.0
 year = 1999
 month = October
 day = 28
 language = R

Search Path:
 .GlobalEnv, Autoloads, package:base
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


problem with "[[<-"
Saikat DebRoy