[R] What exactly does rchkusr() do?

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Feb 22 18:19:20 CET 2008


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



More information about the R-help mailing list