Displaying 6 results from an estimated 6 matches for "cstop".
Did you mean:
stop
2019 Sep 15
2
REprintf could be caught by tryCatch(message)
...o
R's catch(message("a"))?
Regards,
Jan Gorecki
catch = function(expr) {
tryCatch(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(&qu...
2019 Sep 15
2
[External] REprintf could be caught by tryCatch(message)
...ction(expr) {
> > tryCatch(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;...
2019 Sep 15
0
[External] REprintf could be caught by tryCatch(message)
...,
> Jan Gorecki
>
> catch = function(expr) {
> tryCatch(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;')
>...
2019 Sep 16
0
[External] REprintf could be caught by tryCatch(message)
...t; tryCatch(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_NilVa...
2001 Nov 25
0
Errors compiling on Sun Solaris 2.7
...line 167: macro CEOF redefines previous macro at "/usr/ucbinclude/sys/ttychars.h", line 86
"/usr/include/sys/termios.h", line 168: macro CSTART redefines previous macro at "/usr/ucbinclude/sys/ttychars.h", line 84
"/usr/include/sys/termios.h", line 169: macro CSTOP redefines previous macro at "/usr/ucbinclude/sys/ttychars.h", line 85
"/usr/include/sys/termios.h", line 219: macro NL0 redefines previous macro at "/usr/ucbinclude/sys/ioctl.h", line 89
"/usr/include/sys/termios.h", line 220: macro NL1 redefines previous mac...
2003 Dec 01
0
No subject
...line 167: macro CEOF redefines previous macro at "/usr/ucbinclude/sys/ttychars.h", line 86
"/usr/include/sys/termios.h", line 168: macro CSTART redefines previous macro at "/usr/ucbinclude/sys/ttychars.h", line 84
"/usr/include/sys/termios.h", line 169: macro CSTOP redefines previous macro at "/usr/ucbinclude/sys/ttychars.h", line 85
"/usr/include/sys/termios.h", line 219: macro NL0 redefines previous macro at "/usr/ucbinclude/sys/ioctl.h", line 89
"/usr/include/sys/termios.h", line 220: macro NL1 redefines previous mac...