问题描述
通常在受限安全性情况下,我无法从闪存驱动器运行R的计算机上安装程序。奇迹般有效。我最近开始使用保管箱,并认为它可以与闪存驱动器类似的方式使用。对于任何尝试过此方法的人都行得通吗?
Often in "restricted security" situations in which programs can't be installed on a computer I run R from a flash drive. Works like a charm. I've recently started using dropbox and was thinking it could be used in a similar fashion to the flash drive. For anyone who has tried this does it work?
我可以自己对其进行测试,但是如果它死胡同,就不要费心了。
I can test it myself but don't want to go to the bother if it's a dead end.
预先感谢。
PS的优点是可以存储.Rprofile,与您共享Dropbox文件夹的人可以然后运行您的R代码。
PS this has the advantage of storing an .Rprofile that people whom you share the dropbox folder with can then run your R code. This is particularly nice for people unfamiliar with R.
推荐答案
它应该可以正常工作。
It should just work.
R的设置方式是,其所有文件都相对于给定的顶级目录。那是您的闪存驱动器中的F:\或Z:\驱动器,还是Dropbox文件夹都无关紧要。
R is set up in such a way that all its files are relative to a given top-level directory. Whether that is a F:\ or Z:\ drive from your flashdrive, or your Dropbox folder should not matter.
通过相同的令牌,R可以通过共享文件夹(通过Samba,NFS或其他机制)愉快地运行。
By the same token, R can run happily off a shared folder, be it via Samba, NFS or another mechanism.
这篇关于从保管箱运行R的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!