Displaying 20 results from an estimated 2000 matches similar to: "No subject"
2005 Apr 01
1
Vernier Caliper function vernier()
Hi Folks,
I don't think I'm up to implementing a function for
drawing French Curves, as requested by "dream".
However, the discussion about it took me back so vividly
to the old days that, paranormally, I felt once again
the urge to ascertain magnitudes as it used to be, and
should be, done.
I have therefore implemented, and hereby donate to the
R community, a new function
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
2006 Jan 20
1
indexing within a function
Hello all,
I've got a large set of data consisting of 2 continuous numerical
variables, and 2 factors. I'm trying to write a function that will
draw scatter plots of the 2 numerical variables for various
combinations of the factors. The problem is that my function doesn't
seem to understand what I want it to do even though the command works
fine outside the function. Here is
1998 Mar 22
3
R-0.61.1 compiled with egcs-mingw32
I have made available the work of the last weekend that I mentioned
in my previous messages on ftp://sirio.stat.unipd.it/pub/R.
Many thanks to Peter D. and Ross I. for their suggestions.
If you think that the work is of some interest, I can upload it
to CRAN.
guido m.
This is the README enclosed in the distribution.
-------------------------------------------------------------------------
2002 Jun 13
3
[R] help debugging segfaults
Hi all,
Thanks to Prof. Ripley, Prof. Gentleman, and Simon Wood (did I miss
anyone?). The problem seemed to have gone away.
Everyone suggested using some malloc debugger (such as Electric Fence). All
I did was following half of what BDR suggested below, i.e., changing all the
S_alloc() calls to Calloc() and Free(). I didn't get to try efence, and the
problem seems to have disappeared!
As
2004 Mar 30
5
optim-Bug (PR#6720)
Full_Name: Dr. Hans A. Kestler
Version: 1.8.1.
OS: Linux, Win, Mac OSX
Submission from: (NULL) (134.60.73.116)
The code below produces after a different number of iterations i the following
error:
Error in optim(par = rep(0.5, length(edges)), loglik, method = "L-BFGS-B", :
non-finite value supplied by optim
This was reproducible on different machines (Mac G4 OSX, AMD Opteron
2002 Mar 01
1
fft
Hi,
I have problems when calling fft_factor and fft_work directly in my
C-code. Martin Maechler already told me that I should not do this --
anyway, the code works fine if the length of the vector is a multiple
of 2,3,5.
If the length of the vector has different form I get, in some cases, a
segmentation fault when work and iwork are freed (I use C's malloc to
allocate memory for work and
1999 Dec 23
1
rpart on Alpha under OSF
Running on an Alpha machine which reports (uname -a)
OSF1 bsdx01.bs.ehu.es V4.0 878 alpha
and using the binary distribution put together by Albrecht Gebhardt
(in http://cran.at.r-project.org/bin/osf/osf4.0/tar/alpha_ev5/) I
obtain core dumps whenever I try to use package rpart. I have R
REMOVE'd the rpart package, downloaded the source rpart_1.0-7.tar from
CRAN and
2008 Jan 19
1
R_alloc segfaults
I want to write a little stand-alone C program that calls R_alloc, but
I get a segmentation fault:
int main(int argc, char** argv){
double* d = (double *)R_alloc(2, sizeof(double)); // <- segmentation fault!
return 0;
}
gdb reveals that sizeof(double) evaluated to 0:
> R_alloc (nelem=2, eltsize=0) at memory.c:1649
so it results in the segfault later.
This is how I compile my
2002 Jun 12
3
help debugging segfaults
(Sorry for the cross-post--- I wasn't sure which list is more
appropriate...)
Hi everyone,
I've run into segfaults when using my randomForest package on large dataset
(e.g., 100 x 15200) and large number of trees (e.g., ntree=7000 and
mtry=3000). I'm wondering if anyone can give me some hints on where to look
for the problem.
The randomForest package mainly consists of two things:
2002 Jun 12
3
help debugging segfaults
(Sorry for the cross-post--- I wasn't sure which list is more
appropriate...)
Hi everyone,
I've run into segfaults when using my randomForest package on large dataset
(e.g., 100 x 15200) and large number of trees (e.g., ntree=7000 and
mtry=3000). I'm wondering if anyone can give me some hints on where to look
for the problem.
The randomForest package mainly consists of two things:
1999 May 27
3
No subject
(I dithered a bit about whether this belongs on r-help
(as part of it is a general R question) or r-devel
(as it's a question relating to putting stuff on
CRAN) but decided it might be of general enough interest
to go on the former )
I am currently preparing an R library to estimate
approximate posterior distributions for parameters in
Generalised Linear Mixed Models by Gibbs Sampling
1997 May 20
1
R-alpha: S_alloc
Does anyone know what exactly S_alloc() does? (Yes, it's porting time
again ...)
Thanks,
-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
2001 Sep 10
1
not safe to return vector pointer
Hello All,
I recently upgraded from R-1.1.1 to R-1.2.2.
I have an R function that uses .Call() to
return a list from C code. The C code
has the form:
SEXP function(SEXP var)
{
SEXP rlist ;
PROTECT(rlist = NEW_LIST(3)) ;
VECTOR_PTR(rlist)[0] = NEW_INTEGER(1) ;
VECTOR_PTR(rlist)[1] = NEW_STRING(1) ;
...
UNPROTECT(1) ;
return(rlist) ;
}
When I try to
1998 Jan 27
1
R-beta: survival4
Hmm... I have the same problem on hpux10.20. I put the additional libs into a
subdir called contrib, and R INSTALL from there. I have R-0.61.1 Alpha Dec21
1997. Without restored data they work OK.
Osman
> ----------
> From: Goran Brostrom[SMTP:gb at stat.umu.se]
> Sent: Tuesday, January 27, 1998 3:07 AM
> To: r-help at stat.math.ethz.ch
> Subject: R-beta: survival4
>
>
2005 Mar 10
1
Application crash - a problem about Delphi's BPLs
Hello
I've tried to run Delphi's application which uses it's own BPL-
libraries. Wine said:
err:module:import_dll Library odacvcl70.bpl (which is needed by L"C:\
\Program Files\\UBC.new\\Adwiser2Main.bpl") not found
err:module:import_dll Library odacvcl70.bpl (which is needed by L"C:\
\Program Files\\UBC.new\\Oracle.bpl") not found
err:module:import_dll Library
2000 Dec 02
2
axis label rotation
Hello,
I recently switch over from Splus to R and I have not been able to
generate right axis labels that face inwards. This is accomplished
in Splus with the command srt=270 but this option is not supported
in R. In addition the par argument las=0 or 3 does not rotate the
right axis labels.
The editor of a journal is demanding that the right axis labels face
inwards in the figures I recently
2008 May 14
3
[LLVMdev] Help needed after hiatus
Hi,
I've restarted my Elsa/LLVM project after three months of having real
life intrude. I upgraded my LLVM source to the current trunk. I had to
make a few changes to my source, e.g. LLVMFoldingBuilder became
IRBuilder and several instances of "new" became "Create".
Now, a test case that previously succeeded fails. I run the following
script:
#!/bin/sh
if [ 1 -ne 0 ]
2002 Jun 18
1
can't find array overruns (was: help debugging segfaults)
Dear R-devel,
Last week I got several responses to my question about debugging segfaults
in my code (original post below). After I changed the S_alloc() calls to
Calloc()/Free(), the symptom was gone, but I was told to keep looking. So I
did:
o Switched to Calloc/Free. Electric Fence did not find any problem.
o Put assert(index < bound); assert(index >=0); everywhere in the C routine
1998 Jan 11
0
R-beta: New version 0.61.1
The R core team proudly presents:
\||||||||/
-R 0.61.1-
/||||||||\
I've just rolled together a new patch release.
It's available from the Auckland repository now, but please do not get
it from there unless you are in a terrible hurry. It should find its
way to the main CRAN site in Vienna this evening and then to the rest
of the CRAN sites.
There's also a