[R] Is there a way to source from a specific Git repository without hardcoding the location everywhere?

Bert Gunter gunter.berton at gene.com
Thu Sep 27 18:05:00 CEST 2012


Curt:

Well, if you want to peer a bit more, you might wish to have a look at
http://inlinedocs.r-forge.r-project.org/ . Same philosophy as
Roxygen_x (keep docs together with code, generate Rd files
automatically therefrom) but takes a different approach.

Perhaps worth noting for both cases is that thermodynamics applies(you
can't get something from nothing): The simplicity you gain from
"standardization" when combining docs with code entails a certain loss
of flexibility in the organization and content of the .Rd files (which
you can, of course, always then manually edit by hand) You can decide
which, if either, of the packages strikes the right balance for you.

Cheers,
Bert

On Thu, Sep 27, 2012 at 8:45 AM, Curt Seeliger
<Seeliger.Curt at epamail.epa.gov> wrote:
>> > I would usually do more than that:  I find the R documentation system
>> > helpful even when I'm the only user of a package ...
>>
>> Me too - but I'd never write Rd by hand ;) instead relying on roxygen2
>> ...
>>
>> But my point main was that it's very easy to start a package - and you
>> don't need every component of a package for it to be useful. ...
>
> Thank you both for the ideas.  Since the eventual fate of the code is a
> package, it makes sense to start taking baby steps in that direction. That
> a package can be created without all the features is encouraging.
>
> And roxygen2 is suggested, over roxygen and roxygen3.  I only have time to
> peek down this rabbit hole right now, but I have to admit it's starting to
> look like it may be fun.
>
> Thanks again,
> cur
>
> --
> Curt Seeliger, Data Ranger
> Raytheon Information Services - Contractor to ORD
> seeliger.curt at epa.gov
> 541/754-4638
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm




More information about the R-help mailing list