Re: [R] howto test a package without installation

2012-01-17 Thread Jeff Newmiller
Just install the updated library over the old one and start a new R session. Devtools can be helpful for some things, but when I last looked at it I was having more difficulty with getting documentation right than debugging code, which I can do using normal function development processes, so I w

Re: [R] howto test a package without installation

2012-01-17 Thread R. Michael Weylandt
http://cran.r-project.org/web/packages/devtools/index.html Michael On Tue, Jan 17, 2012 at 6:51 PM, Jonas Stein wrote: >> 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

Re: [R] howto test a package without installation

2012-01-17 Thread Jonas Stein
> 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. Finally i created a new testuser to install the library locally as you wrote. It works. Thank

Re: [R] howto test a package without installation

2012-01-17 Thread Jonas Stein
> 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). I cound not find it with google and found no "devtools" on this page

Re: [R] howto test a package without installation

2012-01-15 Thread Ken Hutchison
Did not fully read the without installing it part. Mea Culpa, Ken On Jan 15, 2012, at 8:56 PM, Jeff Newmiller wrote: > 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-li

Re: [R] howto test a package without installation

2012-01-15 Thread Jeff Newmiller
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

Re: [R] howto test a package without installation

2012-01-15 Thread Ken Hutchison
install.packages('pathtotargz', repos=FALSE) I believe that will get you going. Hope that's helpful, Ken On Jan 15, 2012, at 8:33 PM, Joshua Wiley wrote: > Hi Jonas, > > Look at Hadley Wickham's devtools package. It is designed with this > sort of thing. That said, it really is not too

Re: [R] howto test a package without installation

2012-01-15 Thread Joshua Wiley
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 testi

[R] howto test a package without installation

2012-01-15 Thread Jonas Stein
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 * k