similar to: Rd files Assignment functions.

Displaying 20 results from an estimated 3000 matches similar to: "Rd files Assignment functions."

2004 Sep 07
2
package methods different behaviour R1.9.1 patched and R2.0.0
Hi! Concerning different behaviour between 1.9.1 patched and: R : Copyright 2004, The R Foundation for Statistical Computing Version 2.0.0 Under development (unstable) (2004-09-06), ISBN 3-900051-07-0 Subtitle: as(x,"vector"); x is of class "Massvector"; never enters setAs("Massvector","vector"... The same code: as(mvl[[1]],"vector") causes
2005 Feb 10
1
Undocumented S4 methods: generic coerce and siglist matrix, Massvector
Hi, While checking the package I am getting all the time the following complain about the function: Undocumented S4 methods: generic coerce and siglist matrix,Massvector I have not defined the function nowhere in the R files. My gues is that this has something to do with the following definition of the setAs function. setAs("matrix","Massvector" ,def=
2011 Mar 13
2
Problems getting html files out of R CMD check
Hi, I'm trying to R CMD check a package, however I have hit a snag. There seems to be a problem with the creation of the /html files (the only file that's constructed here is the 00Index.html). I've tested each of the .Rd files independently with R CMD Rdconv, they all happily create html files without complaint. R CMD check <package> gives the no warnings. I'm therefore
2004 Sep 23
1
browser() is called incidentally (?) somewhere from inside methods::as
Hi, Executing the following code causes the prompt to enter browser() mode. >dd<-as(Npatrick1,"list") Called from: as(Npatrick1, "list") Browse[1]> R : Copyright 2004, The R Foundation for Statistical Computing Version 2.0.0 beta (2004-09-20), ISBN 3-900051-07-0 Some addtitional info about Npatrick1 > is(Npatrick1) [1] "Massvectorlist"
2001 Sep 28
1
savehistory: Suggestions to a \seealso{} (PR#1104)
Full_Name: Henrik Bengtsson Version: 1.3.1 OS: WinMe Submission from: (NULL) (130.235.2.229) I suggest the following \seealso to be added for savehistory: \seealso{ To execute \code{savehistory} automatically when \R quits see \link{.Last} and \link{.Rprofile}. } -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read
2009 Oct 22
1
Error in link in Rd file stops package installation
With a pretty recent version of R 2.11.0 (devel,unstable, svn 50178) on Linux I could not install version 1.5-8 of zoo (the current on on CRAN): % R-devel CMD INSTALL -l Rlib3 zoo * installing *source* package 'zoo' ... ** R ** inst ** preparing package for lazy loading ** help *** installing help indices converting help for package 'zoo' finding
2009 Aug 09
1
Linking in R package documentation
I have two straightforward questions about linking in the man pages for R packages: First, is it possible to link from within parts of the documentation that are not the \seealso section? For example, I would like to have something like: \arguments{ \item{correlation}{an optional \code{corStruct} object describing the within-group correlation structure; the available classes are given in
1997 Jun 02
1
R-alpha: S doc -> R doc
Attached is the current version of my sd2rd perl script. It has passed tests by Martin, Fritz and myself, and seems to work reasonably well (it should get the arguments lists right, distinguish between VALUE and VALUES, and know about REFERENCES and SEEALSO). Any comments etc are most welcome. -k ************************************************************************ #!/usr/bin/perl -w $\ =
2002 Mar 26
0
documentation suggestion for Extremes.Rd
Should R/src/library/base/man/Extremes.Rd (where max, min, pmax, pmin are documented) refer to which.min and which.max in the "\seealso" section? e.g. change the \seealso section (line 53) of Extremes.Rd to: \code{\link{range}}, \code{\link{which.min}}, etc.}, [Also, is r-help the right place for suggestions about documentation?] thanks, Stephen Eglen
2011 Sep 08
1
invalid strings while parsing code with inlinedocs package.skeleton.dx()
Dear list members, I use the package inlinedocs to create documentation for a package that I am building. The function package.skeleton.dx() is used to convert the source *.R file into the *.Rd documentation file. Usually this works like a charm, but on several occasions I got messages like this one: extra.code.docs prefixed.lines extract.xxx.chunks title.from.firstline
2012 Dec 27
1
Doc patch for Sys.time and system.time
Here?s a patch that adds ?seealso? entries to Sys.time and system.time docs, to help people who forget what the distinction is between them. Patch was made against https://svn.r-project.org/R/trunk at 61454 . -Ken
2006 Apr 04
2
documenting s4 methods in package
Hi, I have written a package that contains many s4 generic functions and associated methods. I am having a lot of trouble getting R to build the help pages for these generic functions without reporting, "missing link(s): ~~fun~~, which means that it cannot find the appropriate function when code in the example section of the help is run. Right? After some playing around I can get it to
2005 Jul 27
1
how to generate 00Index.html from Rd or html
I'd like to generate 00Index.html for a bunch of libraries for my R search page. I have now almost all the html help files for individual functions, even for packages that won't install on my computer (e.g., because they are specific to Windows). I made these using Rdconv. But that won't make the 00Index file, and neither will Rdindex, which makes a text file. I'm probably
2007 Apr 10
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9606)
I've created a .Rd file (below), then converted that to .sgml using R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml The output (shown below) is missing some of the sections: arguments seealso examples If instead I convert to .d (below), the same sections are missing, and the "note" section is included but without the necessary newline.
2007 Feb 01
1
prop.test.Rd References patch
Hi all, Presuming that my reply on r-help this morning was correct, attached is a patch file against the current svn trunk version of prop.test.Rd to add the references for the methods. Any corrections are welcome. Regards, Marc Schwartz
2008 Apr 16
0
package.skeleton() creates corrupted Rd file (PR#11191)
Calling package.skeleton() results in corrupted Rd-file stub on my system. It (the file) is contaminated with mass question marks. This happens only for package Rd file, Rd stubs for *package functions* are generated nicely. An example of bad Rd file created by package.skeleton(): \name{cmrutils-package} \alias{cmrutils-package} \alias{cmrutils} \docType{package} \title{ What the package does
2005 Jun 03
1
documentation source diff...
Hi, I forgot the name of the function 'colSums', and expected to be able to find it through the 'see also' section of the documentation for the 'sum' function. Here is the diff I made of the altered documentation to facilitate this action... (p.s. I made the diff on the R-2.1.0 source). diff sum.Rd src/library/base/man/sum.Rd --context=2 *** sum.Rd 2005-06-03
2006 Mar 03
1
Problem with creating links ("see also" section) in help files.
A link in one of my help files does not work. I have in this help file: \seealso{\code{\link{crit.fun}}, \code{\link{opt.par}}, \code{\link{opt.random.par}}, \code{\link{opt.these.par}}, \code{\link{nkpartitions}}, \code{\link{nkpar}}, \code{\link{plot.check.these.par}} } Everything in one row, the last link does not work. In another help file, I have: \name{plot.mat} \alias{plot.mat}
2011 Apr 25
1
possible minor doc clarification?
Good afternoon, As a clarification does it make sense to remove the second 'not' in the 'See Also' documentation for file_test ? Kind regards, Sean O'Riordain ----- Index: src/library/utils/man/filetest.Rd =================================================================== --- src/library/utils/man/filetest.Rd (revision 55639) +++ src/library/utils/man/filetest.Rd
2008 Apr 13
1
promptFunctions() to handle multiple names
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi all, I wanted to set up my first (private) R-package and wondered if there was a function to prompt() for multiple aliases in one Rd-file, e.g. to create something like the normal distribution manual page encompassing rnorm, dnorm,... As I didn't find it, I modified prompt.default() and wrote a small function to do this job, called