Displaying 14 results from an estimated 14 matches for "impenv".
2013 Oct 18
1
Possible problem with namespaceImportFrom() and methods for generic primitive functions
...sage if I check the package (with R CMD check), or even
if I try to load it using devtools::load_all()
I tried to investigate the problem, and I found that the error arises in
the base::namespaceImportFrom() function, and more precisely in
this block:
for (n in impnames) if (exists(n, envir = impenv, inherits = FALSE)) {
if (.isMethodsDispatchOn() && methods:::isGeneric(n, ns)) {
genNs <- get(n, envir = ns)@package
Here n is '[', and the get(n, envir = ns) expression returns
.Primitive("["), which is a function and has no @package slot.
This...
2009 Aug 17
2
S4 Generics and NAMESPACE : justified warning ?
...##
Index: src/library/base/R/namespace.R
===================================================================
--- src/library/base/R/namespace.R (revision 49278)
+++ src/library/base/R/namespace.R (working copy)
@@ -797,8 +797,12 @@
}
}
for (n in impnames)
- if (exists(n, envir = impenv, inherits = FALSE))
- warning(msg, " ", n)
+ if (exists(n, envir = impenv, inherits = FALSE)) {
+ if (.isMethodsDispatchOn() && methods:::isGeneric(n, ns)) {
+ if (methods:::isGeneric(n, impenv))
+ warning("replac...
2006 Sep 22
1
Possible bug in base::namespaceImportFrom?
Hi,
namespaceImportFrom in base/R/namespace.R has the following:
fdef <- methods:::getGeneric(genName, impenv)
The definition of getGeneric is in methods/R/RMethodUtils.R starts
with:
getGeneric <-
## return the definition of the function named f as a generic.
##
## If there is no definition, throws an error or returns
## NULL according to the value of mustFind.
funct...
2004 Aug 23
2
Installing package lattice
Here's another issue (that might well be operator error):
> install.packages("lattice")
...
...
** save image
Loading required package: grid
Error in importIntoEnv(impenv, impnames, ns, impvars) :
object(s) 'dev.list', 'cm.colors', 'gray', 'heat.colors' are not
exported by 'namespace:graphics'
Execution halted
ERROR: execution of package source for 'lattice' failed
** Removing '/usr/home/jgentry/R-devel/lib...
2007 Feb 11
2
problem with Matrix package
I decided to update my packages and then had a problem with loading the
Matrix package
http://cran.at.r-project.org/bin/windows/contrib/2.4/Matrix_0.9975-9.zip
This is what happened when I tried to load it in:
> library("Matrix")
Error in importIntoEnv(impenv, impnames, ns, impvars) :
object 'Logic' is not exported by 'namespace:methods'
Error: package/namespace load failed for 'Matrix'
>
I hadn't had this probldem before; any thoughts?
Andrew
--
Andrew Gelman
Professor, Department of Statistics
Professor, Dep...
2005 Jan 24
1
package dependency error on loading lme4
Hi all,
I recently (today) updated the Matrix package and installed the latticeExtra
package, but then when I tried to load the lme4 package, I got the following
error message:-
> library(lme4)
Loading required package: Matrix
Loading required package: latticeExtra
Error in importIntoEnv(impenv, impnames, ns, impvars) :
object(s) '.__C__lmeRep' are not exported by 'namespace:Matrix' Error in
library(lme4) : package/namespace load failed for 'lme4'
>
???????????????????????????????????
I'm running R 2.0.1 under WinXP as follows
> R.Version()
$p...
2005 May 24
1
lme4 package and importIntoEnv errors
...pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 2
minor 1.0
year 2005
month 04
day 18
language R
> library(lme4)
Loading required package: methods
Loading required package: Matrix
Loading required package: latticeExtra
Error in importIntoEnv(impenv, impnames, ns, impvars) :
objects 侊伩伣侊伩伣coef侊伩伣侊伩伣, 侊伩伣侊伩伣coef<-侊伩伣侊伩伣, 侊伩伣侊伩伣corMatrix侊伩伣侊伩伣, 侊伩伣侊伩伣matrix<-侊伩伣侊伩伣, 侊伩伣侊伩伣pdFactor侊伩伣侊伩伣, 侊伩伣侊伩伣pdMatrix侊伩伣侊伩伣 are not exported by 'namespace:Matrix'
Error: package/namespace load failed for 'lme4'
The Matrix and lattic...
2010 Feb 12
2
Help on loading "xlsx" package
...get rJava working.
However, the following error message results after inputting 'library(xlsx)'
command.
Any advice on resolving this issue would be highly appreciated.
Thanks.
> library(xlsx)
Loading required package: xlsxjars
Loading required package: rJava
Error in importIntoEnv(impenv, impnames, ns, impvars) :
object '‘.DollarNames’' is not exported by 'namespace:utils'
In addition: Warning messages:
1: package 'xlsx' was built under R version 2.10.1
2: package 'xlsxjars' was built under R version 2.10.1
3: package 'rJava' was built unde...
2007 Mar 01
0
Matrix Library failing to load
Dear R users
I am trying to load the package lmer4 but it seems the Matrix library is
failing to load and giving me the following error message :
>library(Matrix)
Error in importIntoEnv(impenv, impnames, ns, impvars) :
object 'Logic' is not exported by 'namespace:methods'
Error: package/namespace load failed for 'Matrix'
I have even reinstalled the Matrix package but it seems the problem is not
going away.
Regards,
Luwis Diya
Disclaimer: http://www...
2007 Nov 14
0
forecasting package installation errors
...solaris2.10/3.4.1/include/math.h:118:1:
warning: this is the location of the previous definition
gcc -G -L/opt/app/lib -R/opt/app/lib -o forecast.so etscalc.o
-L/opt/app/R-2.1.1/lib/R/lib -lR
** R
** data
** moving datasets to lazyload DB
** preparing package for lazy loading
Error in importIntoEnv(impenv, impnames, ns, impvars) :
object 'simulate' is not exported by 'namespace:stats'
Execution halted
ERROR: lazy loading failed for package 'forecast'
** Removing '/opt/app/R-2.1.1/lib/R/library/forecast'
** Removing '/opt/app/R-2.1.1/lib/R/library/fma'
** Remov...
2009 Feb 11
0
Beginner question about an Error message when loading SWinTypeLibs package
...permission message), but I downloaded it by searching it on google (from http://www.omegahat.org/R/bin/windows/contrib/2.7/)
2. when loading RDCOMClient and then SWinTypeLibs (v 0.5-1) package I get the following error message:
library(RDCOMClient)
library(SWinTypeLibs)
Error in importIntoEnv(impenv, impnames, ns, impvars) :
object '?createTypeVarName?' is not exported by 'namespace:RDCOMClient'
Error: package/namespace load failed for 'SWinTypeLibs'
I have installed both packages from ?local zip files? folder, as I have done with all other packages that I use.
My q...
2009 Nov 17
0
Problem loading fAssets.
...bustbase
> Le chargement a n?cessit? le package : timeDate
> Le chargement a n?cessit? le package : timeSeries
> Le chargement a n?cessit? le package : fBasics
> Le chargement a n?cessit? le package : fCopulae
> Le chargement a n?cessit? le package : adapt
> Error in importIntoEnv(impenv, impnames, ns, impvars) :
> les objets '?plot?, ?lines?, ?points?' ne sont pas export?s par 'namespace:timeSeries'
> Erreur : le chargement du package / espace de noms a ?chou? pour 'fAssets'
Two questions:
-1- Being quite new to R, I'm wondering what this mea...
2008 Jan 30
2
numeric coercion when one or more elements is non numerice
I don't understand this behavior. Why does the every data point get trashed by data.matrix when there is one non-numeric element in the array? Thanks.
> temp
GDP CPIYOY
19540 2098.1 garbage
19632 2085.4 0.9
19724 2052.5 0.8
19814 2042.4 1.1
> data.matrix(temp)
GDP CPIYOY
19540 4 4
19632 3 2
19724 2 1
19814 1
2004 Apr 23
7
trellis.device in .First (PR#6812)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@r-project.org
#
######################################################
<<insert bug report here>>
There are two bugs associated with graphics devices.