Skip to content

Commit c09a731

Browse files
author
hornik
committed
Prefer Rf_ forms in documentation.
git-svn-id: https://svn.r-project.org/R/trunk@87982 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent ef0be72 commit c09a731

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

doc/manual/R-exts.texi

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10436,17 +10436,16 @@ more complicated. See the @I{rw-FAQ}.
1043610436
@cindex Inspecting R objects when debugging
1043710437

1043810438
The 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
1044510445
into the code to be debugged.
1044610446

1044710447
Another 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)

0 commit comments

Comments
 (0)