[R] source(file) => file becomes readonly

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Sep 1 14:21:23 CEST 2005

Hjellvik Vidar wrote:

> Hello,
> when I work in R, I write code in a text file that I run with the "source(filename)" command. In R2.1.1 the file is read-only while the source command is executed. This was not the case in R2.0.1. Is this a bug-fix or is it possible not to have the file read-only when executed?

So you want to modify a file *while* it is executed?
Sounds dangerous to me, you may want to explain further...

BTW: Which OS are we talking about?

Uwe Ligges

> Best regards
> Vidar
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

More information about the R-help mailing list