search for: userbreak

Displaying 6 results from an estimated 6 matches for "userbreak".

2003 Jul 16
2
Fatal error in SJava.
Dear r-helpers, I have been trying to invoke R from Java in a Windows 2000 computer (unfortunately). All my environment variables seem to be properly set, everything seems to be in order, but I obtaining a Fatal error: unable to open the base package error window. Also, the output of the invoker is Loading RInterpreter library R_HOME: R_HOME=C:/Programas/R RVersion: R_VERSION=1.6.1 whereas
2009 Jan 16
1
interrupting R from a GUI
list(...), I am looking for a way to interrupt R from a callback: specifically, to interrupt plotting (typically on a cairoDevice, but would be good if it worked with other devices too). Of course, one can interrupt R nicely from the console with Ctrl-C (or Esc in Rgui), but I need to do it from a GUI. Callbacks run in a new thread, so obviously stop() etc will not work. I tried to look into how
2006 Nov 27
1
R.DLL mapping by P/Invoke
...tProcAddress(IntPtr hModule, string procName); #endregion static string sg_dllVersion,sg_RHome,sg_RUsersHome; static IntPtr sg_hModR; static IntPtr sg_hModRProxy; static StringBuilder sg_ConsoleOutput; static IntPtr sg_rDll_R_GlobalEnvPtr, sg_rDll_R_UserBreakPtr; static IntPtr sg_rDll_R_UnboundValue; static GCHandle[] sg_lockDelegates; static RWrapper() { try { //- Get the active DLL path from the registry string dllPath = Convert.ToString( Registry.LocalMachine.OpenSu...
2007 Oct 17
0
Using R.dll in .NET IPC
...tProcAddress(IntPtr hModule, string procName); #endregion static string sg_dllVersion,sg_RHome,sg_RUsersHome; static IntPtr sg_hModR; static IntPtr sg_hModRProxy; static StringBuilder sg_ConsoleOutput; static IntPtr sg_rDll_R_GlobalEnvPtr, sg_rDll_R_UserBreakPtr; static IntPtr sg_rDll_R_UnboundValue; static GCHandle[] sg_lockDelegates; static RWrapper() { try { //- Get the active DLL path from the registry string dllPath = Convert.ToString( Registry.LocalMachine.OpenSu...
2011 Apr 25
3
Interrupting C++ code execution
Hello, I am writing an R interface for one of my C++ programs. The computations in C++ are very time consuming (several hours), so the user needs to be able to interrupt them. Currently, the only way I found to do so is calling R_CheckUserInterrupt() frequently. Unfortunately, there are several problems with that: 1. Calling R_CheckUserInterrupt() interrupts immediately, so I have no
2000 Jun 21
1
Port of R header files to Delphi
I'm in the process of porting R header files to Delphi. The short term aim is to be able to make calls into the R.dll from Delphi; the longer term aim is to play around with writing a Windows front-end with some of the features of the S-PLUS environment (e.g. scripts), and other features from other IDEs I've used (e.g. watch windows, popup values of variables selected by mouse, etc.)