[R] Teaching R: To quote, or not to quote?

Yihui Xie xie at yihui.name
Tue Mar 8 19:20:41 CET 2011


Oh, JSS... I was Achimitized last week... although I have been seeing
library() calls without double quotes almost everywhere.

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Tue, Mar 8, 2011 at 7:34 AM, Michael Friendly <friendly at yorku.ca> wrote:
> On 3/7/2011 9:52 AM, Muenchen, Robert A (Bob) wrote:
>>
>> Hi All,
>>
>> When I teach an intro workshop on R, I've been minimizing "quote
>> confusion" by always using quotes around package names in function calls.
>> For example:
>>
>> install.packages("Hmisc")
>> update.packages("Hmisc")
>> library("Hmisc")
>> citation("Hmisc")
>> search()  # displays package names in quotes
>> detach("packages:Hmisc")  # just as search displayed it
>>
>
> FWIW, the style for JSS now enforces (via Achimitization) the use of quotes
> as you show above.
>
> -Michael
>
>
> --
> Michael Friendly     Email: friendly AT yorku DOT ca
> Professor, Psychology Dept.
> York University      Voice: 416 736-5115 x66249 Fax: 416 736-5814
> 4700 Keele Street    Web:   http://www.datavis.ca
> Toronto, ONT  M3J 1P3 CANADA
>
> ______________________________________________
> 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.
>



More information about the R-help mailing list