[R] apropos and find

Christian Raschke crasch2 at tigers.lsu.edu
Tue Apr 20 10:40:44 CEST 2010


?apropos says that it expects a character string. Therefore use quotes:

> apropos("edit")
> [1] "edit"      "file.edit" "xedit"    

Christian


On Tue, 2010-04-20 at 10:24 +0200, Karsten Rincke wrote:
> Hello,
> I'm starting working myself in the use of R, reading M. J. Crawley, The
> R Book. The problem I do encounter is concerning the commands apropos
> and find:
> 
> > apropos(edit)
> Fehler: is.character(what) is not TRUE
> > find(edit)
> Fehler: is.character(what) is not TRUE
> 
> I get the same error message typing anything else instead of "edit".
> 
> The command ?edit seems to work well.
> 
> What could be the reason for that I can't use apopos and find?
> Thanks for your help!
> 
> ______________________________________________
> 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