i was searching for the source of bca.ci, a function of the package boot. I tried require(boot, keep.source=TRUE) but again the source was not viewable. How should i do? Best regards Meinhard Ploner ---------------- PS > version _ platform i386-apple-darwin8.8.1 arch i386 os darwin8.8.1 system i386, darwin8.8.1 status major 2 minor 4.0 year 2006 month 10 day 03 svn rev 39566 language R version.string R version 2.4.0 (2006-10-03)
Meinhard Ploner wrote:> i was searching for the source of bca.ci, a function of the package > boot. I tried > > require(boot, keep.source=TRUE) > > but again the source was not viewable. How should i do?If you download the source package (http://cran.at.r-project.org/src/contrib/boot_1.2-27.tar.gz) and unpack the compressed archive, you will see the bca.ci function in the file called bootfuns.q .> Best regards > > Meinhard Ploner > > ---------------- > PS > > version > _ > platform i386-apple-darwin8.8.1 > arch i386 > os darwin8.8.1 > system i386, darwin8.8.1 > status > major 2 > minor 4.0 > year 2006 > month 10 > day 03 > svn rev 39566 > language R > version.string R version 2.4.0 (2006-10-03) > > ______________________________________________ > R-help at stat.math.ethz.ch 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.-- Chuck Cleland, Ph.D. NDRI, Inc. 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 512-0171 (M, W, F) fax: (917) 438-0894
On Thu, 2006-12-21 at 14:34 +0100, Meinhard Ploner wrote:> i was searching for the source of bca.ci, a function of the package > boot. I tried > > require(boot, keep.source=TRUE) > > but again the source was not viewable. How should i do? > Best regards > > Meinhard PlonerYou can see a "representation" of the source code by using: boot:::bca.ci For more information on the ":::" syntax see ?":::" The "true" source code would be in the boot package tarball, available from a CRAN mirror (eg.): http://cran.r-project.org/src/contrib/Descriptions/boot.html HTH, Marc Schwartz
Chuck and Marc, thanks for the good answers! MP On Dec 21, 2006, at 2:48 PM, Chuck Cleland wrote:> Meinhard Ploner wrote: >> i was searching for the source of bca.ci, a function of the package >> boot. I tried >> >> require(boot, keep.source=TRUE) >> >> but again the source was not viewable. How should i do? > > If you download the source package > (http://cran.at.r-project.org/src/contrib/boot_1.2-27.tar.gz) and > unpack > the compressed archive, you will see the bca.ci function in the file > called bootfuns.q . > >> Best regards >> >> Meinhard Ploner >> >> ---------------- >> PS >>> version >> _ >> platform i386-apple-darwin8.8.1 >> arch i386 >> os darwin8.8.1 >> system i386, darwin8.8.1 >> status >> major 2 >> minor 4.0 >> year 2006 >> month 10 >> day 03 >> svn rev 39566 >> language R >> version.string R version 2.4.0 (2006-10-03) >> >> ______________________________________________ >> R-help at stat.math.ethz.ch 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. > > -- > Chuck Cleland, Ph.D. > NDRI, Inc. > 71 West 23rd Street, 8th floor > New York, NY 10010 > tel: (212) 845-4495 (Tu, Th) > tel: (732) 512-0171 (M, W, F) > fax: (917) 438-0894
On Thu, 21 Dec 2006, Meinhard Ploner wrote:> i was searching for the source of bca.ci, a function of the package > boot. I triedActually only of the namespace 'boot'.> require(boot, keep.source=TRUE) > > but again the source was not viewable. How should i do?This is discussed in a recent R NEWS. Note that> boot:::bca.ci > getAnywhere("bca.ci")both work. -- 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