I am working on a project which requires me to give the user a list of do/dont's which shouldn't be edited. So is it possible to make read-only comments. Any help would be appreciated thanks!!! (Note: its not a rshiny script)
Asked
Active
Viewed 132 times
2 Answers
1
This is not possible. R scripts are regular files, all parts of them are editable.

Konrad Rudolph
- 530,221
- 131
- 937
- 1,214
0
Maybe you should use a read only repository and put your code there?
How to make a git repository read-only?
I never had to use sections of the code with read only access, and I am not sure if we can make this kind of thing.

Pedro Silva
- 137
- 1
- 13