R:通过解压缩而不是安装来使用软件包 [英] R: using package by unzipping it instead of installing it
问题描述
我正在尝试使用无法在Rgui窗口中运行的软件包.软件包的网站建议解压缩并使用该功能
I am trying to use a package which can not run at such in window Rgui. The website of the package suggests for unzip and use the function
http://mouse.cs.ucla.edu/emma/install.html
但是我无法找到可以在R控制台中输入并使用它的功能的地方.
But I did not way to find where I can find the function that I can enter in my R console and use it.
帮助表示赞赏
Windows发行版随附的RGUi
RGUi that comes with windows distribution
打包使用的是:emma,可以从上面的网站下载
Packaged useed is: emma, can be downloaded from the above website
推荐答案
还有全R,无鼠标的版本(我几乎在罗马!):
And the all-R, mouse-free version (I was almost there Roman!):
download.file("http://mouse.cs.ucla.edu/emma/emma_1.1.2.tar.gz",
destfile=paste(getwd(),"/emma/emma_1.1.2.tar.gz",sep=""))
untar(paste(getwd(),"/emma/emma_1.1.2.tar.gz",sep=""), compressed = "gzip")
source(paste(getwd(),"/emma/R/emma.R",sep=""))
其中将在您当前的工作目录中创建一个新目录(emma/).
wherein a new directory (emma/) will be created in your present working directory.
这篇关于R:通过解压缩而不是安装来使用软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!