[R] A layman seeks help!

Jonathan Baron baron at cattell.psych.upenn.edu
Wed Aug 21 12:05:00 CEST 2002


On 08/21/02 10:41, 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?

At the R prompt, say

source("codefile")

where codefile is the name of it.  You need the quotes.

When you're done,

q()

exits the program.

Now that you've gotten this far, you might look at the manual
that came with R, run the examples, etc.

Jon
-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
R page:               http://finzi.psych.upenn.edu/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list