search for: tobibtex

Displaying 10 results from an estimated 10 matches for "tobibtex".

Did you mean: bibtex
2007 Feb 05
1
Build error with last R-devel tarball
...ck.data.frame', 'stack.default', 'str.POSIXt', 'str.data.frame', 'str.default', 'su mmary.packageStatus', 'tail.data.frame', 'tail.default', 'tail.function', 'tail.matrix', 'tail.ftable ', 'tail.table', 'toBibtex.citation', 'toBibtex.citationList', 'toBibtex.person', 'toBibtex [... trun cated] Execution halted make[4]: *** [E:/biocbld/bbs-2.0-bioc/R/library/utils/R/utils] Error 1 make[3]: *** [all] Error 2 make[2]: *** [pkg-utils] Error 2 make[1]: *** [rpackage] Error 1 make: *** [al...
2008 Oct 23
1
Automating citations in Sweave
Dear all, Is there an elegant way to add citations of packages when using Sweave? Ideally I'd like a function which creates a Bibtex-file with the packagenames as keys. The idea is to use \cite{packagename} or \cite{R} in LaTeX. I know you can get the Bibtex entry with toBibtex(citation("packagename")). But after updating R or a package one needs to update the bib-file too. When trying to automate this I came up with the code below. It generates a Bibtex-file, but without keys for each item. So I have to add those manually. Another problem is that I get multiple...
2009 Dec 11
1
Creating bibtex file of all installed packages?
Hi is there an easy and fast way, to generate a BibTeX file of all installed / loaded packages and R? I know about toBibtex(citation()) to extract the BibTeX for a single package, but how can I generate a file containg citations for all installed / loaded packages? Cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Cent...
2011 Dec 16
2
R package BibTex entries: looking for a more general solution
...etRversion(), ".bib", sep=""), header=TRUE, preamble=NULL, suppress.warnings=TRUE, verbose = TRUE) { ## installed packages pkgs <- unique(installed.packages()[,1]) if (suppress.warnings) warn <- options(warn=-1) bibs <- lapply(pkgs, function(x) try(toBibtex(citation(x)))) if (suppress.warnings) options(warn) n.installed <- length(bibs) ## omit failed citation calls ok <- !(sapply(bibs, class) == "try-error") pkgs <- pkgs[ok] bibs <- bibs[ok] n.converted <- sum(ok) ## unify to list of Bibtex bibs &l...
2008 Nov 17
1
CITATION file with multiple citEntry(): no BibTeX produced by citation()
[Using R 2.8.0 / Win XP / ] I just added a CITATION file to the heplots package--- appended below. From the document ion for ?CITATION, there can be *one or more* calls to citEntry() within the CITATION file, and each should produce an object of class "citation". With just a single citEntry(), citation produces the expected output, with BibTeX entry: >
2012 Nov 22
2
BibTeX entries in CITATION file
Dear List, While trying to define a customised CITATION file for a package, following R-exts, I realised that if I use only one 'citEntry' I got both a text description and a BibTex entry for the package, as for the 'nlme' package: -------------------------- citation('nlme') To cite package 'nlme' in publications use: Jose Pinheiro, Douglas Bates, Saikat
2011 Aug 22
0
CRAN packages maintained by you
It is A Good Thing to regularize Authors and Maintainers of packages, particularly for citation() and toBibTex(). Could I add a suggested TODO item for the maintainer of package.skeleton and friends to help reinforce this for new packages: - Please add appropriate templates for Author at R in the skeleton DESCRIPTION file generated, indicating the proper format as well as the use of role= to signal the...
2013 Oct 04
0
bug/infelicity in citation("base")
...ge, presumably by design has no CITATION file. It requires a workaround in functions like knitr::write_bib when given a list of packages, bib = sapply(x, function(pkg) { cite = citation(pkg, auto = if (pkg == "base") NULL else TRUE) entry = toBibtex(cite) entry[1] = sub("\\{,$", sprintf("{R-%s,", pkg), entry[1]) gsub("", "", entry) }, simplify = FALSE) Is there some reason why citation() can't simply ignore auto=TRUE (perhaps with a message) for the base package? -- Micha...
2004 Oct 04
7
R 2.0.0 is released
...e(), a simple top-level parser/analyzer for R documentation format. o tools::codoc() (and hence R CMD check) now checks any documentation for registered S3 methods and unexported objects in packages with namespaces. o Package 'utils' contains several new functions: - Generics toBibtex() and toLatex() for converting R objects to BibTeX and LaTeX (but almost no methods yet). - A much improved citation() function which also has a package argument. By default the citation is auto-generated from the package DESCRIPTION, the file 'inst/CITATION' can be used to o...
2004 Oct 04
7
R 2.0.0 is released
...e(), a simple top-level parser/analyzer for R documentation format. o tools::codoc() (and hence R CMD check) now checks any documentation for registered S3 methods and unexported objects in packages with namespaces. o Package 'utils' contains several new functions: - Generics toBibtex() and toLatex() for converting R objects to BibTeX and LaTeX (but almost no methods yet). - A much improved citation() function which also has a package argument. By default the citation is auto-generated from the package DESCRIPTION, the file 'inst/CITATION' can be used to o...