Ross Boylan wrote:
On Fri, 2009-06-26 at 16:17 -0400, Whit Armstrong wrote:
But this draws me back to the basic question. I don't want to run R
CMD INSTALL 20 times per hour. How do developers "actually" test
their code?
check out RUnit for tests.
http://cran.r-project.org/web/packages/RUnit/
On Fri, 2009-06-26 at 16:17 -0400, Whit Armstrong wrote:
> > But this draws me back to the basic question. I don't want to run R
> > CMD INSTALL 20 times per hour. How do developers "actually" test
> > their code?
>
> check out RUnit for tests.
> http://cran.r-project.org/web/packages/RUnit/inde
On 03/07/2009 4:37 PM, robin cowan wrote:
I am trying to write a dynamic linked library for R, in Pascal.
You need to tell us what Pascal compiler you're using. You may need to
ask your compiler provider how to compile something to interface with R,
or tell us all sorts of details that you m
I am trying to write a dynamic linked library for R, in Pascal. (This
is to speed up the execution of a simulation that I am running in R.)
I know Pascal might not be the perfect language for this (C or Fortran
being more natural), but from what I have read I think it should
work. Though
Thanks very much!
Fábio Mathias Corrêa UFLA
--- Em qua, 1/7/09, Kjell Konis escreveu:
De: Kjell Konis
Assunto: Re: [Rd] Matrix with random number
Para: "Fabio Mathias"
Cc: r-devel@r-project.org
Data: Quarta-feira, 1 de Julho de 2009, 8:30
Hi Fabio,
Your f
Full_Name: Emilien Henry
Version: 2.9.1
OS:
Submission from: (NULL) (80.13.174.5)
R often stops working after execution of some packages (R commander or ade4TkGUI
for example)
Signature du problème :
Nom dévénement de problème: APPCRASH
Nom de lapplication: Rgui.exe
Version de lappli
R-devel,
factor(x) can take a long time on large character vectors (more than a
minute in the example below). This is because of a call to sort.list.
> str(x)
chr [1:3436831] "chr5" "chr10" "chr16" "chr3" "chr4" "chr15" ...
> Rprof("/tmp/factor.Rprof")
> invisible(factor(x))
> Rprof()
> summaryR
I agree that require makes it clearer what happens, so I will probably
change. The disadvantage is the (for some users confusing)
messages/warnings if the package is not installed. Wrapping it in with
suppressWarnings and suppressMessages before reprinting the load message
solves that though:
A somewhat related question. Can one install a hook to be called when
__any__ package is loaded. Something like this :
setHook(packageEvent(".*", "onLoad"),
function(...) grDevices::ps.options(horizontal=FALSE))
Romain
On 07/02/2009 09:38 AM, Romain Francois wrote:
Hello,
I've