On 04/06/2015 6:42 AM, Yo Gmail wrote:> Hi,
>
> When running help.search(?linear algebra?) or any other valid search
keyword the following error is being returned:
>
> Error in help(db[i, "topic"], package = db[i,
"Package"], lib.loc = lib, :
> 'topic' should be a name, length-one character vector or
reserved word
>
> I have not installed the optional packages neither Tcl/Tk nor Texinfo.
>
> Any ideas what the error could be, what can I do to fix it?
It's probably just your email, but R won't understand "smart
quotes"
like you use above. But if you tried that, you'd get a different error:
> help.search(?linear algebra?)
Error: unexpected input in "help.search(?"
Assuming what you really typed was using plain ASCII quotes, please try
a recent R-patched version. The search
help.search("linear algebra")
works fine for me there.
Duncan Murdoch
>
> My sessionInfo() is:
>
> R version 3.2.0 (2015-04-16)
> Platform: x86_64-apple-darwin13.4.0 (64-bit)
> Running under: OS X 10.10.3 (Yosemite)
>
> locale:
> [1] es_ES.UTF-8/es_ES.UTF-8/es_ES.UTF-8/C/es_ES.UTF-8/es_ES.UTF-8
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods
> [7] base
>
> loaded via a namespace (and not attached):
> [1] tools_3.2.0
>
>
> And the library(help=?utils?) summary is:
>
> Package: utils
> Version: 3.2.0
> Priority: base
> Title: The R Utils Package
> Author: R Core Team and contributors worldwide
> Maintainer: R Core Team <R-core at r-project.org>
> Description: R utility functions.
> License: Part of R 3.2.0
> Built: R 3.2.0; x86_64-apple-darwin13.4.0; 2015-04-20
> 18:46:49 UTC; unix
>
>
>
> I have also posted the question in StackOverflow:
>
> 'help.search()' error returned
> http://stackoverflow.com/q/30640018/2214951?sem=2
<http://stackoverflow.com/q/30640018/2214951?sem=2>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.