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
But I did not way to find where I can find the function that I can enter in my R console and use it.
Help appreciated
EDITS:
RGUi that comes with windows distribution
Packaged useed is: emma, can be downloaded from the above website
Changing the configuration in R Studio to solve install packages issue. Go To Tools -> Global option -> Packages. Then uncheck the option “Use secure download method for HTTP”. For other RStudio issues refer to official Troubleshooting Guide here.
Go into R, click on Packages (at the top of the R console), then click on "Install package(s) from local zip files", then find the zip file with arm from wherever you just saved it. Do the same thing to install each of the other packages you want to install.
Open R via your preferred method (icon on desktop, Start Menu, dock, etc.) Click “Packages” in the top menu then click “Install package(s)”. Choose a mirror that is closest to your geographical location. Now you get to choose which packages you want to install.
You only need to install packages the first time you use R (or after updating to a new version). **R Tip:** You can just type this into the command line of R to install each package. Once a package is installed, you don't have to install it again while using the version of 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=""))
wherein a new directory (emma/) will be created in your present working directory.
You can download the .tar.gz file and use untar
function. I've moved the file in question to my Q drive in folder emma and ran the following command. The result was extracted to a folder called emma under my working directory.
untar("q:/emma/emma_1.1.2.tar.gz", compressed = "gzip")
After you've done that, you can source
the .R files (see comments under your question).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With