Re: [R] Iterations

From: Nordlund, Dan (DSHS/RDA) <NordlDJ_at_dshs.wa.gov>
Date: Tue, 15 Jul 2008 13:11:35 -0700

> -----Original Message-----
> From: r-help-bounces_at_r-project.org
> [mailto:r-help-bounces_at_r-project.org] On Behalf Of
> rkevinburton_at_charter.net
> Sent: Tuesday, July 15, 2008 12:40 PM
> To: Erik Iverson
> Cc: r-help_at_stat.math.ethz.ch
> Subject: Re: [R] Iterations
>
> Thank you.
>
> ?for just gives me a + rompt indicating that I need to supply
> more input. The same with ?while and ?repeat. Help(for) yelds:

You need to enclose R language keywords in quotes, i.e.

?'for'
help('for')
?'while'
?'repeat'

>
> > help(for)
> Error: unexpected ')' in "help(for)"
>
> But thanks for the tip.
>
> Keivn
>
<<<snip>>>

Daniel J. Nordlund
Washington State Department of Social and Health Services Planning, Performance, and Accountability Research and Data Analysis Division
Olympia, WA 98504-5204    



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 15 Jul 2008 - 20:18:14 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 15 Jul 2008 - 21:32:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive