Displaying 2 results from an estimated 2 matches for "r_lastvaluesymbol".
2007 Jan 18
0
Emulating a REPL in frontends
...ble() makes
potential errors harder to read (you get something like "Error in
eval.with.vis(x, parent.frame(), baseenv()) :", unless using extra magic to
convert the Error magic back to "normal").
Other things done in R_ReplDLLdo1() / other REPLs:
- Frontends may want to set R_LastValueSymbol for most (statement entered by
the user directly), but not all statements (so as to keep .Last.value
unchanged over internal operations like e.g. updating information on an
object in an object browser)
- Frontends may want to call toplevel handlers after some statements, but not
after others (p...
2000 Jun 21
1
Port of R header files to Delphi
...ly
because I'm not catching the exceptions that are thrown. How are
exceptions thrown?
2. If I want to get R to give me a string showing how an existing
variable would be printed, what's the normal procedure? I tried
calling "PrintValue", passing it the Rinternals export
"R_LastvalueSymbol", but I just get an access violation in R.DLL.
This could be because I'm not handling the export properly (DLLs
normally export entry points, not pointers to variables, so I had to
try to guess what indirection was being used here). Or I could be
calling PrintValue at the wrong time. Or...