-----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
in R.
I have successfully installed the program onto my pc, but
actaully use the code. How do i prompt R to read the code
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