Re: [R] [EXTERNAL] RE: unexpected 'else' in " else"

2022-10-28 Thread Jorgen Harmse via R-help
: unexpected 'else' in " else" I appreciate this thread on coding. My preference for reading is to have complete sentences. I can read this: { if (x On Behalf Of Jorgen Harmse via R-help Sent: Friday, October 28, 2022 10:39 AM To: r-help@r-project.org Subject: Re: [R] unexpected 'else' in " e

Re: [R] [EXTERNAL] Re: unexpected 'else' in " else" (Ebert, Timothy Aaron)

2022-10-25 Thread Jorgen Harmse via R-help
want to see what > will happen > z <- ifelse(test, 1:3, 7:9) > attr(z,'class') [1] "foo" > attr(z,'mode') NULL > attr(z,'length') NULL From: Bert Gunter Date: Monday, 24October, 2022 at 12:07 To: Jorgen Harmse Cc: r-help@r-project.org Subject: [EXTERNAL] Re:

Re: [R] [EXTERNAL] Re: unexpected 'else' in " else" (Ebert, Timothy Aaron)

2022-10-24 Thread Jorgen Harmse via R-help
2022 at 11:31 To: Jorgen Harmse Cc: r-help@r-project.org Subject: [EXTERNAL] Re: [R] unexpected 'else' in " else" (Ebert,Timothy Aaron) ... So it would appear that the ifelse() documentation needs to be clarified. For example, if the above asterisked phrase were "The S3 *c

Re: [R] [EXTERNAL] Re: unexpected 'else' in " else"

2022-10-21 Thread Jorgen Harmse via R-help
To: Jorgen Harmse Cc: r-help@r-project.org Subject: [EXTERNAL] Re: [R] unexpected 'else' in " else" The code working inside stats::weighted.residuals has nothing to do with being evaluated in a different environment than globalenv() and has nothing to do with being inside a packa