File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -10436,17 +10436,16 @@ more complicated. See the @I{rw-FAQ}.
1043610436@cindex Inspecting R objects when debugging
1043710437
1043810438The key to inspecting @R{} objects from compiled code is the function
10439- @code{PrintValue (SEXP @var{s})} which uses the normal @R{} printing
10440- mechanisms to print the @R{} object pointed to by @var{s}, or the safer
10441- version @code{R_PV(SEXP @var{s})} which will only print `objects'.
10439+ @code{Rf_PrintValue (SEXP @var{s})} which uses the normal @R{} printing
10440+ mechanisms to print the @R{} object pointed to by @var{s}, or
10441+ @code{R_PV(SEXP @var{s})} which will only print `objects'.
1044210442@apifun Rf_PrintValue
1044310443
10444- One way to make use of @code{PrintValue } is to insert suitable calls
10444+ One way to make use of @code{Rf_PrintValue } is to insert suitable calls
1044510445into the code to be debugged.
1044610446
1044710447Another way is to call @code{R_PV} from the symbolic debugger.
10448- (@code{PrintValue} is hidden as @code{Rf_PrintValue}.) For example,
10449- from @code{gdb} we can use
10448+ For example, from @code{gdb} we can use
1045010449
1045110450@example
1045210451(gdb) p R_PV(ab)
You can’t perform that action at this time.
0 commit comments