Hi,
I stumbled across the following (unexpected for me) behavior after
replacing a return() statement in the middle of a function by invisible().
Example:
foo <- function() { cat("before\n"); return(); cat("after\n")}
>foo()
before
NULL
foo2 <- function() { cat("before\n"); invisible(TRUE); cat
2005, Matthias Burger wrote:
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.
This is related to the question about sum(num
r occurs in R 1.9.1 and R 2.1.0 devel: 2005-02-07
> version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major2
minor0.1
year 2004
month11
day 15
language R
--
Matthias Burger Project Manager/ Bio
Prof Brian Ripley wrote:
On Wed, 4 Aug 2004, Matthias Burger wrote:
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?
I've just successfully done
all
library("RIO")
file Namesapce defines (amoung other directives):
useDynLib(RIO)
I also tryed
useDynLib("RIO_1.4.0")
to no avail. But RIO/libs contains the file RIO.so anyway.
I checked in 'Writing R Extensions" section 'Package name spaces' but did not
f
] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
--
Matthias Burger
Bioinformatics R&D
Epigenomics AG www.epigenomics.com
Kleine Präsidentenstraße 1 fax: +49-30-24345-
r that R couldn't replace it with a _far_
better and _far_ less idiosyncratic framework. I'd be
interested in working on a Matlab equivalent DSP package for
R (if that isn't being done by someone) and one of the
things most criticized about Matlab from the standpoint of
th
ECTED])
[1] "integer" "vector" "numeric"
So providing an explicit cast in the prototype cures the problem.
HTH,
Matthias
Laurence Kell
CEFAS Lowestoft Laboratory
Pakefield Road
Lowestoft, NR33 0HT
UK
Tel +44 1502 52 42 57
Fax +44 1502 52 45 11
e-mail [EMAIL PROTECTED]