Last active
December 8, 2015 07:38
-
-
Save ejjunju/9122929 to your computer and use it in GitHub Desktop.
This file contains a script for installing the RExcel plugin in Excel so that you can control R from Excel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install.packages(c("rscproxy","rcom"),repos="http://rcom.univie.ac.at/download",lib=.Library) | |
installstatconnDCOM() | |
library(rcom) | |
comRegisterRegistry() | |
download.file(url="http://rcom.univie.ac.at/download/RExcel.distro/RExcelInst.latest.exe",mode="wb",destfile="Rexcel.exe") | |
system("Rexcel.exe") | |
install.packages(c("Rcmdr","RcmdrPlugin.HH"),lib=.Library,dep=TRUE) | |
library(Rcmdr) |
Hello. When I run
library(Rcmdr)
I get the following error:
Loading required package: RcmdrMisc
Loading required package: sandwich
Error in get(Info[i, 1], envir = env) :
cannot open file 'C:/Users/Lesley/Documents/R/win-library/3.2/Formula/R/Formula.rdb': No such file or directory
Error: package ‘RcmdrMisc’ could not be loaded
How do I fix this. Please help.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Edited from http://homepage.univie.ac.at/erich.neuwirth/php/rcomwiki/doku.php?id=wiki:how_to_install