Displaying 20 results from an estimated 200 matches similar to: "getNamespaceExports("base") error"
2007 Apr 26
2
ifelse behaviour
Hi!
I'm puzzled by the return value of ifelse
consider
x<-integer(0)
ifelse(is(x, "character"), paste(x), x)
[1] NA
whereas
if (is(x, "character")) return(paste(x)) else x
[1] integer(0)
or
x<-integer(1)
ifelse(is(x, "character"), paste(x), x)
[1] 0
work as I had anticipated. Is this correct behaviour?
Regards,
Matthias
>sessionInfo()
R
2007 Mar 15
4
R 2.5.0 devel try issue in conjuntion with S4 method dispatch
Hi,
after updating R 2.5.0 devel yesterday we today observed many new
unexpected failures in our daily package build and test system runs,
which can be traced to recent changes in the implementation in try()
(as noted in NEWS).
Investigating this new implementation I come across an issue in
conjuntion with using S4 classes and methods. try(expr) does not return an
object with attribute
2012 Aug 26
2
Package "datasets" not exporting anything on a recent R-2.15.1-patched
Hi,
I just stumbled on the following apparent oddity: the package "datasets"
does not appear to export anything out of its namespace:
> ns_datasets <- getNamespace('datasets')
> getNamespaceExports(ns_datasets)
character(0)
Not the case with other packages (example here with "utils"):
> ns_utils <- getNamespace('utils')
>
2009 Mar 03
1
R 2.9.0 devel: package installation with configure-args option
Hi,
trying
to install a package containing C code and requiring non-default configure argument
settings the incantation (this has worked for R <= 2.8.1 on the same architectures)
R CMD INSTALL --configure-args="--with-opt1 --with-opt2" packname
does always result in a warning
Warning: unknown option '--with-opt2'
and consequently the option is ignored. Reverting the order
2009 Sep 01
1
R devel repository tarball naming issue
Hi,
we noticed that since some time after Aug 24th the daily snapshots provided on
ftp://ftp.stat.math.ethz.ch/Software/R/
no longer have their default tarball file name
but dropped the date stamp, i.e. R-devel_.tar.bz2
Same for R-patched snapshots.
Could one of the maintainers please take a look. We rely on the default naming convention
for automatic builds.
Regards,
Matthias
--
2009 Apr 16
1
R (2.9.0 rc) CMD INSTALL will leave OOLOCK folder even if installation succeeded
Hi,
since a couple of days ago I see failures when using
R CMD INSTALL -l lib path-to-src/pkg.tar.gz
This occurs in automated library updating via a shell script and is caused by the
immediate preceding call to leave an 00LOCK folder
even though the package installation of that call succeeded.
This occurs at random (no obvious/systematic correlation to package name or or such) and
only for
2004 Jul 21
1
Avoid return code 24 (file vanished) with command line option?
Hi!
Is it possible to avoid this error condition by specifying a command
line option? I haven't found an obvious one in the manual.
Background: We are using rsync for a live backup of our home
directories. Emails are stored in Maildir format within the
homedirectories. The rsync process is running for some time and in the
meantime emails get deleted because users still have IMAP access.
The
2006 Aug 31
1
S4 Method Dispatch for Sealed Classes
Hi,
I encounter a problem with method dispatch with S4 classes, using the
'sealed' parameter in setClass.
See that example below:
setClass("X",representation(x="numeric"),sealed=TRUE)
setGeneric("foo",function(x) standardGeneric("foo"))
setMethod("foo",signature("X"),function(x) print("foo(X)"))
x <-
2007 Sep 14
1
namespace prefix issue with avelsieve
Hi!
I am currently testing a setup with dovecot's lda, the cmusieve plugin,
pysieved and the avelsieve plugin for squirrelmail.
The issue I am stumbling upon is that avelsieve is generating folder
names including the namespace prefix when creating "fileinto" rules.
E.g.:
A rule:
If the header "Precedence" contains "bulk", then file it into
the folder
2007 May 30
1
dovecot scaling issue?
Hi!
We are running dovecot-imapd on Debian sarge out of the backports.org
packages (version 1.0.rc15-1~bpo1).
We have ~ 80 clients using secure IMAP.
I understand that imap-login has to run for every SSL connection. Thus I
already increased the max value for the number of imap-login processes.
But unfortunately dovecot is unresponsive from time to time. Where can
I tune the installation? Do I
2004 Oct 05
1
R 2.0.0: problem: installing --with-package-versions
Hello R developers,
installing R 2.0.0 from source on a Linux Debian system (gcc 3.2.2)
- which worked just fine - I encountered the following problem when trying to
update/install packages with the option --with-package-versions:
example: RUnit 0.4.0 (also on CRAN)
R20 CMD INSTALL -l /mnt/local/R/R-2.0.x-libs-EpiR --with-package-versions
RUnit_0.4.0.tar.gz
or after untaring
R20 CMD INSTALL
2005 Feb 09
3
behaviour of all(NULL == c("a", "b"))
Hi all,
I'm a little surprised at
> NULL == c("a", "b")
logical(0)
> all(NULL == c("a", "b"))
[1] TRUE
Reading the documentation for all() this was not clear for me to be expected.
Originally the question came up when using
> match.arg(NULL, c("a", "b"))
[1] "a"
where I had thought an error would occur.
So
2004 Aug 04
1
installing package with version number using namespaces & dynamic library
Hi,
I wonder whether a package with namespace & dynamic library can be installed
with the version number attached, ie. with the argument --with-package-versions.
Is this currently possible?
Using R 1.9.1 on Debian 3.0 I encounter a problem when trying to load a package
installed with
R91 CMD INSTALL --with-package-versions -l /mnt/local/R/R-1.9.x-libs-EpiR RIO
in R started with
R91
2002 Oct 04
0
RMySQL_0.5-0 installation problem
Hi,
in the process of upgrading to R 1.6.0 I tried to install the latest RMySQL
(0.5-0) package (Omegahat).
The following error was reported
[...]
gcc -I/mnt/local/R/R-1.6.0/lib/R/include -I/usr/include/mysql
-I/usr/local/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c RS-MySQL.c
-o RS-MySQL.o
RS-MySQL.c: In function `RS_MySQL_newConnection':
RS-MySQL.c:203:
2003 Apr 17
3
R 1.7.0 installation problem: make check fails when using --with-lapack option
Greetings,
compiling R 1.7.0 with gcc 3.1.1 on Debain Linux (woody stable) with the
configure option --with-lapack works but make check fails in test base-R with
the message
[...]
> kappa(x1 <- cbind(1,1:10))# 15.71
[1] 15.70590
> kappa(x1, exact = TRUE) # 13.68
[1] 13.67903
> kappa(x2 <- cbind(x1,2:11))# high! [x2 is singular!]
[1] 8.351867e+16
>
> hilbert
2003 Jul 03
1
S4 method and S3 method with same name: potentially dangerous?
Dear list,
yet another question on S4 method behaviour or rather its side effects:
Consider the following example (see below) where a new S4 method 'predict' is
defined which by doing so makes 'predict' a S4 standardGeneric.
It works and simple test examples run but I'm cautious whether this is a 'silly'
thing to do.
Is this a dangerous thing to do, already known to
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
2003 Jun 24
1
S4 method setClass prototype definition question
Dear list,
this is not a problem report -- I would like to ask for advise what the
recommended and safe way to perform the following is or what problems might
arise in doing it differently.
The question is: What is the recommended way of providing a default value in a
prototype statement for a derived class for a slot provided from a parent class?
I have first consulted the methods package
2015 Jan 26
2
speedbump in library
>>>>> Michael Lawrence <lawrence.michael at gene.com>
>>>>> on Mon, 26 Jan 2015 05:12:55 -0800 writes:
> A isNamespaceLoaded() function would be a useful thing to
> have in general if we are interested in readable code. An
> efficient implementation would be just a bonus.
Good point (readability), and thank you for the support!
Note
2019 Feb 18
2
Error in rbind(info, getNamespaceInfo(env, "S3methods"))
Dear all,
I'm experiencing an unusual installation error for one package. Could
anyone suggest how I can best investigate this from here please? I'm sorry
this isn't very much to go on. Hopefully someone can point me in the right
direction.
The problem seems to be my library. It is large (3,418 packages) and I'd
like to avoid rebuilding it, if possible. All packages are up to