similar to: linear search

Displaying 20 results from an estimated 20000 matches similar to: "linear search"

1998 Apr 02
2
prcomp
I've noticed that the arguments and result list of prcomp in the mva package (with 61.1) are not quite the same as in the Blue Book and in Splus. Is this intentional or can I change it? If I change it who should I send the code to? Paul Gilbert -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read
1998 Jan 21
2
alloc
I am trying to get our database interface (PADI) working with R. The code does some memory allocation and for Splus there is an ifdef which controls whether malloc or S_alloc is called. I did nm R.binary | grep alloc to see if this was supported and I find there are some choices: [2490] | 446036| 272|FUNC |GLOB |0 |7 |R_alloc [806] | 693956| 312|FUNC |LOCL |0 |7
1999 Mar 10
2
.Alias and memory
In an effort to encapsulate my dependence on class in order to deal with oldclass/class in Splus I defined the functions tfclass <- class "tfclass<-" <- function(x, value){ class(x) <- value ; x } and also the function classed <- function(x, cls) {class(x) <- cls; x} This last allows me to end a function definition with ... classed(somecalc,
1998 Nov 18
4
more on "[<-"
"[<-" in R 0.63 does not appear to strip attributes, whereas Splus and previous versions of R did. Paul _____ R 0.63: > data <- matrix(rnorm(300),100,3) > attr(data, "tframe") <- c(1981.50, 2006.25 , 4.00) > attributes(data) $dim [1] 100 3 $tframe [1] 1981.50 2006.25 4.00 > z <- data[10:90,] > attributes(z) $dim [1] 81 3 $tframe [1]
1998 May 13
1
all.equal
I need the function all.equal which is in Splus but not yet in R. Below is a first cut. Comments would be appreciated. Paul Gilbert _______ all.equal <- function(obj1, obj2, ...) {if(mode(obj1) != mode(obj2) ) return("modes differ.") if(class(obj1) != class(obj2)) return("classes differ.") if(! all(unlist(attributes(obj1)) ==
1998 Nov 30
1
[R] R functionality
> Date: Mon, 30 Nov 1998 12:07:10 -0500 > From: Paul Gilbert <pgilbert@bank-banque-canada.ca> > To: Ed Kademan <kademan@phz.com> > > >Is there anything R can do that Splus can't? > > Problems which require lots of looping and cannot be re-coded as vector/matrix > operations are theoretically possible but practically infeasible in S, unless > they
1998 Apr 02
2
f2c
I have a problem with my dynamically loaded code in R not finding pow_ii, which for some time I thought was because library f2c is not on my Sparcstation. However, I have now been experiencing the same problem in Linux, with all the proper libraries in place. My incomplete understanding of elf and shared libraries does not help, but when compiling a complete program I usually muddle through.
1999 Dec 01
2
./config.site
I just tried to load r-devel (using rsync -r rsync.r-project.org::r-devel) and I get "operation not permitted" when I try ./configure. It appears the permissions and sticky bits are messed up again. Paul Gilbert -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send
1997 Oct 16
4
R-beta: Time Series Analysis
I have just downloaded rsept.zip and rseptbeta.zip for Windows 95 and I think that is a GREAT product. 1st: I want to know the differences between them. 2nd: I'm interested very much in time series analysis, but watching the html help there is not any function (for ex. like the S-Plus functions acf pacf and arima functions etc). If there is some pacages to plug-in with documentation
1997 Oct 16
4
R-beta: Time Series Analysis
I have just downloaded rsept.zip and rseptbeta.zip for Windows 95 and I think that is a GREAT product. 1st: I want to know the differences between them. 2nd: I'm interested very much in time series analysis, but watching the html help there is not any function (for ex. like the S-Plus functions acf pacf and arima functions etc). If there is some pacages to plug-in with documentation
2000 Apr 28
2
Rd files with multiple functions?
There was at one time some discussion about supporting documentation of multiple functions in one Rd file. Is that supported or still in the plans? Paul Gilbert -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the
1998 Jun 17
1
Warning in par(args)
I'm getting a lot of warning having to do with setting graphic parameters. I don't recall actually setting any of these, so I would guess they are being set by something I am calling. Has anyone already figured out where this is happening? Paul Gilbert _____ All dse3 tests ... ok All dse4 tests ...Warning: skipping test 4 (requires stepwise). ok dse2 graphics tests ...completed dse3
1999 Mar 23
1
(-2) %% 12
(-2) %% 12 seems to give the wrong result in R pre 63.3: > e1 <- -2 > e2 <- 12 > e1 %% e2 [1] -2 > e1 - floor(e1/e2) * e2 [1] 10 In Splus: > e1 <- -2 > e2 <- 12 > e1 %% e2 [1] 10 > e1 - floor(e1/e2) * e2 [1] 10 Paul Gilbert -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read
1999 Jan 20
1
pow__ii
> R code works but the shared objects built from fortran code do not find > the appropriate libs with functions like __pow_ii or __epx at runtime. I used to have endless trouble with __pow_ii which as I recall could be be fixed by the correct incantation of the mix of compiler libraries and LD_LIBRARY_PATH. It seemed to be extremely sensitive and never easy to get right. The problem is
1999 Feb 12
1
more on dput
I would like to write data so that I can re-read it and reproduce results, preferably in both R and Splus. In the past when I have done this my data has been relatively simple and I've just scan()ed it. Now I have a fairly complicated structure I would like to preserve and I've been trying to use dput and dget. Is there a better way? If not, the following truncation by dput, which I
2001 Aug 29
5
newbie list
I've sometimes thought it would be useful to have another mail list called "no I haven't read the documentation but someone can save me a lot of time," or perhaps just "newbie" for short. This can be very useful for people just getting started in R and with school starting soon I expect the help list may become overwhelmed. Of course, I think that people should read all
2000 Oct 04
3
R 1.2 build
I've been trying to build a bundle with the R-devel snapshot from yesterday. (Yes I know it is unstable and just tell me if I shouldn't be trying to do this yet.) It is failing with the message tar : /dev/rmt/0 : Permission denied It happens after "removing junk files" and just after the message "building dse_2000.9-1.tar.gz" It looks to be coming from the line in
2007 May 30
2
S4 assignment \alias and \usage
What is the Rd file alias and usage syntax for an S4 assignment method? I have been trying variations on \alias{TSdoc<-,default-method} \usage{ \S4method{TSdoc}{default}(x) <- value but so far I have not got it right according to various codoc, etc, checks. Paul Gilbert ==================================================================================== La version fran?aise
2005 Jun 08
1
FW: Random seed problem in MCMC coupling of chains
And a last post from Paul Gilbert. Thanks to all! This disscusion was really beneficial for me! -----Original Message----- From: Paul Gilbert [mailto:pgilbert at bank-banque-canada.ca] Sent: sre 2005-06-08 21:01 To: Gorjanc Gregor Subject: Re: [R] Random seed problem in MCMC coupling of chains Gorjanc Gregor wrote: > Thanks to Paul and Gabor for additional tips/examples. Actually, I find
1998 Dec 15
2
legend() buglet 2
Perhaps this is not a bug but rather my misunderstanding of lty and col. I would like to generate a legend for plots as follows: par(mfcol = c(2, 1), mar = c(5.1, 6.1, 4.1, 2.1)) matplot(t(matrix(1:8,8,20)), type="l") par(mfg = c(2, 1, 2, 1)) box(col = 0) # Rbug workaround. Thanks Martin legend((par()$usr)[1:2], (par()$usr)[3:4], as.character(1:8), lty=1:8, col=1:8,