Hi Nathann,

On Sep 17, 3:41 pm, Nathann Cohen <nathann.co...@gmail.com> wrote:
> I was just wondering if we had anything in Sage comparable to the
> help.search("string") available in R.
>
> This functions ( in Sage ) could be looking for the string ( or the words
> contained in this string ) in all of Sage's docstrings, and return the
> methods mentioning them.

In a Sage session, type "sea" (without '"') and hit the tab key. This
gives you all possible completions of "sea":
sage: sea<TAB KEY>
search_def  search_doc  search_src

Then, for each of these commands, read the documentation. That's to
say: do
 sage: search_src?<RETURN>

> I remember I found it pretty useful in R ! ;-)

search_src is even more useful, since it searches in the source code,
not only in the documentation...

Cheers,
Simon
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to