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] 1 NA, used because NA is a level.
> is.na(
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 d
> "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
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
proces
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] "FLBiol""FLBiols" "FLCatch" "FLFleet" "FLFleets" "FLIndex"
[7]
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 y
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)3473fa
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)3473fa
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 th
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 al
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 integrat
> "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
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 kn
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 Mur
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]>
>>>
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 Ruck
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)
Full_Name: Michael Toews
Version: R 2.5.1
OS: WinXP; SP2
Submission from: (NULL) (142.58.206.114)
To reproduce this crash:
1. Start a new R session normally in Windows
2. Type (an example command): "boxplot(" without pressing enter
3. Copy this text: "c(1,2,6,4,7,3)"
4. Bring Rgui.exe back in foc
19 matches
Mail list logo