similar to: creating dll file

Displaying 20 results from an estimated 4000 matches similar to: "creating dll file"

2000 Dec 04
1
interp equivalent
Hi I'm looking to a function in R equivalent to S-PLUS' "interp". Is there any implementation in R? If not, is there any similar interpolation function such that at the data points the interpolated values concides with the data? Thanks in advance P.J. Paulo Justiniano Ribeiro Jr Dept Maths & Stats - Fylde College Lancaster University Lancaster LA1 4YF - U.K.
2000 Jun 02
1
test for a formulae
I'd like to check within a whether an argument is a formulae of the type ~X or similar. What's the right way to do so? I'm using: is.language(obj) but not sure this is right Thanks in advance P.J. Paulo Justiniano Ribeiro Jr Dept Maths & Stats - Fylde College Lancaster University Lancaster LA1 4YF - U.K. e-mail: paulojus at est.ufpr.br http://www.maths.lancs.ac.uk/~ribeiro
2001 Nov 21
2
contour as a generic function?
After "image" and "persp" would it be interesting to als have contour as a generic function? Cheers Paulo Justiniano Ribeiro Jr Dept Maths & Stats - Fylde College Lancaster University Lancaster LA1 4YF - U.K. e-mail: Paulo.Ribeiro@est.ufpr.br http://www.maths.lancs.ac.uk/~ribeiro -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2001 Dec 21
0
Installing Packages (fwd)
This depends whether you want to compile the packages yourself (here you need the extra tools) or just install the pre-compiled versions (here you don't need them). I would guess that most of the Windows users just do the latter and the installation is then straighforward by using the option "Packages" on the top menu. You can donload/install from CRAN or from a local zip file.
2001 Jun 10
1
documentation and \sloppy (PR#976)
Hi When preparing documentation using Rd2dvi sometimes we get "overflow" on some lines. The consequence is that in the documentation there are some lines where words are not hyphenated or moved. The final document has some lines with more columns than the rest of the text. This happens when we use \code{} (which probably calls the \tt in latex). I've been checking the documentation
2001 Jun 05
1
error in make install-info (PR#969)
Hi I'm installing R with the standard commands: ./configure make make check make dvi to create DVI versions make pdf to create PDF versions make info to create info files make install make install-dvi make install-info make install-pdf Everything works fine apart from "make
2000 Nov 09
2
simple mixture
Dear All, I am trying to do some simple mixture analyses. For instance, I have a sample of n observations and I suspect they come from two different exponential distributions with parameters rate1 and rate2, respectively. So, I want to estimate rate1, rate2, and the proportions of both kinds of individuals in the sample. I had a look at the packages mda and mclust, but they do not seem to do this
2003 Jan 08
1
try.Silent
In an email to the help list John Chambers wrote about the function helpSilent which is in the methods package, pointing out that there is no restrictive reason to be in this package. I did not know about this function and just incorporate it in several functions of the geoR package where a much less elegant solution was being used. I guess other packages could use it as well. Therefore,
2001 Nov 09
1
One package calling C-code from another package.
Dear R people We have two packages, where the first package (geoR) is required by the second (geoRglmm). Both packages have functions calling C-code via .C(). We would like to call C-functions included in the first package from within the C-code in the second package. Is this possible? An appropriate header file was included in the src directory of the second package but this alone did not
2003 Aug 05
1
levelplot and points
Hi all, I face the following problem. I have two variables x,y. I have also calculated the surface z. When I am drawing the surface with function >levelplot (in library lattice) everything is OK. I have the legend etc ... Then I am trying to plot x,y on the same graph. So I am doing : >points(x,y) But, the points are not in the correct position. They are a little bit shifted to the
2003 Nov 24
1
R-1.8.0 package directory permissions?
Hello, I maintain a self-made R package under my own home directory "~/.R/library" on our university computer net (SunOS 5.8 system). After updating R to 1.8.0, I found other people cannot access my package any more. They got this error message: Error in library(tb, lib.loc = "/home/fs.hpc/43/zhengp1/.R/library") : This is not a valid package -- no DESCRIPTION exists I set
2003 Oct 20
1
presentation of spatial-temporal point processes
Hello all, Would anybody tell me how to present spatial-temoral point processes in R, for example, I'd like to plot the spatial points in the sequence of their time domain? Cheers -- Pingping Zheng Department of Mathematics and Statistics Fylde College Lancaster University Lancaster LA1 4YF UK
2005 Mar 18
4
passing arguments to FUN in lapply
Suppose I have a nx2 matrix of data, X, the following code generate density estimation for each column and plot them denlist <- apply(X, 2, density) par(mfrow=c(1,2)) lapply(denlist, plot) Does anyone know how to change the main title of each density plot to "var 1", "var 2" by passing optional argument "main"? I've tried lapply(denlist, plot,
2002 Aug 21
1
is.numeric()
Dear R-list I am having troubles understanding how the function is.numeric() works. Any help appreciated. Some commands are given here (the output and my comments are given below) vec <- c(1.4, NA, NA, NA) sapply(vec,FUN=is.numeric) is.numeric(vec[2]) is.na(vec[2]) is.numeric(NA) vec <- c(TRUE, FALSE, NA, NA) sapply(vec,FUN=is.numeric) is.numeric(vec[2]) is.numeric(vec[3])
2004 Mar 05
4
Command Line Expressions
Hi, Is it possible to run R in command line to evalute R expressions and return results to stdout, something like >R CMD -e "R.version$minor" then you got return >"8.1" Or do a simple calculation >R CMD -e "sin(1.2)" >0.932039 Thanks. -- Pingping Zheng Department of Mathematics and Statistics Fylde College Lancaster University Lancaster LA1 4YF
2002 May 06
3
function sort.list()
Derar R-people I have troubles understanding what the function sort.list() is doing. On the homepage it says that it returns a permutation which rearranges a vector into ascending or descending order (like order() but on a vector instead of a sequence). > sort.list(c(0, 2, 10, 11, 4)) [1] 1 2 5 3 4 which does not make sense to me. In fact I am getting the same (non-sensical) result using
2002 Feb 13
3
pnorm, relative accuracy in the tails
Dear R people The function below should be decreasing, convex, and tend to zero when x tends to infinity. curve((1-pnorm(x))/dnorm(x),from=0, to=9) >From the plot we see that for x between 8.0 and 8.3 the function is fluctuating. As far as I understand, this is due to the function pnorm() not being sufficiently accurate in the tails. I am using pnorm() in a way that has probably not been
2003 Feb 01
0
AIC.default (PR#2518)
There is a bug in AIC.default and AIC.lm, as illustrated below. (I've only checked this under 1.6.1, and can't easily check if it has already been reported since the site is down.) > lm1 <- lm(y ~ x, list(x=1:10, y=jitter(1:10))) > lm2 <- lm(y ~ x, list(x=1:10, y=jitter(1:10))) > AIC(lm1, lm2) df AIC lm1 3 -18.662493 lm2 3 -7.265906 > AIC(lm1, lm2, k = 2)
2002 Jul 30
1
Optim() returns wrong maximum
Dear R-devel During the last half a year I have several times encountered the following problem with optim() when using method= "L-BFGS-B". The function return a value which is clearly not the maximum (seen from printing the value each time the function is called). Some output is shown below. A few things I have observed (as I remember it): a. The problem seems to occur when the
2001 Mar 14
0
segmentation fault of unknown cause (PR#877)
Dear all, Paulo Ribeiro, p.ribeiro@lancaster.ac.uk, and myself noticed that R sometimes breaks down with a segmentation fault of (at least for us) unknown course. (We've read #411 and #671 in the bug report on "optim" -- the problem described there sounds familiar; but we have not found any hint on a segmentation fault.) Please find at the very end of this email the file