[R] installing RMySQL error due to cygwin

sagarnikam123 sagarnikam123 at gmail.com
Fri Oct 12 08:09:52 CEST 2012

when i am installing package manually (using below command) i get error about
cygwin as,

> install.packages("C:\\Users\\trendwise\\Downloads\\RMySQL_0.9-3.tar.gz",lib=getOption("lib"),
> repos = NULL, type="source")


Installing package(s) into ‘C:/Users/trendwise/Documents/R/win-library/2.15’
(as ‘lib’ is unspecified)
* installing *source* package 'RMySQL' ...
** package 'RMySQL' successfully unpacked and MD5 sums checked
"tty" option detected in CYGWIN environment variable.
CYGWIN=tty is no longer supported.  Please remove it from your
CYGWIN environment variable and use a terminal emulator like mintty,
xterm, or rxvt.
checking for $MYSQL_HOME... not found... searching registry...

Error in readRegistry("SOFTWARE\\MySQL AB", hive = "HLM", maxdepth = 2) : 
  Registry key 'SOFTWARE\MySQL AB' not found
Execution halted

ERROR: configuration failed for package 'RMySQL'
* removing 'C:/Users/trendwise/Documents/R/win-library/2.15/RMySQL'
Warning in install.packages :
  running command 'C:/PROGRA~1/R/R-215~1.0/bin/x64/R CMD INSTALL -l
"C:/Users/trendwise/Downloads/RMySQL_0.9-3.tar.gz"' had status 1
Warning in install.packages :
  installation of package ‘C:/Users/trendwise/Downloads/RMySQL_0.9-3.tar.gz’
had non-zero exit status

i dont want to uninstall cygwin

View this message in context: http://r.789695.n4.nabble.com/installing-RMySQL-error-due-to-cygwin-tp4645968.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list