[R] How to start R

Stephen Liu satimis at yahoo.com
Sat Aug 7 17:52:58 CEST 2010


Hi Erik,

Thanks for your advice and URL

q() is on the last line of the printout on starting R
Type 'q()' to quit R.

Sorry I overlook it

B.R.
Stephen




----- Original Message ----
From: Erik Iverson <eriki at ccbr.umn.edu>
To: Stephen Liu <satimis at yahoo.com>
Cc: Steve Lianoglou <mailinglist.honeypot at gmail.com>; R-help at r-project.org
Sent: Sat, August 7, 2010 11:45:44 PM
Subject: Re: [R] How to start R

On 08/07/2010 10:29 AM, Stephen Liu wrote:
> Hi steve,
> 
> After starting R which command shall I use to exit it rather than close the
> console.  exit/quit did not work.  Thanks

What does "did not work" mean?

help.search("quit")

leads you to:

?quit


> quit()

or

> q()

should terminate the R session.

I suggest you read "An Introduction to R" at 
http://cran.r-project.org/doc/manuals/R-intro.html, where q() is first mentioned 
in section 1.5.





More information about the R-help mailing list