[R] modify functions in "stats", but .Call(C_BinDist, ...) couldn't load C function
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Nov 15 17:04:17 CET 2013
On 15/11/2013 14:34, dan wang wrote:
> Hi all,
>
> I am trying to write a new function based on an existing function in
> "stats".
>
> This function requires to call a c program "C_BinDist". The new function
> couldn't work without load this c script.
>
> How can I find this "C_BinDist" function and load it to make my new
> function work through?
You are confused: C_BinDist is not a C program and not a function. It
is an R object in the stats namespace, so access it as you would any
other unexported object in a namespace.
>
> Thanks,
>
> Dan
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Please do: no HTML as requested, and this seems to indicate that the
correct list was R-devel.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list