Dear R-users,

I'm using R (2.7.1) under windows and I've got a function written in R that
calls a Fortran 77 subroutine using both interface function (.C and
.Fortran). The Fortran 77 source was compiled to a shared library using g77
(3.4.5).
When I call the R wrapper function, it will use the 100% of my CPU during 25
minutes (the fortran algorithm require a lot of time of execution)  . The
same thing if you try the next code:

> vec=rexp(20000000)
> fitdistr(vec,"exponential")

that also use the 100% of my cpu during 30 seconds. In both cases, it makes
R crash when running another program but If I don't do anything, it runs
fine.
Is there any solution to this?. It runs better using Linux?.

Thanks
Borja

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to