If you look at the help for install.packages: help(install.packages)
You will see that the first argument to install.packages takes a vector of the package names. In your case, you are passing three arguments to the function, so R is trying to install "RExcelInstaller" package into a library directory called "rcom" which is what is causing the error as there is no "rcom" library directory. You could install the packages like this: install.packages(c("RExcelInstaller","rcom","rscproxy")) #note that its 'rscproxy' not 'rsproxy' In the above R code you can see how only one argument is provided to install.packages: a length 3 character vector of the package names. However, I would recommend installing RExcel via the R and Friends installer distributed by statconn. You can find it here: http://rcom.univie.ac.at/download.html Using the installer ensures that the registry and system path variables are set up correctly. Also, note that rcom has its own (private) mailing list to which you should direct your RExcel related questions. You can sign up for the mailing list here: https://lists.univie.ac.at/mailman/listinfo/rcom-l Good luck. -- View this message in context: http://r.789695.n4.nabble.com/Issue-with-installing-RExcel-tp4635873p4635880.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.