Displaying 20 results from an estimated 200 matches similar to: "About " Error: C stack usage is too close to the limit""
2009 May 19
0
About " Error: C stack usage is too close to the limit"--resend
Hi everyone!
I meet one problem when embedding R in C code, when I run the the R code in one child thread ,
it always print error info:
Error: C stack usage is too close to the limit
I also try to set R_CStackLimit = (uintptr_t)-1 to disable the C stack check as the R-ext doc say,
but it still does not work.
it is interesting that if i put the R code in the main
2009 May 19
2
About " Error: C stack usage is too close to the limit"
Hi everyone!
I meet one problem when embedding R in C code, when I run the the R code in one child thread ,
it always print error info:
Error: C stack usage is too close to the limit
I also try to set R_CStackLimit = (uintptr_t)-1 to disable the C stack check as the R-exts doc say,
but it still does not work, the error info still exist.
Besides it is interesting that if i
2019 Apr 05
2
Parsing code with newlines
Hello!
This is my first post here. I came across the very same problem.
It can be reproduced within modified tests/Embedding/RParseEval.c
Actually this example has another issue, namely it doesn't wrap
everything in R_ToplevelExec . This is a major show stopper for
newcomers as that function is barely mentioned anywhere and longjmp into
terminated setuploop function followed by R_suicide
2019 Apr 10
0
Parsing code with newlines
On 4/5/19 8:14 AM, Mikhail Titov wrote:
> Hello!
>
> This is my first post here. I came across the very same problem.
> It can be reproduced within modified tests/Embedding/RParseEval.c
Please check https://www.r-project.org/posting-guide.html and update
your post if you still need to get help here - from your current post I
am not sure what you did, what was the error you got and
2019 Apr 10
1
Parsing code with newlines
On Wed, Apr 10, 2019 at 5:06 AM, Tomas Kalibera <tomas.kalibera at gmail.com> wrote:
>> This is my first post here. I came across the very same problem.
>> It can be reproduced within modified tests/Embedding/RParseEval.c
>
> Please check https://www.r-project.org/posting-guide.html and update
> your post if you still need to get help here - from your current post
>
2009 May 07
2
How to call time series functions from C ?
Hi everyone,
I meet the problem to call R from C.
Can someone tell me is it possible to call time series functions(such as ar and arima)from C program on linux platform, and then compile the C program to a standalone executable file?
I know we can call some function defined in Rmath.h , but I have not found the entry point for time series function.
I would very much appreciate
2005 Oct 12
0
Model parameterization / Factor Levels
Dear R users;
I'm looking for some hint about how to deal with the following situation:
Response = Y
Factor A = levels: 0, 1
Factor B = levels: 0, 1
Factor C = levels: 1,2,3,4
Model: Logistic 3-parms.
where th1~1+A+C, th2~1+C; th3~1
For 'simplicity' (for me) I'm using the SAS contrast parameterization.
The output looks like
Beta p-value
th1.(Intercept) 550
2007 Jul 18
0
multicollinearity in nlme models
I am working on a nlme model that has multiple fixed effects (linear and nonlinear) with a nonlinear (asymptotic) random effect.
asymporig<-function(x,th1,th2)th1*(1-exp(-exp(th2)*x))
asymporigb<-function(x,th1b,th2b)th1b*(1-exp(-exp(th2b)*x))
mod.vol.nlme<-nlme(fa20~(ah*habdiv+ads*ds+ads2*ds2+at*trout)+asymporig(da.p,th1,th2)+
asymporigb(vol,th1b,th2b),
2007 Jun 20
1
nlme correlated random effects
I am examining the following nlme model.
asymporig<-function(x,th1,th2)th1*(1-exp(-exp(th2)*x))
mod1<-nlme(fa20~(ah*habdiv+ad*log(d)+ads*ds+ads2*ds2+at*trout)+asymporig(da.p,th1,th2),
fixed=ah+ad+ads+ads2+at+th1+th2~1,
random=th1+th2~1,
start=c(ah=.9124,ad=.9252,ads=.5,ads2=-.1,at=-1,th1=2.842,th2=-6.917),
data=pca1.grouped)
However, the two random effects (th1 and th2)
2006 Nov 21
2
Symbolic derivation using D in package stats - how do I properly convert the returned call into a character string?
Dear all,
I am using the function 'D' in the 'stats' package to perform symbolic
derivation.
This works very well and it is much faster than e.g. Mathematica (at
least for my purposes).
First, I would like to thank the development team for this excellent
function.
However, I run into trouble in some cases, particularly when I am to do
some operations on long expressions
2006 Sep 11
2
[HELP] Mutlicast over GRE tunnel
Hi,
I got a problem similar to this one
(http://mailman.ds9a.nl/pipermail/lartc/2005q4/017614.html), GRE tunnel
can forward normal IP packets such as ICMP but failed to tunnel
multicast traffics.
Here''s the setup:
192.168.20.0/24
LAN-A--------------RtrA-------------RtrB--------------LAN-B
192.168.50.0/24 192.168.60.0/24
RtrA
2003 Mar 17
1
help with likelihood contour plot
Can some kind person point out my error here? I'm trying to set up a
grid for a countour plot of a likelihood function.
> u <- rnorm(20,9.5,2.5)
> # sample of size 20 from N(9.5,2.5^2)
> loglik <- function(th1,th2) {
+ n <- length(u)
+ -(n/2)*log(2*pi*th2^2)-0.5*sum((u-th1)^2/th2^2)
+ }
> x <- seq(4.5,14.5,len=50)
> y <- seq(0.5,6,len=50)
> f <-
2007 Aug 16
0
call R function in c++ program
Hi all
I don't know if my message are correct in this forums.
I create a program in c++ who use statistical function. I want to execute
this function in R (in particular for use packages ade4, lattice,
bioconductor...)
Until now, my program work for simple function ("plot", "rnorm"...) but I
can't use library
My class are :
// in constructor
int argc = 1;
2010 Aug 05
0
interpretation of summary.lm() for ANOVA and ANCOVA when dealing with 2 or more factors
Hi,
I am having a hard time getting what the summary.lm-output for an ANOVA / ANCOVA means.
Examples I find always seem to deal with simpler cases than what I meet in my data.
My main problem is understanding the output when getting significant INTERACTION TERMS (what never occurs in examples :().
The following is the output after summary.lm(ancova) where "week" is continuous,
2004 Mar 19
2
(no subject)
How to use "contour" function?
I type "contour(th1,th2,SumofSquares,levels=c(seq(1000,4000,200)))"
But I didn't see contour in the plot, I guess it is because my data is so
big that contour is out of range.
Does anybody know how to fix this problem?
here th1 is a 1x101 array(158741.8-298529.6)
th2 is another 1X101 array(-0.0058352269-0.2093140935)
SumofSquares is a
2009 Sep 07
1
Usage of OCaml/R binding.
Hello.
I've been pulling together a Debian package out of Maxence Guesdon's
OCaml bindings for R. Will be available from my website as soon as I get
my router to obey me. Here's Maxence's bindings:
http://pauillac.inria.fr/~guesdon/ocaml-r.en.html
The purpose of this software is to access R from OCaml programs.
However, my issue is that after having pulled things to a Debian
2009 Sep 07
1
Usage of OCaml/R binding.
Hello.
I've been pulling together a Debian package out of Maxence Guesdon's
OCaml bindings for R. Will be available from my website as soon as I get
my router to obey me. Here's Maxence's bindings:
http://pauillac.inria.fr/~guesdon/ocaml-r.en.html
The purpose of this software is to access R from OCaml programs.
However, my issue is that after having pulled things to a Debian
2008 Dec 04
0
integration within maximum likelihood
Hi:
I'm trying to estimate a latent variable model in mnl discrete choice
framework using R. I need to do first a uni dimensional integral
within each observation (row) in the database and then sum over
observations. I'm stacked in the point shown below. Apparently I have
a dimensionality problem in the definition of the integral. Maybe it
does not identify that what I need is only one
2009 Mar 23
0
Problems with adapt
Hi:
I'm trying to estimate a model which involves the estimation of double
integrals, so I'm using adapt procedure. I need to calculate the
integrals trough my 2000 size database, so I do it using a loop. My
code correctly estimates the integral for the first row, but for the
second R crashes. I tried changing the order of the data but the
result is the same so I guess there is something
2001 May 18
1
ICQ2000b
Have anybody been able to run ICQ2000b with wine? I need
this because I'm behand a firewall that won't accept UDP,
and as far as I know no ICQ-clone for linux can do only
tcp/ip as ICQ2000b
--
Jan-Fredrik Braseth www.ifi.uio.no/~janfbr/
2B|!2B