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>
Hi Jonas, Look at Hadley Wickham's devtools package. It is designed with this sort of thing. That said, it really is not too difficult to install as long as you have a working tool chain (which you will need to test it anyway). R CMD INSTALL /tmp/sitools R require(sitools) and away you go testing Cheers, Josh On Sun, Jan 15, 2012 at 4:51 PM, 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.-- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/
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.