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

Hjellvik Vidar Vidar.Hjellvik at imr.no
Thu Sep 1 14:52:41 CEST 2005


The OS is Windows XP. 
I use to work on the file while it's executed and save changes continually. It doesn't seem to have any effect on the current execution. I just find it annoying not to be able to do it. It's not crucial, but if there is some easy way around it I would like to know....

-----Original Message-----
From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de]
Sent: 1. september 2005 14:21
To: Hjellvik Vidar
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] source(file) => file becomes readonly


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