[R] Several questions in R

Sean Davis sdavis2 at mail.nih.gov
Tue Dec 14 12:43:07 CET 2004


On Dec 14, 2004, at 6:30 AM, jing tang wrote:

> Hi,
> I have several small question in R,
> 1) How to display all the variables in current workspace?

ls()

> 2) How to write a long command in two lines. Suppose one command line 
> is long to be put within one line.

Just hit return in most cases.  R is smart enough to know if you are in 
the middle of a function body.

Also, it is important to read the manual, An Introduction to R:

http://cran.r-project.org/manuals.html

Sean




More information about the R-help mailing list