Displaying 10 results from an estimated 10 matches for "nwew".
Did you mean:
new
2005 Aug 04
4
optim
Dear R-helpers,
The function optim implements algorithms that I would like to use.
I have function implemented in R, which given the parameters of which
minimization is to take place returns a scalar as well as the gradient.
Unfortunately optim requires two function _fn_ and _gr_ where fn returns the
function value and gr the gradient. Splitting my function in two functions
would be easy,
2005 Sep 13
3
NUMERIC_POINTER question
Dear R-developers,
Using .Call I pass a S4 class with e.g. the following class definition:
setClass("mmatrix",representation(
data="matrix")
)
On the "C side" i do
mat = GET_SLOT(vs,install("data"));
and then:
printf("%f\n",NUMERIC_POINTER(mat)[1]);
The above print statement produces the correct output if
xx<- new("mmatrix")
2005 Sep 28
1
Problem with memory footprint of qq plot generated with lattice
...9),pch=".",cex=2)
}
)
dim(xx)
[1] 680237 2
unique(xx[,1])
[1] 500-530 1000-1110 2000-2200 3400-3700
Levels: 500-530 1000-1110 2000-2200 3400-3700
It means that actually four small qqplots are drawn.
The problem is that the generated pdf is extremely large.
-rw-r--r-- 1 nwew bayes 19734746 2005-08-27 15:38 Distr-qqplot.pdf
Suggestions howe to reduce the size but keep the quality are wellcome.
cheers
Eryk
2005 Jul 26
1
/ Right division.
Dear R gurus.
Is there an R function equivalent to octaves / (Right division)
withouth forming the inverse of Y' using solve ?
[snip - from octave docu]
Right division. This is conceptually equivalent to the expression
(inverse (y') * x')'
but it is computed without forming the inverse of Y'.
If the system is not square, or if the coefficient matrix
2005 Sep 26
1
regression methods for circular(?) data.
Dear R-users,
I have the following data
x <- runif(300,min=1,max=230)
y <- x*0.005 + 0.2
y <- y+rnorm(100,mean=0,sd=0.1)
y <- y%%1 # <------- modulo operation
plot(x,y)
and would like to recapture the slope (0.005) and intercept(0.2). I wonder if
there are any clever algorithms to do this. I was looking at the function
lm.cirucalar. Is this the method to use? If, which of the
2005 Sep 11
1
dyn.load error -- undefined symbol: ...
Dear R-developers,
I am working on an C interface to some c functions.
I compiled the c file using R CMD SHLIB without any compilation errors. All
libs used are added to the LD_LIBRARY_PATH.
However dyn.load("interface.so")
produces undefined symbol: N_VNew_Serial;
which is defined in one of the libs I link against.
Where, and how to start searching for the error?
Eryk
2005 Nov 10
0
Problem with C code under R2.2 only.
...checking Rd files ... OK
* checking for missing documentation entries ... ERROR
Error: .First.lib failed for 'SBMLodeSolveR'
Help is highly appreciated.
Eryk
Witold Eryk Wolski
University of Newcastle upon Tyne
School of Mathematics and Statistics
Merz Court
http://www.mas.ncl.ac.uk/~nwew
http://www.northeasttango.org.uk
2005 Nov 16
1
Problem with R.2.2 "No rule to make target `d:/prog/r/rw2011/include/R.h"
...on?
Yours Eryk
--
Witold Eryk Wolski
__("< School of Mathematics and Statistics _
\__/ University of Newcastle 'v'
|| Newcastle upon Tyne, NE1 7RU, ENGLAND / \
^^ mail: witek96 at users.sourceforge.net m m
http://www.mas.ncl.ac.uk/~nwew
http://www.northeasttango.org.uk
2005 Oct 11
1
Error: .First.lib failed for 'SBMLodeSolveR'
Dear R-developers,
I am getting the following error message (see bottom of e-mail) and can't make
a clue out of it.
The zzz.R file contains
.First.lib <- function(lib, pkg) library.dynam("SBMLodeSolveR",pkg,lib)
.Last.lib <- function(libpath) library.dynam.unload("SBMLodeSolveR", libpath)
There is a SBMLodeSolveR.so file in the src directory which works if loaded
2005 Oct 05
1
Problems with autoconf example from r-ext.
Dear R-developers,
I am trying to reproduce the autoconf.ac example from R-ext and fail.
My autoconf file looks like this
[autoconf.ac]
# original by Friedrich Leisch, much changed by BDR
AC_INIT([SBMLodeSolveR])
dnl Select an optional include path, from a configure option
dnl or from an environment variable.
AC_ARG_WITH([sbmlode-include],