[Rd] corrections to R-exts
Deepayan Sarkar
deepayan.sarkar at gmail.com
Fri Apr 6 22:27:50 CEST 2007
Hi,
a couple of minor fixes to R-exts.texi:
In
@subsection Setting R callbacks
which describes Rinterface.h,
The @example block correctly has
extern int (*ptr_R_ReadConsole)(char *, unsigned char *, int, int);
extern int (*ptr_R_ShowFiles)(int, char **, char **, char *,
Rboolean, char *);
Just below that, these are described incorrectly as:
deftypefun int R_ReadConsole (char *@var{prompt}, char *@var{buf}, @
int @var{buflen}, int @var{hist})
(missing 'unsigned')
@deftypefun void R_ShowFiles (int @var{nfile}, char **@var{file}, [...]
(return type 'void' instead of 'int')
Also, the paragraph on R_ReadConsole ends with:
"The return value is 0 on success and >0 on failure."
This is wrong.
-Deepayan
More information about the R-devel
mailing list