search for: loadmethod

Displaying 6 results from an estimated 6 matches for "loadmethod".

2011 Oct 15
2
.onLoad failing because could not find function "loadMethod"
...ange warning happen sometimes when running 'R CMD check': * checking whether the package can be loaded with stated dependencies ... WARNING Error : .onLoad failed in loadNamespace() for ?pkgB?, details: call: length(new("A")) error: could not find function "loadMethod" Error: package/namespace load failed for ?pkgB? Execution halted It looks like this package (or one of its dependent packages) has an unstated dependence on a standard package. All dependencies must be declared in DESCRIPTION. See the information on DESCRIPTION files in th...
2009 Mar 24
1
problem with Rscript
...t.R": print(69) That's it, just the single print line in the file. Now, when I try to execute this file using Rscript (using the same flags I've used successfully in the past): Rscript --restore --no-save test.R I get this error: Error in print(69) : could not find function "loadMethod" Execution halted This problem seems to be isolated to Rscript, not R, as the following command works just fine: R --restore --no-save < test.R has anyone ever seen anything like this with Rscript? And maybe shed some light on why "loadMethod" can't be found when starting...
2005 Jun 02
1
showMethods doubt
..."addNextMethod": <Empty Methods List> Function "body<-": <Empty Methods List> Function "coerce": <Empty Methods List> Function "initialize": .Object = "myclass" (inherited from .Object = "ANY") Function "loadMethod": <Empty Methods List> Function "show": object = "myclass" (inherited from object = "ANY") NULL mymeth does not show on that list, why ? Regards EJ
2015 May 04
2
Problem with adding slots to S4 object
Dear all, I'm trying to create a virtual S4 class with some subclasses. I noticed that adding slots to this class increases the memory use and slows the functions down. Note that I'm adding very small slots (integer or character both of length 1). I've made a reproducible example at https://github.com/ThierryO/testvirtualclass. The R CMD check --as-cran fails on the tests. Some of
2015 May 05
1
Problem with adding slots to S4 object
...uot; 1.42 0.78 1.42 0.78 > "match" 0.58 0.32 0.58 0.32 > "[[" 0.54 0.30 0.54 0.30 > ".getClassFromCache" 0.08 0.04 0.08 0.04 > "loadMethod" 0.06 0.03 0.06 0.03 > > $by.total > total.time total.pct self.time self.pct > "eval" 182.52 100.00 0.00 0.00 > "my_lmer" 182.52 100.00...
2015 May 05
0
Problem with adding slots to S4 object
...uot;unique.default" 1.42 0.78 1.42 0.78 "match" 0.58 0.32 0.58 0.32 "[[" 0.54 0.30 0.54 0.30 ".getClassFromCache" 0.08 0.04 0.08 0.04 "loadMethod" 0.06 0.03 0.06 0.03 $by.total total.time total.pct self.time self.pct "eval" 182.52 100.00 0.00 0.00 "my_lmer" 182.52 100.00 0.00 0.00 "sour...