[R] Minor warning about seq

Ista Zahn izahn at psych.rochester.edu
Tue Nov 30 21:20:04 CET 2010


So you are warning us that you must type zero instead of the letter O
when we want to enter the value of zero? Seems pretty obvious...

-Ista

On Tue, Nov 30, 2010 at 1:49 PM, Prof. John C Nash <nashjc at uottawa.ca> wrote:
> I spent more time than I should have debugging a script because I wanted
>   x<-seq(0,100)*0.1
>
> but typed
>   x<-seq(O:100)*0.1
>
> seq(0:100) yields 1 to 101,
> Clearly my own brain to fingers fumble, but possibly one others may want to avoid it.
>
> JN
>
> ______________________________________________
> 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.
>



-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org



More information about the R-help mailing list