Re: [R] .fortran code

From: Shubha Vishwanath Karanth <shubhak_at_ambaresearch.com>
Date: Fri, 8 Feb 2008 11:35:22 +0530

Hi Ravi,

...In the same fashion, I was trying to look at wilder.f of 'wilderSum' command of the TTR package. I even googled for the keyword, "wilder.f wilderSum" or " subroutine wilder", but did not find anything useful.

Also I did not get when you said " So,you can look at these files if you had installed the source code". Where to look at these files(without going to google)...is there anything which I need to install more?

BR, Shubha
Shubha Karanth | Amba Research
Ph +91 80 3980 8031 | Mob +91 94 4886 4510 Bangalore * Colombo * London * New York * San Josť * Singapore * www.ambaresearch.com

-----Original Message-----

From: Ravi Varadhan [mailto:rvaradhan_at_jhmi.edu] Sent: Thursday, February 07, 2008 8:56 PM To: Shubha Vishwanath Karanth; r-help_at_stat.math.ethz.ch Subject: RE: [R] .fortran code

If you look at the source code for eigen() you will notice that the .Fortran calls a subroutine named either "rs.f" or "rg.f" depending on whether your matrix is real and symmetric or real and asymmetric, respectively. So, you can look at these files if you had installed the source code. Even if you had not installed the full source, you can google using keywrods "rs.f eigenvalue" or "rg.f eigenvalue" to see the Fortran code for these functions available from EISPACK. However, I am not sure how illuminating that would be since rs.f and rg.f are just calling routines that each calls a number of other subroutines. So, unless you are willing to spend a great deal of time, you may not be any wiser at the end of all this.

Ravi.



Ravi Varadhan, Ph.D.

Assistant Professor, The Center on Aging and Health

Division of Geriatric Medicine and Gerontology

Johns Hopkins University

Ph: (410) 502-2619

Fax: (410) 614-9625

Email: rvaradhan_at_jhmi.edu

Webpage: http://www.jhsph.edu/agingandhealth/People/Faculty/Varadhan.html



-----Original Message-----

From: r-help-bounces_at_r-project.org [mailto:r-help-bounces_at_r-project.org] On Behalf Of Shubha Vishwanath Karanth
Sent: Thursday, February 07, 2008 9:42 AM To: r-help_at_stat.math.ethz.ch
Subject: [R] .fortran code

Hi,

I need to look/understand what the ".fortran()" doing in say, the source code of the "eigen" command. How do I look into this?

Thanks,

Shubha

This e-mail may contain confidential and/or privileged i...{{dropped:13}}



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. This e-mail may contain confidential and/or privileged i...{{dropped:10}}

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 08 Feb 2008 - 06:16:28 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 08 Feb 2008 - 17:30:13 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