Skip to content
Back to formatted view

Raw Message

Message-ID: <0EF7215F-B4DD-4DDD-8421-B65C487FE02C@dcn.davis.ca.us>
Date: 2016-06-02T03:13:41Z
From: Jeff Newmiller
Subject: Making an if condition variable ?
In-Reply-To: <20160601223029.1880@web003.roc2.bluetie.com>

Beware of getting too "meta" in your programming... it is rarely worth it. Just write the code and move on with life. That is the beauty of a scripting language. 
-- 
Sent from my phone. Please excuse my brevity.

On June 1, 2016 7:30:29 PM PDT, ce <zadig_1 at excite.com> wrote:
>
>Dear all,
>
>I want to make an if condition variable like :
>
>a = 10
>CONDITION = " a > 0 "
>
>if ( CONDITION ) print(" a is bigger" ) 
>
>I tried get , getElement , eval without success ?
>
>Thanks
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>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.

	[[alternative HTML version deleted]]