Displaying 6 results from an estimated 6 matches for "cwarning".
Did you mean:
warning
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("a&q...
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("...
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 wa...
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
>>> catch...
2010 Jul 01
2
configuration error while building lustre , please help !
I am trying to compile lustre like this :
[onkar at localhost build-lustre]$ ./configure
--with-kernel-source-header=/home/onkar/LUSTRE/linux-2.6.33.3/include
--with-linux=/home/onkar/LUSTRE/linux-2.6.33.3
--with-linux-obj=/home/onkar/LUSTRE/linux-2.6.33.3
--with-linux-config=/home/onkar/LUSTRE/linux-2.6.33.3
checking build system type... i686-pc-linux-gnu
checking host system type...
2010 Jul 01
2
configuration error while building lustre , please help !
I am trying to compile lustre like this :
[onkar at localhost build-lustre]$ ./configure
--with-kernel-source-header=/home/onkar/LUSTRE/linux-2.6.33.3/include
--with-linux=/home/onkar/LUSTRE/linux-2.6.33.3
--with-linux-obj=/home/onkar/LUSTRE/linux-2.6.33.3
--with-linux-config=/home/onkar/LUSTRE/linux-2.6.33.3
checking build system type... i686-pc-linux-gnu
checking host system type...