Displaying 20 results from an estimated 800 matches similar to: "R 2.9.0 devel: package installation with configure-args option"
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
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
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 May 15
1
getNamespaceExports("base") error
Hi!
>getNamespaceExports("base")
Error in ls(NULL, all = TRUE) : using 'as.environment(NULL)' is defunct
getNamespaceExports
function (ns)
{
ns <- asNamespace(ns)
if (isBaseNamespace(ns))
ls(NULL, all = TRUE)
else ls(getNamespaceInfo(ns, "exports"), all = TRUE)
}
<environment: namespace:base>
One possible way to fix this could be
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
--
2010 Apr 22
2
RUnit bug?
There appears to be a bug in RUnit.
Given a testsuite testsuite.math, say, when I run:
runTestSuite(testsuite.math)
this works fine, provided there are no extraneous files in the
unit test subdirectory.
But if there are any Emacs temp files (with names that
end with '~') then runTestSuite gets confused and tries to
run functions from the temp files as well.
[[alternative HTML version
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
2009 Jan 15
2
R package tests
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I was wondering if anyone could point me in the right direction for reading up on writing tests in
R. I'm writing some functions for inclusion into a package and would like to test them to ensure
they're doing what I expect them to do.
Are these approaches used for testing packages in CRAN?
Cheers,
Nathan
- --
-
2009 Mar 05
3
methods package
I'm working on the next version of coxme, one step of which is converting
the bdsmatrix library from Splus to R. Actually, it is a conversion from
S4 methods as first described in the Green book to S4 methods as they
currently exist. Mostly it's going ok, but not entirely.
1. The biggest issue is lack of documentation. The online help pages have
not been a help; they keep saying
2009 Apr 29
2
if condition doesn't evaluate to True/False
Hi friends,
Please help me with this bug.
*Bug in my code:*
In this variable sub_grp_whr_cls_data[sbgrp_no,1] I store the where
clause.every sub group has a where condition linked with it.
Database1
Where clause was not found for a particular subgroup,
sub_grp_whr_cls_data[sbgrp_no,1] value was NULL
So the condition (*sub_grp_whr_cls_data[sbgrp_no,1]=="NULL" ||
2009 Feb 22
3
Error in var(x, na.rm = na.rm) : no complete element pairs
Hello all,
I'm trying to calculate the standar desviation and I'm using the function sd(x,na.rm=TRUE) and I have this error:? Error in var(x, na.rm = na.rm) : no complete element pairs . Why happen this?, What can I do to solve it?. x is list of three numbers which I have from a table.
Thanks so much from Spain
Carlos Morales Diego
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
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
2011 Mar 30
3
optim and optimize are not finding the right parameter
Dear all,
I have a function that predicts DV based on one predictor pred:
pred<-c(0,3000000,7800000,15600000,23400000,131200000)
DV<-c(0,500,1000,1400,1700,1900)
## I define Function 1 that computes the predicted value based on pred
values and parameters a and b:
calc_DV_pred <- function(a,b) {
DV_pred <- rep(0,(length(pred)))
for(i in 1:length(DV_pred)){
DV_pred[i] <- a *
2019 Apr 22
1
Bug/limitation: allowoptions (for label), implicit (for automated)
Hello,
At the boot prompt ALLOWOPTIONS 0 is only applied to implicit kernels and not to labels. For configuration which want to allow selection, but prevent customization of the kernel command line, this behaviour is bad.
Also the IMPLICIT 0 is applied to both the boot prompt and configuration setting (like DEFAULT); but one could argue that only the command supplied at the prompt make sense to
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
2009 Jun 05
4
[LLVMdev] llvmc for PIC16
> I'll be happy to answer any further questions you may have, feel free to e-mail
> me directly (though right now our mail server is down)
>
The salient features that we want to have in the driver are:
1. llvm-ld will be used as "The Optimizer".
2. If the user has specified to generate the final executable, then
llvm-ld should run on all the .bc files generated by clang
2011 Jun 19
2
[LLVMdev] Phase Interactions
Dear all,
I am doing few experiments to do understand optimization phase
interactions. Here is a brief description of my experiements.
1. I picked the list of machine independent optimizations acting on
llvm IR (those that are enabled at O3).
2. for each optimzation in the optimization-list
a) Compiled the program using 'clang -c O0 -flto program.c'
b) opt