Which x? Not for 1, 10, Inf for example.
I did manage to make pf(Inf, 5, Inf) hang, but not under R-patched or
R-devel. It seems this is already fixed (please see the reporting
conditions in the FAQ or in the posting guide).
pf(Inf, n1, Inf) is the same code as pchisq(Inf, n1) and
Hi
it says in R-exts that
A method must have all the arguments of the generic,
including ... if the generic does.
A method must have arguments in exactly the same order as the
generic.
A method should use the same defaults as the generic.
So, how come the arguments for
At the moment, the 'pos' argument to 'library' defaults to 2. Would it
be possible to change this default to something functionally like the
following?
pos= if( is.null( pos.expr - getOption( 'library.pos.default.expr'))) 2
else eval( pos.expr)
The proposal is fully back-compatible in that 'pos'
Robin == Robin Hankin [EMAIL PROTECTED]
on Wed, 31 Aug 2005 08:09:15 +0100 writes:
Robin I am writing a rep() method for objects with class octonion, and
Robin my function rep.octonion() has argument list (x, times, length.out,
Robin each, ...)
On Wed, 2005-08-31 at 08:09 +0100, Robin Hankin wrote:
Hi
it says in R-exts that
A method must have all the arguments of the generic,
including ... if the generic does.
A method must have arguments in exactly the same order as the
generic.
A method should use the
There's definitely something a bit strange going on. The arguments as
passed to wireframePanelCalculations from the code snippet show only
6060 elements for the z vector (51,101,16 respectively for x,y,rot)
while the function routinely tries to access at positions in the z
vector 20,000...
I find it a bit peculiar that a package skeleton created with a utils
function package.skeleton() fails subsequent R CMD check. I do
understand that the function is intended to produce only a skeleton that
should be edited by the package author. I think that it would be
justified to say that the
Jari == Jari Oksanen [EMAIL PROTECTED]
on Wed, 31 Aug 2005 11:58:10 +0300 writes:
Jari I find it a bit peculiar that a package skeleton created with a utils
Jari function package.skeleton() fails subsequent R CMD check. I do
Jari understand that the function is intended to
One thing I forgot to add:
Did you try to include
- data frames
- other data
- S3 generics and methods
- S4 generics and methods
in the objects you gave to package.skeleton() ?
If we want to change the prompt*() functions such that
package.skeleton() produces a package that
On Mon, 29 Aug 2005, Prof Brian Ripley wrote:
On Sun, 28 Aug 2005, Prof Brian Ripley wrote:
After redirecting R 2.1.1 on my laptop to use
http://cran.au.r-project.org/
for the CRAN repository, the install.packages() command ran without
problems. I issued the command `library(MASS)'
On Wed, 2005-08-31 at 11:23 +0200, Martin Maechler wrote:
Since you didn't use text/plain as content type, your
attachment didn't make it to the list anyway,
Yeah, I noticed.
and you have a
second chance:
Please use a diff -u against
Windows XP, R-devel (2005-08-31 r35465)
tm - ISOdate(2005, 08, 29, hour = 12, tz = EST5EDT)
tm
[1] 2005-08-29 12:00:00 EDT
tm + 0
[1] 2005-08-29 12:00:00 EDT
tm + 3600
[1] 2005-08-29 13:00:00 EDT
tm + c(0,1) * 3600
[1] 2005-08-29 12:00:00 EDT 2005-08-29 13:00:00 EDT
(R 2.1.1 gives on my
I suggest you look at the code for .Call() in dotcode.c. I suspect the
problem is in dealing with R objects, however. You don't show how you get
from SEXPs to pointers to pass to Fortran, or what the Fortran routine
requires.
I don't understand how you can call the same function from C. How do
If I have an S4 object, and I make a copy, changes to the original
aren't reflected in the copy:
setClass(foo, representation(slot=numeric))
x - new(foo, slot=1)
y - x
[EMAIL PROTECTED] - 2
y
An object of class foo
Slot slot:
[1] 1
This is as it should be. However, if I call the slot
I just sent a bug report to [EMAIL PROTECTED] Unfortunately, the
message forwarding to r-devel failed. It appears that this occurred due an
interaction between the forwarding setup and SPF:
1) The forwarded message had From as [EMAIL PROTECTED],
2) Pfizer has SPF records
[Automatic forwarding from R-bugs failed. This message has been manually
forwarded.]
Hi all!
I'm trying to add Thomas Lumley's defmacro() function Lumley T.
Programmer's Niche: Macros in {R}, R News, 2001, Vol 1,
No. 3, pp 11--13, \url{http://CRAN.R-project.org/doc/Rnews/} to the gtools
This was reported on r-devel in April for 2.1.0, but isn't fixed in 2.1.1
see
http://tolstoy.newcastle.edu.au/~rking/R/devel/05/04/0586.html
# R --help
[ output omitted, until]
-g, --gui=TYPEUse TYPE as GUI; possible values are 'X11'
(default), 'none', 'Tk' and
Full_Name: Robert King
Version: 2.1.1
OS: Linux (debian stable, with backport R)
Submission from: (NULL) (142.58.147.28)
update.packages documentation (and code, from what I can make out) says:
ask: logical indicating whether to ask user before packages are
actually downloaded
[EMAIL PROTECTED] writes:
Full_Name: Robert King
Version: 2.1.1
OS: Linux (debian stable, with backport R)
Submission from: (NULL) (142.58.147.28)
update.packages documentation (and code, from what I can make out) says:
ask: logical indicating whether to ask user before packages
Hi,
I built R with Portland Group compiler, but I noticed one thing that
when I ran configure for the first time on AMD machine, I got the
following error:
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use
Jennifer Lai [EMAIL PROTECTED] writes:
Hi,
I built R with Portland Group compiler, but I noticed one thing that
when I ran configure for the first time on AMD machine, I got the
following error:
checking whether the C compiler works... configure: error: cannot run C
compiled
Milton Lopez wrote:
Duncan:
Thanks for your reply. Not being a part of the R world and having to assist
with these purchases, I have to ask what not yet means. I realize that this
is a difficult question to answer even for commercial software, but I am
hoping you or someone else on the
Duncan Murdoch [EMAIL PROTECTED] wrote:
I would implement it differently from the way you did. I'd call it
a rawConnection, taking a raw variable (or converting something else
using as.raw) as the input, and providing both text and binary
read/write modes (using the same conventions for text
23 matches
Mail list logo