[R] Work with packages without using R CMD build/install

Gabor Grothendieck ggrothendieck at gmail.com
Tue Sep 16 16:29:20 CEST 2008

If you don't use a namespace then you can use R CMD to build and
install it at the beginning and then as you make changes just source()
the changed .R files from the R source directory.  That will let you run
with those changes before they have been built and installed.

On Tue, Sep 16, 2008 at 8:12 AM, KarstenW <K.Weinert at gmx.net> wrote:
> Hello,
> for my small project I would like to organize the data, functions and
> documentation as a package.
> I have already created a skeleton directory structure with DESCRIPTION file
> and put some files in the R, man and data subdirectories.
> Now I would like to work on the package without calling R CMD build/install
> after each change. In fact, I do not have the build tools installed yet (I
> am on Windows) and hope to get along without them (using r-forge).
> Currently, I do not plan to use C or Fortran extensions.
> But when I run in the R (2.7.2) console
>> library(mypkg, lib.loc="mypath")
> the system answers that there is no package named 'mypkg'.
> Is it possible to use the package infrastructure without calling R CMD ...
> after each change?
> Kind regards,
> Karsten Weinert.
> --
> View this message in context: http://www.nabble.com/Work-with-packages-without-using-R-CMD-build-install-tp19510486p19510486.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> 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.

More information about the R-help mailing list