Re: [R] help with R

From: John Sorkin <>
Date: Wed, 09 Jan 2008 18:49:11 -0500

What operating system are you using? Have you loaded R onto you computer? If not I suggest you do so. You can than enter the command ?lm
which will give you information about lm command, the command used to perform linear regresssion. I would also suggest that you go to and do some reading of the introduction document. Once you have done this you should be able to get started using R and will be able to ask a question that we can more easily answer. John

John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
Baltimore VA Medical Center GRECC,
University of Maryland School of Medicine Claude D. Pepper OAIC, University of Maryland Clinical Nutrition Research Unit, and Baltimore VA Center Stroke of Excellence

University of Maryland School of Medicine Division of Gerontology
Baltimore VA Medical Center
10 North Greene Street
Baltimore, MD 21201-1524

(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing)
>>> <> 01/09/08 4:35 PM >>>
 Folks, Two simple questions :

(1) I have a data set (call it data.xls) in a folder in my hard drive. How do I perform a simple regression between two variables from that data set?  After I click on 'R', what exactly do I type in?

(2) Where do I get to see the complete library of packages offered by R? In particular, I am interested in quantile regression and logistic regression.



This e-mail, including attachments, is intended for the person(s) or company named and may contain confidential and/or legally privileged information. Unauthorized disclosure, copying or use of this information may be unlawful and is prohibited. If you are not the intended recipient, please delete this message and notify the sender. All incoming and outgoing e-mail messages are stored in the Swiss Re Electronic Message Repository. If you do not wish the retention of potentially private e-mails by Swiss Re, we strongly advise you not to use the Swiss Re e-mail account for any private, non-business related communications.

        [[alternative HTML version deleted]] mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code.

Confidentiality Statement:
This email message, including any attachments, is for th...{{dropped:6}} mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 09 Jan 2008 - 23:52: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 Thu 10 Jan 2008 - 00:30:06 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive