Skip to content

Commit f629b66

Browse files
author
ripley
committed
remove duplication between manuals
git-svn-id: https://svn.r-project.org/R/trunk@88136 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 5fb057a commit f629b66

File tree

1 file changed

+2
-43
lines changed

1 file changed

+2
-43
lines changed

doc/manual/R-exts.texi

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -17206,49 +17206,8 @@ functions documented in @ref{Numerical analysis subroutines} as from
1720617206
that header file.)
1720717207

1720817208
The library is not built automatically when @R{} is installed. For
17209-
further deataila including how to build it, see
17210-
@ref{The standalone Rmath library, , ,
17211-
R-admin, R Installation and Administration}.
17212-
17213-
17214-
To use the code in your own C program include
17215-
17216-
@example
17217-
@group
17218-
#define MATHLIB_STANDALONE
17219-
#include <Rmath.h>
17220-
@end group
17221-
@end example
17222-
17223-
@noindent
17224-
and link against @samp{-lRmath} (and perhaps @samp{-lm}). There is an
17225-
example file @file{test.c}.
17226-
17227-
A little care is needed to use the random-number routines. You will
17228-
need to supply the uniform random number generator
17229-
17230-
@example
17231-
double unif_rand(void)
17232-
@end example
17233-
17234-
@noindent
17235-
or use the one supplied (and with a dynamic library or DLL you will have
17236-
to use the one supplied, which is the @I{Marsaglia}-@I{multicarry} with an entry
17237-
points
17238-
17239-
@example
17240-
set_seed(unsigned int, unsigned int)
17241-
@end example
17242-
17243-
@noindent
17244-
to set its seeds and
17245-
17246-
@example
17247-
get_seed(unsigned int *, unsigned int *)
17248-
@end example
17249-
17250-
@noindent
17251-
to read the seeds).
17209+
further details see @ref{The standalone Rmath library, , , R-admin, R
17210+
Installation and Administration}.
1725217211

1725317212

1725417213
@node Organization of header files

0 commit comments

Comments
 (0)