[R] howto test a package without installation

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Mon Jan 16 02:56:09 CET 2012


I don't believe you can. However, you need not install it into a system-wide library directory... your personal library (e.g. /home/jonas/R/x86_64-pc-linux-gnu-library/2.14) should be sufficient.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Jonas Stein <news at jonasstein.de> wrote:

>Hi,
>
>how can i play around with my first selfwritten package [*]
>without to install it to my debian system?
>
>I think of something like doing this:
>
>/tmp/$ R
>R version 2.11.1 (2010-05-31)
>Copyright (C) 2010 The R Foundation for Statistical Computing
>ISBN 3-900051-07-0
>
>> library(/tmp/sitools)
>
>3 * kilo
>[1] 3000
>
>
>[*] https://github.com/jonasstein/sitools
>
>-- 
>Jonas Stein <news at jonasstein.de>
>
>______________________________________________
>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