Thanks, that works!!
On Fri, Nov 15, 2013 at 11:16 AM, Prof Brian Ripley <rip...@stats.ox.ac.uk>wrote: > On 15/11/2013 16:11, dan wang wrote: > >> Thanks, I think you are right.. >> How can I access this object? >> > > fortunes::fortune(14) applies. > > >> Thanks, >> >> Dan >> >> >> On Fri, Nov 15, 2013 at 11:04 AM, Prof Brian Ripley >> <rip...@stats.ox.ac.uk <mailto:rip...@stats.ox.ac.uk>> wrote: >> >> 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@r-project.org <mailto:R-help@r-project.org> mailing list >> https://stat.ethz.ch/mailman/__listinfo/r-help >> >> <https://stat.ethz.ch/mailman/listinfo/r-help> >> PLEASE do read the posting guide >> http://www.R-project.org/__posting-guide.html >> >> <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, rip...@stats.ox.ac.uk <mailto:rip...@stats.ox.ac.uk> >> Professor of Applied Statistics, >> http://www.stats.ox.ac.uk/~__ripley/ >> >> <http://www.stats.ox.ac.uk/~ripley/> >> University of Oxford, Tel: +44 1865 272861 >> <tel:%2B44%201865%20272861> (self) >> 1 South Parks Road, +44 1865 272866 <tel:%2B44%201865%20272866> (PA) >> >> Oxford OX1 3TG, UK Fax: +44 1865 272595 >> <tel:%2B44%201865%20272595> >> >> >> > > -- > Brian D. Ripley, rip...@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 > [[alternative HTML version deleted]] ______________________________________________ R-help@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.