Re: [R] How to get source code of a package

2014-09-05 Thread Uwe Ligges



On 05.09.2014 09:01, madhvi.gupta wrote:

Hi,
Can anyone tell me how to get  source code of a package of R?


An R package is distributed in form of source code:
Say you want to see the sources of abc, then go to
http://cran.r-project.org/web/packages/abc/index.html
and download the osurces or use

download.package(abc, path/to/destination, type=source)

Best,
Uwe Ligges



I want to integrate elastic search with R if there is any way please let
me know or give me a direction to do that.

Thanks.

[[alternative HTML version deleted]]

__
R-help@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.



__
R-help@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.


Re: [R] How to get source code of a package

2014-09-05 Thread Barry Rowlingson
On Fri, Sep 5, 2014 at 8:01 AM, madhvi.gupta madhvi.gu...@orkash.com wrote:
 Hi,
 Can anyone tell me how to get  source code of a package of R?
 I want to integrate elastic search with R if there is any way please let
 me know or give me a direction to do that.

Which R packages do you want source code for? I should think that
source code of other ElasticSearch API clients would be useful,
particularly those languages that are most like R in style, such as
Python or Ruby.

 However if you google for Elastic Search API Client R you'll find this:

https://github.com/ropensci/elastic

 which is a start. That's assuming you are talking about a client-side
elastic search package for R, and not somehow integrating it into the
server

Barry


 Thanks.

 [[alternative HTML version deleted]]

 __
 R-help@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.

__
R-help@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.


Re: [R] How to get source code of a package

2014-09-05 Thread Jeff Newmiller
Read the Writing R Extensions document that comes with R? Use that knowledge to 
write a package? Read the Advanced R website (http://adv-r.had.co.nz)? Use a 
web search engine to look for others working on a similar package? Read the 
Posting Guide mentioned at the bottom of this or any other post on this list 
and follow the instructions there, including using plain text to post on this 
list?
---
Jeff NewmillerThe .   .  Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
--- 
Sent from my phone. Please excuse my brevity.

On September 5, 2014 12:01:22 AM PDT, madhvi.gupta madhvi.gu...@orkash.com 
wrote:
Hi,
Can anyone tell me how to get  source code of a package of R?
I want to integrate elastic search with R if there is any way please
let 
me know or give me a direction to do that.

Thanks.

   [[alternative HTML version deleted]]

__
R-help@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.

__
R-help@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.