search for: plroebuck

Displaying 9 results from an estimated 9 matches for "plroebuck".

2015 Jan 28
2
[Q] Get formal arguments of my implemented S4 method
...calc.medians, "recalc.after.sweep": sweep.cols, "?" } not those of the generic: { "object", "?" } From: Michael Lawrence <lawrence.michael at gene.com> Date: Wednesday, January 28, 2015 11:28 AM To: "Roebuck,Paul L" <PLRoebuck at mdanderson.org> Cc: R-devel <r-devel at r-project.org> Subject: Re: [Rd] [Q] Get formal arguments of my implemented S4 method Would you please clarify your exact use case? Thanks, Michael On Wed, Jan 28, 2015 at 9:02 AM, Roebuck,Paul L <PLRoebuck at mdanderson.org> wrote:...
2015 Jan 29
0
[Q] Get formal arguments of my implemented S4 method
At this point I would just due: formals(body(method)[[2L]]) At some point we need to figure out what to do with this .local() confusion. On Wed, Jan 28, 2015 at 10:07 AM, Roebuck,Paul L <PLRoebuck at mdanderson.org> wrote: > I'm attempting to reflect the information for use with corresponding > fields in GUI (in a different package), to provide default values, > argname as key for UI label lookups, etc. > > So I want something much more like the formals of the implemen...
2015 Jan 29
3
[Q] Get formal arguments of my implemented S4 method
...local <- eval(b[[2]][[3]]) if(is.function(local)) return(formals(local)) warning("Expected a .local assignment to be a function. Corrupted method?") } genFormals } > > > > > On Wed, Jan 28, 2015 at 10:07 AM, Roebuck,Paul L <PLRoebuck at mdanderson.org> > wrote: > >> I'm attempting to reflect the information for use with corresponding >> fields in GUI (in a different package), to provide default values, >> argname as key for UI label lookups, etc. >> >> So I want something much more l...
2015 Jan 28
2
[Q] Get formal arguments of my implemented S4 method
Interrogating some (of my own) code in another package. >norm.meth <- getMethod("normalize", "MatrixLike") >message("str(norm.meth)") >str(norm.meth) >message("show(norm.meth at .Data)") >show(norm.meth at .Data) Last show() displays this: function (object, ...) { .local <- function (object, method = c("median",
2015 Jan 28
0
[Q] Get formal arguments of my implemented S4 method
Would you please clarify your exact use case? Thanks, Michael On Wed, Jan 28, 2015 at 9:02 AM, Roebuck,Paul L <PLRoebuck at mdanderson.org> wrote: > Interrogating some (of my own) code in another package. > > >norm.meth <- getMethod("normalize", "MatrixLike") > >message("str(norm.meth)") > >str(norm.meth) > > >message("show(norm.meth at .Data)...
2008 Jun 05
1
doc buglet / as.Date method
Under Details section for as.Date: as.Date will accept numeric data (the number of days since an epoch), but only is origin is supplied. ^^ should be "if" R version 2.7.0 Patched (2008-06-04 r45830) ---------------------------------------------------------- SIGSIG -- signature too long (core dumped)
2008 May 27
0
vignette help
Could someone please point me to where information about the two entries %\VignetteDepends{} and %\VignettePackage{} are documented? I'm getting an error with %\VignetteDepends{} with my package name in braces. Looking at the vignettes on my system, some include the package name and some don't. Should it be there? If so, why might I be getting an error doing so? $ R CMD check SuperCurve
2009 Jan 15
1
[Q] R CMD check signals error on code that works from UI
Add the following to example section of a dot-Rd manpage: ## :WHY: The following kills R CMD check but runs fine on console. foos <- c("aaa", "bbb", "ccc") cat(sapply(foos, function(foo) { sprintf("name: %-18s upper: %s\n", foo, toupper(foo)) }), sep="") R CMD
2008 Jun 07
1
slot(obj, "nosuch") documentation question
Using slot() on object (or "@") and using a nonexistent slotname returns an error (see example code). R> setClass("foobar", representation=list(a="numeric")) [1] "foobar" R> foobar <- new("foobar", a=5) R> foobar at a [1] 5 R> foobar at b Error: no slot of name "b" for this object of class "foobar" The details