[R] What's ``impres''?

Liaw, Andy andy_liaw at merck.com
Wed Aug 4 15:11:22 CEST 2004

Seems like you are using code that someone other than yourself had written.
The best person to ask would be the original author of that code.  The way
you quote the code, there's no context for anyone to guess what `impres' is,
other than that the author probably expected it to be either a logical, or a
scalar numeric.  Similar to C, integer value can be used as logical
expression: 0 = FALSE, anything else is TRUE.


> From: Jinsong Zhao
> Dear all,
> In one S+ program, I found the following code. 
> if (impres) cat("blah blah blah \n")
> Would someone here like to tell me what's the counterpart in R to
> impres in S+?
> Thanks in advance!
> Best wishes,
> Jinsong
> =====
> (Mr.) Jinsong Zhao
> Ph.D. Candidate
> School of the Environment
> Nanjing University
> 22 Hankou Road, Nanjing 210093
> P.R. China
> E-mail: jinsong_zh at yahoo.com
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html

More information about the R-help mailing list