François Pinard wrote:
Hi, R people.
In ?factor, in the Examples: section, we see:
## suppose you want NA as a level, and to allowing missing values.
(x - factor(c(1, 2, NA), exclude = ))
is.na(x)[2] - TRUE
x # [1] 1NA NA, NA used because NA is a level.
is.na(x)
# [1]
On Mon, 2 Jul 2007, Henrik Bengtsson wrote:
Hi,
is there a (cross-platform) file-locking mechanism available in R (or
via some package)?
I don't believe there really is a cross-platform file-locking mechanism
available to any language. File-locking is an OS feature, and the
semantics
DM == Duncan Murdoch [EMAIL PROTECTED]
on Mon, 02 Jul 2007 21:56:23 -0400 writes:
DM On 28/06/2007 5:05 PM, Peter Ruckdeschel wrote:
Hi,
I noticed a minor flaw in integrate() from package stats:
Taking up arguments lower and upper from integrate(),
Hi,
I'm writing some functions to generate Rd files for a S4 package. I want
to have 2 character vectors with the names of the S4 classes and the
methods exported by a package. To get the info about methods I'm using
getGenerics(where=package:FLCore) however I can not find a similar
process
Hi Ernesto,
As a hack,
library(FLCore)
Loading required package: lattice
FLCore 1.4-4 - Golden Jackal
these - ls(package:FLCore, all.names=TRUE)
res - metaNameUndo(these, prefix=C)
as.character(res)
[1] FLBiolFLBiols FLCatch FLFleet FLFleets FLIndex
[7] FLIndices FLQuant
Martin and I will soon release a new version of the Matrix package
with a modified API. This will affect the authors of any packages
that use calls to the C function R_GetCCallable to directly access C
functions in the DLL or shared object object in the libs directory of
the Matrix package. (If
While termplot is under discussion, here's another proposal. I'd like to
change the default for partial.resid to TRUE, and for smooth to
panel.smooth. I'd be surprised if those changes were to break existing
code.
John Maindonald email: [EMAIL PROTECTED]
phone : +61 2 (6125)3473
While termplot is under discussion, here's another proposal. I'd like to
change the default for partial.resid to TRUE, and for smooth to
panel.smooth. I'd be surprised if those changes were to break existing code.
John Maindonald email: [EMAIL PROTECTED]
phone : +61 2 (6125)3473
I would appreciate some pointers on how to set up a doxygen
configuration file for C source code. In particular I would like to
be able to generate a call graph. I tend to write a lot of short
utility functions and, by the time the final design reveals itself, it
is quite possible that some of
Dear all,
the 'inline' package was updated to version 0.2.2 with the following
changes:
- functions declared using 'cfunction' can now be saved, the code
is recompiled when the object is loaded (not yet implemented
for setCMethod)
- full path to the R binary is used for compilation
Thanks Martin and Duncan for your
comments,
Martin Maechler wrote:
DM == Duncan Murdoch [EMAIL PROTECTED]
on Mon, 02 Jul 2007 21:56:23 -0400 writes:
DM On 28/06/2007 5:05 PM, Peter Ruckdeschel wrote:
Hi,
I noticed a minor flaw in integrate() from package stats:
PetRd == Peter Ruckdeschel [EMAIL PROTECTED]
on Tue, 03 Jul 2007 17:26:43 +0200 writes:
PetRd Thanks Martin and Duncan for your
PetRd comments,
PetRd Martin Maechler wrote:
DM == Duncan Murdoch [EMAIL PROTECTED]
on Mon, 02 Jul 2007 21:56:23 -0400 writes:
DM
I don't want this thread to be lost, so I've changed the subject heading.
I think there's a problem here, but the problem is that update() is
failing, not that the environment is being unnecessarily saved. The
problem here is that update() has no method specific to lm objects, so
it doesn't
On 7/3/2007 11:55 AM, Martin Maechler wrote:
PetRd == Peter Ruckdeschel [EMAIL PROTECTED]
on Tue, 03 Jul 2007 17:26:43 +0200 writes:
PetRd Thanks Martin and Duncan for your
PetRd comments,
PetRd Martin Maechler wrote:
DM == Duncan Murdoch [EMAIL PROTECTED]
on
I think throwing an error is a better solution: this is rather unlikely to
be deliberate and returning NaN might postpone the detection too long.
On Tue, 3 Jul 2007, Duncan Murdoch wrote:
On 7/3/2007 11:55 AM, Martin Maechler wrote:
PetRd == Peter Ruckdeschel [EMAIL PROTECTED]
on Tue,
If integrate is changed it would be nice at the same time to make it
into an S3 generic. deriv already is an S3 generic but strangely integrate
is not. Ryacas provides a deriv method but for integrate Ryacas inconsistently
provides Integrate since integrate is not generic.
On 6/28/07, Peter
Hi,
I am wondering if there is a parameter in library() so that it can
reinforce package to be reloaded. It helps when you test your modified
package by yourself. Otherwise, my way is to re-start Rgui.
(by reading ?library, I understand this option is not implemented)
...Both functions check and
Please don't post to multiple lists: I am replying only to R-devel.
You should detach your package, and if it has a namespace unload it,
before attempting to reload it. Something like
detach(package:foo)
library(foo)
or
unloadNamespace(foo) # this also detaches the package
library(foo)
If
18 matches
Mail list logo