Displaying 6 results from an estimated 6 matches for "cwarn".
Did you mean:
warn
2019 Sep 15
2
REprintf could be caught by tryCatch(message)
...yCatch(expr,
message=function(m) cat("caught message\n"),
warning=function(w) cat("caught warning\n"),
error=function(e) cat("caught error\n")
)
}
library(inline)
Cstop = cfunction(c(), 'error("%s\\n","a"); return R_NilValue;')
Cwarning = cfunction(c(), 'warning("%s\\n","a"); return R_NilValue;')
Cmessage = cfunction(c(), 'REprintf("%s\\n","a"); return R_NilValue;')
catch(stop("a"))
#caught error
catch(warning("a"))
#caught warning
catch(message("...
2019 Sep 15
2
[External] REprintf could be caught by tryCatch(message)
...t;),
> > warning=function(w) cat("caught warning\n"),
> > error=function(e) cat("caught error\n")
> > )
> > }
> > library(inline)
> > Cstop = cfunction(c(), 'error("%s\\n","a"); return R_NilValue;')
> > Cwarning = cfunction(c(), 'warning("%s\\n","a"); return R_NilValue;')
> > Cmessage = cfunction(c(), 'REprintf("%s\\n","a"); return R_NilValue;')
> >
> > catch(stop("a"))
> > #caught error
> > catch(warning(&qu...
2019 Sep 15
0
[External] REprintf could be caught by tryCatch(message)
...n(m) cat("caught message\n"),
> warning=function(w) cat("caught warning\n"),
> error=function(e) cat("caught error\n")
> )
> }
> library(inline)
> Cstop = cfunction(c(), 'error("%s\\n","a"); return R_NilValue;')
> Cwarning = cfunction(c(), 'warning("%s\\n","a"); return R_NilValue;')
> Cmessage = cfunction(c(), 'REprintf("%s\\n","a"); return R_NilValue;')
>
> catch(stop("a"))
> #caught error
> catch(warning("a"))
> #caught...
2019 Sep 16
0
[External] REprintf could be caught by tryCatch(message)
...warning=function(w) cat("caught warning\n"),
>>> error=function(e) cat("caught error\n")
>>> )
>>> }
>>> library(inline)
>>> Cstop = cfunction(c(), 'error("%s\\n","a"); return R_NilValue;')
>>> Cwarning = cfunction(c(), 'warning("%s\\n","a"); return R_NilValue;')
>>> Cmessage = cfunction(c(), 'REprintf("%s\\n","a"); return R_NilValue;')
>>>
>>> catch(stop("a"))
>>> #caught error
>>> ca...
2010 Jul 01
2
configuration error while building lustre , please help !
...lities... yes
checking whether to install init scripts... yes
checking whether to build Lustre tests... yes
checking whether to build Lustre server support... yes
checking whether to build Lustre client support... yes
checking whether to enable split support... no
checking whether to enable CDEBUG, CWARN... yes
checking whether to enable ENTRY/EXIT... yes
checking whether to enable LASSERT, LASSERTF... yes
checking sys/quota.h usability... yes
checking sys/quota.h presence... yes
checking for sys/quota.h... yes
checking whether to build kernel modules... yes (linux-gnu)
checking for Linux sources.....
2010 Jul 01
2
configuration error while building lustre , please help !
...lities... yes
checking whether to install init scripts... yes
checking whether to build Lustre tests... yes
checking whether to build Lustre server support... yes
checking whether to build Lustre client support... yes
checking whether to enable split support... no
checking whether to enable CDEBUG, CWARN... yes
checking whether to enable ENTRY/EXIT... yes
checking whether to enable LASSERT, LASSERTF... yes
checking sys/quota.h usability... yes
checking sys/quota.h presence... yes
checking for sys/quota.h... yes
checking whether to build kernel modules... yes (linux-gnu)
checking for Linux sources.....