similar to: R-alpha: system() NOT ok

Displaying 20 results from an estimated 10000 matches similar to: "R-alpha: system() NOT ok"

1997 Apr 08
1
R-alpha: rbind
rbind() does something strange to dimnames R : Copyright 1997, Robert Gentleman and Ross Ihaka Version 0.50 Beta (April 1, 1997) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type "license()" for details. > test1 <- data.frame(time= c(4, 3,1,1,2,2,3), + status=c(1,NA,1,0,1,1,0), + x= c(0,
1998 Feb 26
2
R-beta: question on dyn.loaded code
Hi, when designing libraries for R, is it possible to call C/Fortran subroutines from other dynamically loaded code? The following example crashes R: ********* fn1.c ***************** void twice(int *i) { *i = 2 * *i; } ********************************* ********* fn2.c ***************** extern int twice(int *i); void negtwice(int *i) { *i = -1 * twice(i); }
1998 Feb 26
2
R-beta: question on dyn.loaded code
Hi, when designing libraries for R, is it possible to call C/Fortran subroutines from other dynamically loaded code? The following example crashes R: ********* fn1.c ***************** void twice(int *i) { *i = 2 * *i; } ********************************* ********* fn2.c ***************** extern int twice(int *i); void negtwice(int *i) { *i = -1 * twice(i); }
1997 Jul 25
2
R-beta: R 0.50 alpha
The new code seems to have broken various things. Autoloading of libraries doesn't seem to work: > library(survival4) Autoloading required library: splines Error in pos.to.env(pos) : invalid "pos" argument > search() [1] ".GlobalEnv" "library:survival4" "library:date" [4] "library:base" The coxph function the
1997 Jul 25
2
R-beta: R 0.50 alpha
The new code seems to have broken various things. Autoloading of libraries doesn't seem to work: > library(survival4) Autoloading required library: splines Error in pos.to.env(pos) : invalid "pos" argument > search() [1] ".GlobalEnv" "library:survival4" "library:date" [4] "library:base" The coxph function the
1997 May 13
2
R-alpha: Patch2
There is a problem with the patch I sent out yesterday. The patches for the glm code are applied in the wrong place. I have removed the patch file and will have a real one available latter today. Ross =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help",
1997 Jun 27
1
R-alpha: NA in data frame not detected
NA's in a data frame are not handled properly, if the data frame was read in using read.table (but I'm not sure if that is the reason of the problems): (I'm using Debian Linux 1.3) If I read the file *************** 1 2 2 3 3 4 4 5 ? 6 6 7 7 8 8 9 *************** into R using read.table I run into troubles: R : Copyright 1997, Robert Gentleman and Ross Ihaka Version 0.49 Beta
1997 Oct 10
1
R-beta: leaps() and subsets() functions
Dear R-users, Is anyone successfully using leaps() and particularly subsets() (contributed function) in R? When I attempt to run them with modest matrices, R promptly faults and dumps the core. Also, how does one use subsets.formula() within subsets()? R : Copyright 1997, Robert Gentleman and Ross Ihaka Version 0.50 Alpha-4 (September 10, 1997) R-base-0.50.a4-1.i386.rpm
1997 May 08
1
R-alpha: Equations in Plots
Paul Murrell and I are making some progress with making mathematical expressions available in graphs. The idea is to use R expressions to represent the mathematical expressions. So far we have (or will soon have): R LaTeX x^i x^i x[i] x_i alpha \alpha Alpha \Alpha hat(x) \hat{x} \widehat{x} bar(x) \bar{x} \overline{x} x+y x+y x-y x-y x/y x/y (x) (x) {x} {x} frac(x,y)
1997 Aug 12
2
R-alpha: Matrix Class
The have been a few prods to create an S-like matrix class for R. A major reason for having a matrix class seems to be that people get bitten by the default behavior of the drop= parameter to "[". That being the case does it make sense to change the semantics of "[" rather than introducing a new class? I'm just wondering because I'm in a "smaller is better"
1997 Apr 29
1
S Compatibility (Was: Re: R-beta: 'all.names' function -- failing as.list( _function_ ))
Peter Dalgaard writes: > Ross Ihaka <ihaka at stat.auckland.ac.nz> writes: > > Many of the incompatibilities result from us not being familiar with > > some of the inner mysteries of S - these are generally pretty easy to > > fix. Some incompatibilities however result from the fact that R > > started life as a kind of Lisp interpreter. These can be quite a bit
1997 Jun 25
3
R-alpha: lbeta, ctrl-C and crashes
1. lbeta and beta do not work properly: lbeta returns its first argument and beta gives the lbeta result. In names.c lines 245-6, the codes for these should be 2 and 3 instead of 1 and 2 2. crtl-C does not work (except the first time) on Red Hat elf Linux (which has many many other problems as well) nor on the previous version of Linux for Amiga. It worked on Slackware aout Linux and now works
1997 Jun 25
3
R-alpha: lbeta, ctrl-C and crashes
1. lbeta and beta do not work properly: lbeta returns its first argument and beta gives the lbeta result. In names.c lines 245-6, the codes for these should be 2 and 3 instead of 1 and 2 2. crtl-C does not work (except the first time) on Red Hat elf Linux (which has many many other problems as well) nor on the previous version of Linux for Amiga. It worked on Slackware aout Linux and now works
1997 Apr 15
1
R-alpha: Bug & Patch in dbeta.c (0.50 - PreR 7)
dbeta(1, a,b) would return 1 instead of 0. Here is the patch for ..../src/math/dbeta.c : --- dbeta.c~ Sun Nov 24 23:43:10 1996 +++ dbeta.c Tue Apr 15 21:25:30 1997 @@ -23,9 +23,7 @@ { if (a <= 0.0 || b <= 0.0) DOMAIN_ERROR; - if (x <= 0) + if (x <= 0 || x >= 1.0) return 0.0; - if (x >= 1.0) - return 1.0; return MATH_CHECK(pow(x, a - 1) * pow(1.0 - x, b - 1.0) /
1997 Jun 20
2
R-beta: purpose of n in identify() function?
I think I am misunderstanding something about the identify() function. if we have an example such as this: > x_1:10 > y_1:10 > plot(x,y) > identify(x,y, n=1) [1] 2 3 > I clicked on two points and identify() returned both of them (2 and 3). The manual says n is the maximum number of points to be identified. If I specify n=1, should identify() return a single value?
1997 Aug 08
4
R-alpha: Second patch for 0.50-a1
A second patch for R-0.50-a1 is available from ftp://stat.auckland.ac.nz/pub/R The patch produces the following changes o cpoly problem with pow_di fixed. o legend had a call to "text" with an incorrect argument tag. Changed "text" to "labels". o The variable "dup" was uninitialised in the function "naoktrim" in
1997 Aug 11
1
R-alpha: R 0.50.a3 family.lm()
The following patch adds a trivial family method for linear models. -k --- src/library/base/funs/lm.orig Tue May 27 02:53:58 1997 +++ src/library/base/funs/lm Sun Aug 10 22:00:46 1997 @@ -412,3 +412,5 @@ } formula.lm<-function(x)formula(x$terms) + +family.lm <- function(x) { gaussian() } =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-devel mailing list
1997 Aug 20
1
R-alpha: R-0.50-a3: [logical, drop = FALSE] -- bug in R (and S-plus)
This is a bug both in R and S-plus (in R it's "worse"), I think. Look at this : ma <- cbind(1,1:8); logi <- rep(c(T,F),4) ma[logi,] ##> [,1] [,2] ##> [1,] 1 1 ##> [2,] 1 3 ##> [3,] 1 5 ##> [4,] 1 7 ##-- now the same with [ , drop = FALSE] ## R (-0.50-a3) : ma[logi, drop = F] ##>> Error: invalid subscript type ##
1997 Oct 20
2
R-alpha: system() ok -- is.R() function
Martin Your revisions to my S--R compatability code suggest that tempfile() is in R after 0.49. I don't find that to be the case. It requires code from Friedrich Leisch which still has to be added as of 0.50 alpha3. Paul _______ R : Copyright 1997, Robert Gentleman and Ross Ihaka Version 0.50 Alpha-3 (August 8, 1997) > exists("tempfile", mode = 'function') [1] FALSE >
1997 Jul 03
1
R-alpha: plot( pch = <character> ) is slow.. -- why ? --
Can anyone explain this to us : > unlist(version) platform arch os "sparc-sun-solaris2.5" "sparc" "solaris2.5" system status status.rev "sparc, solaris2.5" "Beta" "0"