Re: [R] R and RMySQL - segmentation fault
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alle 03:25, venerdì 8 agosto 2003, [EMAIL PROTECTED] ha scritto: If I run the same code as a normal user the following line fails with a segmentation fault con - dbConnect(m,host=acomputer,dbname=atable,user=au_ser,password=a_pass word) I receive same errors with Mysql 3.x on Debian woody. Any solution / news / hack? - -- Daniele Medri daniele.medri @ libero.it homepage: http://www.linux.it/~madrid/ Statistics are like bikinis. What they reveal is suggestive, but what they conceal is vital - Aaron Levenstein -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/OLoNIQMOQEPV3KYRAuRHAJ9dzz4K5vk5ux8wiUQY851ohuq0ZACghrq1 DDusev3EZ/ulPPr+m3GjLEo= =Kw75 -END PGP SIGNATURE- __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Re: [R] R and RMySQL - segmentation fault
Hi, I have the same problem and have attempted to look through the list and find a reply with the answer but could not seem to find one. My problem seems slightly more confusing. If I and running R as root, the following works library(RMySQL) m - dbDriver(MySQL) con - dbConnect(m,host=acomputer,dbname=atable,user=au_ser,password=a_password) rs - dbSendQuery(con,statement=select * from flock) data - fetch(rs,n=-1) If I run the same code as a normal user the following line fails with a segmentation fault con - dbConnect(m,host=acomputer,dbname=atable,user=au_ser,password=a_password) I have the following relevant software installed MySql 3.23.32 R-1.7.0 RMySQL 0.5.2 Redhat 7.0 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
[R] R and RMySQL - segmentation fault
Hello, I want to import data from a database in Mysql to a R data frame. MySQL is running ok on my computer. I can start library RMySQL, and connect to the database, but when I try to make an statement, R says segmentation fault and stops: rs - dbExecStatement (con, select * from labels) Segmentation fault [EMAIL PROTECTED] I'm running R 1.7.1 on a Linux Mandrake 9.0. Thank you, Xavier Fernández i Marín Universitat Pompeu Fabra - Barcelona __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help