sourcing code and importing data; was: A layman seeks hel p!
Excellent - many thanks to all. To be honest i found the manual "An introduction to R" not very user-friendly. Thanks all. Mark
-----Original Message----- From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de] Sent: 21 August 2002 11:08 To: Mark Edwards Cc: 'R-help at lists.R-project.org' Subject: Re: [R] sourcing code and importing data; was: A layman seeks help! Mark Edwards wrote:
I have been given a 'code' file and a 'data' file which is
designed for use
in R. I have successfully installed the program onto my pc, but
am struggling to
actaully use the code. How do i prompt R to read the code
file and run?
Any ideas?
Yes. At first you should get an idea what R is and how to use it. For a "layman" a point to start is reading "An Introduction to R". If you feel comfortable with the manuals and cannot figure out how to solve a problem, you can ask the mailing list, but put an appropriate subject into the header, please. Well, you can use source() to source the code. How to import the data is described in the "R Data Import/Export" manual - it depends on the format of your "data". Since your questions is not very explicit, I cannot give an explicit answer. Please, tell us your OS and version of R in case of forthcoming questions. Uwe Ligges
******************************************** DISCLAIMER: The information in this e-mail and any attachment is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Please contact the sender if you have received this e-mail in error. ******************************************** -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._