Hi,

   Given that I frequently use A, B, C, D, E packages.
   In each of the 5 packages, I intend to modify one of the functions.
   Two ways:

1st: Modify A, B, C, D, E to A', B', C', D', E'
   Then I will use library(A') ..... library(E') instead of A, B, C, D, E.
   or Just keep the names A, B, C, D, E but modify the content

2nd: create a package F and add the five functions to the F package. For
each of the 5 functions, a line "library(A)"... or "library(E)" is required.

    Then I will need "library(F)" when I create a new program.

   Which is a better way in terms of time consumption and code portability?
If I move the codes to a new computer, which way will be easier?

   Any suggestion?

   Thanks,

Miao

        [[alternative HTML version deleted]]

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

Reply via email to