hi, i think i'm running into a rather delicate problem here... i'm working on the rkwarddev package, specifically, trying to clean the package from warnings of "R CMD check". since the package requires the rkward package, q()/quit() from base is masked, hence the examples check fails because it cannot end:
<R CMD check> [...] > library('rkwarddev') Loading required package: XiMpLe Loading required package: rkward Attaching package: ‘rkward’ The following object(s) are masked from ‘package:grDevices’: X11, x11 The following object(s) are masked from ‘package:base’: Sys.setlocale, makeActiveBinding, q, quit, require, setwd [... running the examples ...] > ### * <FOOTER> > ### > cat("Time elapsed: ", proc.time() - get("ptime", pos = 'CheckExEnv'),"\n") Time elapsed: 0.892 0.02 0.911 0 0 > grDevices::dev.off() null device 1 > ### > ### Local variables: *** > ### mode: outline-minor *** > ### outline-regexp: "\\(> \\)?### [*]+" *** > ### End: *** > quit('no') Error in .Call("rk.do.generic.request", c(x, args), isTRUE(synchronous)) : C symbol name "rk.do.generic.request" not in load table Calls: quit -> q -> .rk.do.plain.call -> .Call Execution halted </R CMD check> you can experience the same in an ordinary R session (outside of RKWard): [start R] library(rkward) q("no") you will get the above error and can't quit the session. do regain that control, run detach("package:rkward") q("no") is this solvable at all? spontanously, the only way i can think of would be some sort of marker like an object value in the package namespace, to indicate whether the package was loaded by a starting RKWard session or not. it could then be checked by RKWard's q()/quit() functions. viele grüße :: m.eik -- dipl. psych. meik michalke institut f"ur experimentelle psychologie abt. f"ur diagnostik und differentielle psychologie heinrich-heine-universit"at d-40204 d"usseldorf
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel