Displaying 20 results from an estimated 20000 matches similar to: "get() versus getAnywhere()"
2007 Jan 30
2
lattice: how to get 'lattice.theme'
I'm using lattice 0.14. As of version 0.5 the Changes says there is a
global list called 'lattice.theme'. How can I access this? I have tried
many ways, including
options(lattice.theme)
lattice.getOption("lattice.theme")
get("lattice.theme", envir = .LatticeEnv)
getFromNamespace("lattice.theme", "lattice")
2008 Oct 14
2
getAnywhere
Hi List,
I am trying to look up an object using getAnywhere, where the object I
am looking for is given by the _value_ of the variable I am looking
for. Since getAnywhere calls substitue on its argument it is looking
for an object with the name of the argument not its value. Is there a
way to work around this, or do I have to make my own getAnywhere
without the substitute?
This is an example to
2003 Sep 24
1
getAnywhere (PR#4275)
'getAnywhere' is not reporting methods when there are periods in the class name or the generic name
(in R-devel).
> getAnywhere( 'predict.loess')
A single object matching 'predict.loess' was found
It was found in the following places
registered S3 method for predict from namespace modreg
namespace:modreg
with value
<<...>>
> getAnywhere(
2005 Feb 11
3
getAnywhere and functions starting with "." (PR#7684)
Full_Name: Mark Bravington
Version: 2.0.1
OS: Windows XP
Submission from: (NULL) (140.79.22.104)
'getAnywhere' crashes when its argument starts with a period:
> getAnywhere( '.onLoad')
Error in exists(x, envir, mode, inherits) :
invalid first argument
One fix might be to replace the line
if ( !is.null(f <- getS3method(gen, cl, TRUE))) {
with
if ( nchar( gen)
2005 Feb 03
1
getAnywhere
Shouldn't this work?
> .a <- 5
> exists(".a")
[1] TRUE
> getAnywhere(".a")
Error in exists(x, envir, mode, inherits) :
invalid first argument
getAnywhere doesn't seem to like the "." prefix. Is this a bug?
Thanks,
Robert
Robert McGehee
Geode Capital Management, LLC
53 State Street, 5th Floor | Boston, MA | 02109
Tel: 617/392-8396
2007 Sep 21
2
getAnywhere
Hello,
How can I see a function called "+.dlm"?
> methods("+")
[1] +.Date +.dlm* +.POSIXt
Non-visible functions are asterisked
> getAnywhere("+.dlm")
Error in grep(pattern, x, ignore.case, extended, value, fixed, useBytes) :
invalid regular expression '+\.dlm'
Thanks in advance,
Giovanni
--
Giovanni Petris <GPetris at uark.edu>
2004 Jun 24
2
More problems with lattice and postscript
Dear List members,
I am trying to produce some trellis graphics and to save them in a
postscript file but I only get blank files. R behaviour is certainly
strange because I use a loop to generate the graphics (see code below).
When I change the loop variable myself the postscript graphics are OK.
I am using R 1.9.1 (2004-06-21) on Debian GNU/Linux which I try to keep
updated on a daily basis. I
2013 Apr 01
1
plm: Hausman Test error
Hi, I am trying to run a panel regression using 88 observations and 9
variables. In-built Hausman Test did not work, then I found a code for
auxiliary regression method for the Hausman test.
The panel models are:
fe=plm(gd ~ l+g+o+c+g1+h+n+r, model = "within", data = new.frame,index =
c("id"))
re=plm(gd ~ l+g+o+c+g1+h+n+r, model = "random", data = new.frame,index =
2008 Dec 15
2
R CMD check on window XP
Hi, there,
I used R CMD check to build my "ATGGS" package under window XP system. My R version is 2.7.2. But I encounter some problems. The log file is like:
**********************************************************************************
installing R.css in C:/ATGGS.Rcheck
---------- Making package ATGGS ------------
adding build stamp to DESCRIPTION
installing R files
2008 Dec 15
2
R CMD check on window XP
Hi, there,
I used R CMD check to build my "ATGGS" package under window XP system. My R version is 2.7.2. But I encounter some problems. The log file is like:
**********************************************************************************
installing R.css in C:/ATGGS.Rcheck
---------- Making package ATGGS ------------
adding build stamp to DESCRIPTION
installing R files
2003 Jul 11
1
getAnyhwhere behavior
I would have expected the function getAnywhere to have behaved
differently in the following:
> search()
[1] ".GlobalEnv" "file:C:/R/Rdata/miya/.Rdata"
[3] "package:boot" "package:methods"
[5] "package:ctest" "package:mva"
[7] "package:modreg"
2013 Mar 05
1
crossprod(): g77 versus gfortran
Hi
I've got two builds of R, one using g77 (version 3.4.6) and the other
using gfortran (version 4.1.2). The two builds are otherwise identical
as far as I can tell. The one which used g77 performs crossprod()s
roughly twice as fast as the gfortran one. I'm wondering if this rings a
bell with anyone, and if so, are you aware of any configure settings
which will improve the performance
2003 Aug 05
1
(PR#3658)
The function 'getAnywhere' crashes if given a non-existent name containing a period:
> getAnywhere( 'nomethod.noclassforme')
Error in get(x, envir, mode, inherits) : variable "nomethod" was not found
However, 'getAnywhere' behaves gracefully if the non-existent name lacks a period:
> getAnywhere( 'nomethod')
no object named `nomethod' was
2018 Feb 06
4
rJava garbage collect
Hi
Does rJava offer a way to instruct the JVM to perform a garbage collection?
Regards
Ben
2006 Oct 30
3
correlation structure in lme without random effect
I was hoping to fit along the lines of
g<-gl(20,5)
y<-runif(100)
fit<-lme(fixed=y~g,correlation=corAR1(0,~1|g))
But I get the error "Incompatible formulas for groups in "random" and
"correlation""
Any help would be greatly appreciated.
Ben
2018 Jan 10
5
OpenBLAS in everyday R?
I didn't do the compile; is there a way to check whether that was used?
If not, I'll inquire with our sysadmin and report back.
In any case, my suggestion was motivated by the fact that some parts of
R use OpenMP while others do not, in the hope that the former could have
their OpenBLAS omelet without breaking the OpenMP eggs, so to speak.
On 01/09/2018 06:41 PM, Keith O'Hara
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
Hmm, ok. In that case let me try again without my local changes. Maybe
they are getting in the way :-/
On Fri, Jan 26, 2018 at 9:51 AM Leonardo Santagada <santagada at gmail.com>
wrote:
> it is identical to me... wierd.
>
> On Fri, Jan 26, 2018 at 6:49 PM, Zachary Turner <zturner at google.com>
> wrote:
>
>> (Ignore the fact that my hashes are 8 byte in the
2006 Mar 30
2
custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)
Full_Name: Ben Tyner
Version: 2.2.0
OS: i686-pc-linux-gnu
Submission from: (NULL) (128.210.141.240)
My appologies if this has already been fixed, but I didn't see it in the
tracking system yet so I thought I'd report it. Demonstration:
xyplot(Petal.Length ~ Petal.Width | Species, iris,
strip = strip.custom(style = 1,
var.name = expression(beta),
2019 Dec 06
1
Error in close.connection(p) : ignoring SIGPIPE signal
Andreas,
How right you are! Still, I find it curious that in the context of the
while(TRUE) loop, I am allowed to do this 653 times, with failure on the
654th attempt. Perhaps there is something asynchronous going on? If I
eliminate the looping, it does indeed fail (as expected) on the first
attempt to close the pipe.
Regards
Ben
On 12/6/19 2:04 AM, Andreas Kersting wrote:
> Hi
2012 Feb 24
1
function remains loaded in the search space after detaching the package
I ran into some very irritating behaviour I don't understand. Let me
illustrate with the package gdata() and the function
print.object_size() :
> print(object.size(iris),units='Kb')
6.3 Kb
> getAnywhere(print.object_size)
A single object matching ?print.object_size? was found
It was found in the following places
registered S3 method for print from namespace utils