[R] R newbie: how to replace string/regular expression

Charles C. Berry cberry at tajo.ucsd.edu
Mon Nov 3 20:57:04 CET 2008


On Mon, 3 Nov 2008, Krishna Dagli wrote:

> On Mon, Nov 3, 2008 at 3:36 AM, Gabor Grothendieck
> <ggrothendieck at gmail.com> wrote:
>> I did provide a link to that solution already but also wanted to
>> show how to do it in the same way that the code in the question
>> was written.
>
> Thanks for pointing me in right direction, both solutions are wonderful.
> Yes I made a mistake for 100k.
>
> I have one doubt though, how does one locate packages that's
> available for specific task (like this one). Does one look at package
> index (http://cran.cnr.berkeley.edu/web/packages/index.html).
> or is there any other trick?
>
> I tried "help.search("string")" and also looked at help.start()
> but I think it just displays whats available on my machine.


 	RSiteSearch("string", restrict="functions")

will produce a load of hists

 	 RSiteSearch("string replace",restrict='functions')

will give you a manageable list.

HTH,

Chuck

>
> Regards and Thanks
> Krishna
>
> ______________________________________________
> 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.
>

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901



More information about the R-help mailing list