[R] Connecting to database on statup

2007-08-11 Thread Ruddy M
Hello, Q/ Is it possible to create a DBMS connection automatically on startup of R? (Making sure of course that the db server has been started...) I am running MySQL on Mac OS X 10.4.2 with R2.4.1. I have tried to write a function using the RMySQL commands (below) and place them in .First of

Re: [R] Connecting to database on statup

2007-08-11 Thread Prof Brian Ripley
On Sat, 11 Aug 2007, Ruddy M wrote: Hello, Q/ Is it possible to create a DBMS connection automatically on startup of R? (Making sure of course that the db server has been started...) I am running MySQL on Mac OS X 10.4.2 with R2.4.1. I have tried to write a function using the RMySQL