Skip to content
Prev 248204 / 398506 Next

error with source(): invalid 'times' value

Le 24. 01. 11 18:22, Gabor Grothendieck a ?crit :
Thanks for your quick answer!
Unfortunately, it does not change:
source("/tmp/RFile.r", echo = TRUE, prompt.echo = NULL, continue.echo = 
"+ ")
Error in rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) -  :
   invalid 'times' value
 > traceback()
3: rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) -
        leading))
2: paste(rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) -
        leading)), dep, sep = "", collapse = "\n")
1: source("/tmp/RFile.r", echo = TRUE, prompt.echo = NULL, continue.echo 
= "+ ")

note this is not a systematic problem, but can't say exactly when/why it 
works or not...

thanks