[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    Re: [R] get more than get
From:       Barry Rowlingson <b.rowlingson () lancaster ! ac ! uk>
Date:       2007-02-28 15:47:05
Message-ID: 45E5A3F9.306 () lancaster ! ac ! uk
[Download RAW message or body]

Ingmar Visser wrote:
> it's unclear what you want ...
> but
> get("x")^2
> does not give an error

  Neither does get("x^2") if you actually have an object called "x^2":

  > "x^2"=4.000001
  > get("x^2")
  [1] 4.000001

  but that would be a perverse thing to do.

Barry

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic