Re: [R] What exactly does rchkusr() do?

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri, 22 Feb 2008 17:19:20 +0000 (GMT)

rchkusr is documented in 'Writing R Extensions', as an entry point in R. Please read there exactly what it does.

On Fri, 22 Feb 2008, Guilherme Veiga da Rocha wrote:

> Hi all,
>
> I am trying to compile a fortran routine originally written for R
> from within matlab.
>
> It all worked fine, but the newest version of the Fortran code has a
> call to rchkusr() and I now get a message that this is an undefined
> symbol.
>
> I am under the impression that rchkusr() just serves to let the
> processor take care of interruption messages (typically, the user
> frantically pressing Ctrl-C to stop running).
> a) Is that right?
>
> Another two questions are:
> 1 - If I choose to keep this "interruption checkpoint" in the
> routine, what library is rchkusr() in and how do I link it when
> compiling the Fortran object?
> 2 - True of False: If I choose to comment that line, that just means
> that the user will not be able to stop running the calculations while
> the processor executes the Fortran bit of the code.
>
> Answers to any of the a, 1, 2 questions above is welcome.
>
> And in case you are wondering:
> - I am trying to link the Fortran to matlab so I can compare results
> to other similar routines coded in matlab;
> - This is in the glasso package by Friedman, Hastie, Tibshirani.
>
> Thanks for any help.
>
> Cheers,
>
> Guilherme Rocha
>
> ______________________________________________
> R-help_at_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.
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help_at_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.
Received on Fri 22 Feb 2008 - 17:25:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 22 Feb 2008 - 17:30:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive