search for: myenvir

Displaying 7 results from an estimated 7 matches for "myenvir".

Did you mean: envir
2015 Jan 08
5
RFC: getifexists() {was [Bug 16065] "exists" ...}
...an object of the correct name and mode is found. ?getifexists():? The object-as from ?get(x, *)?- if ?exists(x, *)? is true, otherwise ?value.if.not?. Note: With ?getifexists()?, instead of the easy to read but somewhat inefficient if (exists(myVarName, envir = myEnvir)) { r <- get(myVarName, envir = myEnvir) ## ... deal with r ... } you now can use the more efficient (and slightly harder to read) if (!is.null(r <- getifexists(myVarName, envir = myEnvir))) { ## ... deal with r ... } References:...
2015 Jan 08
4
RFC: getifexists() {was [Bug 16065] "exists" ...}
...s():? The object-as from ?get(x, *)?- if ?exists(x, *)? > > is true, otherwise ?value.if.not?. > > > > Note: > > > > With ?getifexists()?, instead of the easy to read but somewhat > > inefficient > > > > if (exists(myVarName, envir = myEnvir)) { > > r <- get(myVarName, envir = myEnvir) > > ## ... deal with r ... > > } > > > > you now can use the more efficient (and slightly harder to read) > > > > if (!is.null(r <- getifexists(myVarName, envir = myEnvir)...
2015 Jan 08
0
RFC: getifexists() {was [Bug 16065] "exists" ...}
...und. > > ?getifexists():? The object-as from ?get(x, *)?- if ?exists(x, *)? > is true, otherwise ?value.if.not?. > > Note: > > With ?getifexists()?, instead of the easy to read but somewhat > inefficient > > if (exists(myVarName, envir = myEnvir)) { > r <- get(myVarName, envir = myEnvir) > ## ... deal with r ... > } > > you now can use the more efficient (and slightly harder to read) > > if (!is.null(r <- getifexists(myVarName, envir = myEnvir))) { > ## ... de...
2015 Jan 08
1
RFC: getifexists() {was [Bug 16065] "exists" ...}
...s():? The object-as from ?get(x, *)?- if ?exists(x, *)? > > is true, otherwise ?value.if.not?. > > > > Note: > > > > With ?getifexists()?, instead of the easy to read but somewhat > > inefficient > > > > if (exists(myVarName, envir = myEnvir)) { > > r <- get(myVarName, envir = myEnvir) > > ## ... deal with r ... > > } > > > > you now can use the more efficient (and slightly harder to read) > > > > if (!is.null(r <- getifexists(myVarName, envir = myEnvir)...
2015 Jan 08
0
RFC: getifexists() {was [Bug 16065] "exists" ...}
...*)?- if ?exists(x, *)? >> > is true, otherwise ?value.if.not?. >> > >> > Note: >> > >> > With ?getifexists()?, instead of the easy to read but somewhat >> > inefficient >> > >> > if (exists(myVarName, envir = myEnvir)) { >> > r <- get(myVarName, envir = myEnvir) >> > ## ... deal with r ... >> > } >> > >> > you now can use the more efficient (and slightly harder to read) >> > >> > if (!is.null(r <- getifexists...
2015 Jan 08
1
RFC: getifexists() {was [Bug 16065] "exists" ...}
...e object-as from ?get(x, *)?- if ?exists(x, *)? > > is true, otherwise ?value.if.not?. > > > > Note: > > > > With ?getifexists()?, instead of the easy to read but somewhat > > inefficient > > > > if (exists(myVarName, envir = myEnvir)) { > > r <- get(myVarName, envir = myEnvir) > > ## ... deal with r ... > > } > > > > you now can use the more efficient (and slightly harder to read) > > > > if (!is.null(r <- getifexists(myVarName, envir = m...
2015 Jan 08
2
RFC: getifexists() {was [Bug 16065] "exists" ...}
...> > is true, otherwise ?value.if.not?. >>> > >>> > Note: >>> > >>> > With ?getifexists()?, instead of the easy to read but somewhat >>> > inefficient >>> > >>> > if (exists(myVarName, envir = myEnvir)) { >>> > r <- get(myVarName, envir = myEnvir) >>> > ## ... deal with r ... >>> > } >>> > >>> > you now can use the more efficient (and slightly harder to read) >>> > >>> > if (...