r - Is there a way to make R code only able to be run and not edited? Essentially read-only?
问题描述
I am in the midst of writing some scripts to perform data analysis on large excel sheets faster than by hand. However, my company has a strict quality review system where the program used needs to be validated and secure (i.e. no one can edit it, there is proof of what code was run, etc.). So essentially I would like my code to be able to be ran by my coworkers without them being able to edit the script. I was also interested in inserting prompts that they can fill in (e.g. "Which column would you like to analyze?")
Is all of this possible? I have read a few things online about file permissions but I know that these can easily be changed by the user. I also read about obfuscators but am entirely unfamiliar with their use.
One thought I have is to use Rmarkdown as a method of displaying which lines were run for which results. However, I believe that document could be edited as well? This would also leave the issue of the script itself being able to be edited.
解决方案
推荐阅读
- javascript - 是否有防止 JS 文件在 Wordpress 中加载的功能?
- r - 我在安装 shinyrgl 包时遇到问题。软件包已安装但未正确安装
- php - SQLSTATE[42000]:语法错误或访问冲突:1075 表定义不正确;
- android - 我有一个动态标签布局,但每次我按下后退按钮并再次重新进入我的应用程序时,我的标签加倍,为什么?
- javascript - 如何使用 onClick、Ajax 和 Javascript 删除 cookie?
- linq - 无法使用 [] 将索引应用于“EnumerableRowCollection”类型的表达式
- python - python - 如何使用python查找几乎相同的文件名并将其从一个文件夹复制到另一个文件夹?
- powershell - 远程文件共享上的 Get-Item cmdlet 未使用调用命令返回结果
- php - 是否可以禁止用户直接访问我文件夹中的文件?
- javascript - Chrome 会拉伸网站图片,Edge、IE、Firefox 不会