similar to: Possible problem with namespaceImportFrom() and methods for generic primitive functions

Displaying 20 results from an estimated 200 matches similar to: "Possible problem with namespaceImportFrom() and methods for generic primitive functions"

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
2009 Aug 17
2
S4 Generics and NAMESPACE : justified warning ?
Dear list, It seems that a package (pkgB) using another package (pkgA) with S4 generics formed by taking existing functions (for example 'plot') must not import the existing functions ('plot') in its namespace to avoid the warning "replacing previous import: plot". Suppose we use the simple 'import' directive in the name space of pkgB. pkgA and pkgB files would
2012 Apr 05
1
issue with base:::namespaceImportMethods
Hi, I've noticed an issue with S4 methods and namespaces which only arises in particular, difficult to reproduce configurations. One example is the ggbio package in Bioconductor, which currently emits these warnings when its namespace is loaded: ---------------------- library(ggbio) Loading required package: ggplot2 Attaching package: ‘ggbio’ The following object(s) are masked from
2008 Jun 14
1
How to see data for a package built under Windows
I have followed the instructions on how to build a Windows package and everything seems to work EXCEPT that I can't see the data files that I have loaded into the data directory. I have placed the appropriate data in the data directory (as in the instructions). There are 3 data sets, which I can see when I use the command in R. Details below. I have searched everywhere to try to fix this, but
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
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:
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
2005 Apr 05
1
nlme & SASmixed in 2.0.1
I assigned a class the first problem in Pinheiro & Bates, which uses the data set PBIB from the SASmixed package. I have recently downloaded 2.0.1 and its associated packages. On trying library(SASmixed) data(PBIB) library(nlme) plot(PBIB) I get a warning message Warning message: replacing previous import: coef in: namespaceImportFrom(self, asNamespace(ns)) after library(nlme) and a
2005 May 24
1
lme4 package and importIntoEnv errors
I've used packages for some years now and seldom had any trouble using the tgz files. Now I've come across something I've never seen before. > version _ platform i686-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
2010 Feb 12
2
Help on loading "xlsx" package
Dear R users, Im trying to load *"xlsx"* package which depends on *"xlsxjars"* and * "rJava"* packages. All the 3 packages (zipped files) are installed successfully in windows. I have added "C:\Program Files\Java\jre1.6.0_03\bin\client" to the PATH variable to get rJava working. However, the following error message results after inputting
2023 Apr 09
1
can't install nser...
Dear members, I can't install "nser" package. It is not in cran but install_version and install_github both are not working: > install_version("nser",version = "1.4.0") Downloading package from url: https://cran.rstudio.com//src/contrib/Archive/nser/nser_1.4.0.tar.gz These packages have more recent versions available. It is
2023 Apr 09
1
can't install nser...
It says that nser requires the most recent version of magrittr that you do not have installed. You must update magrittr before attempting to install nser: update.packages(oldPkgs = "magrittr") or at the prompt you were presented before, choose to update magrittr before installing nser. On Sun, Apr 9, 2023, 17:55 akshay kulkarni <akshay_e4 at hotmail.com> wrote: > Dear
2008 Apr 28
0
method dispatch conflict?
Hi, I vaguely recall this was discussed in the past, but I cannot remember the context. The code below shows the problem: ---<---------------cut here---------------start-------------->--- R> library(stats4) R> library(lme4) Loading required package: Matrix Attaching package: 'Matrix' The following object(s) are masked from package:stats : xtabs
2004 Oct 06
1
R 2.0.0: namespaces, S4 classes & versioned package installation: failure to resolve correct pkg version
Hi, further down from the problem I asked about yesterday I encounter the following problem (please appologize for the lengthy mail - I have not found a brief example making the issue clear): - using R packages making use of namespaces & - S4 classes when using --with-package-versions in the install call: Pkgs install ok and the first pkg 'base' can be loaded in R
2007 Dec 03
0
Make error while installing R 2.6.1 on GNU/linux
Hello there, I am having trouble installing R-2.6.1 on GNU/linux. Here is how I configure and run it: ./configure --with-x=no --enable-R-shlib make The configure step is uneventful, the tail end of make follows. Does anyone have any experience with that? Thanks a lot in advance for any suggestions. gcc -std=gnu99 -shared -L/usr/local/lib -o stats.so init.o kmeans.o ansari.o bandwidths.o
2009 Feb 11
0
Beginner question about an Error message when loading SWinTypeLibs package
Hi List, I am trying to learn something about the exchange facilities between R and Windows Application with the RDCOMClient package from (http://www.omegahat.org/RDCOMClient/) and I have faced 2 problems: 1. I could not follow the link for the binary version of SWinTypeLibs package on the site, (as it has given me a restricted permission message), but I downloaded it by searching it on google
2005 Jul 11
2
Misbehaviour of DSE
Folks, I am finding problems with using "dse": > library(dse1) Loading required package: tframe Error: c("package '%s' required by '%s' could not be found", "setRNG", "dse1") > library(dse2) Loading required package: setRNG Error: package 'setRNG' could not be loaded In addition: Warning message: there is no package called
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
2007 Nov 14
0
forecasting package installation errors
R gurus, I've exhausted my search of online help. This is my last resort. We're running R-2.1.1. I've been told by one of the R users here that we cannot upgrade to the lastest version because of some python rpy wrapper dependency that hasn't caught up to the latest version of R. The software is running on Solaris 10 x86. Gcc version is 3.4.1. R is installed in
2009 Nov 17
0
Problem loading fAssets.
Hello. I'm using the fAssets package from the Debian distribution. I've been experiencing the following behaviour: > yziquel at seldon:~$ R > > R version 2.9.2 (2009-08-24) > Copyright (C) 2009 The R Foundation for Statistical Computing > ISBN 3-900051-07-0 > > R est un logiciel libre livr? sans AUCUNE GARANTIE. > Vous pouvez le redistribuer sous certaines