sicarul / rpostgresql

Automatically exported from code.google.com/p/rpostgresql
0 stars 0 forks source link

install.packages('RPostgreSQL') on R version 3.1.2 (2014-10-31) OS X Yosemite 10.10 #68

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.install.packages('RPostgreSQL') 

What is the expected output? 
To have the package installed 

What do you see instead?
Warning in install.packages :
  package ‘RPostgreSQL’ is not available (for R version 3.1.2)

What version of the product are you using? On what operating system?
I want to install the latest version. OS X Yosemite 10.10

Please provide any additional information below.
Could you please let me know when it will be available?

Original issue reported on code.google.com by mino.to...@gmail.com on 20 Nov 2014 at 5:13

GoogleCodeExporter commented 8 years ago
There must be something else going on with your setup.  I am not able to 
duplicate your issue.  There have been reported some issue with the current 
Mavericks only version of R that we have not had time to work on.  If this is 
indeed the issue, then try downloading the Snow Leopard version and use it.  
See below:

R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin10.8.0 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

[R.app GUI 1.65 (6833) x86_64-apple-darwin10.8.0]

[Workspace restored from /Users/neil/.RData]
[History restored from /Users/neil/.Rapp.history]

> install.packages('RPostgreSQL')
Warning in install.packages("RPostgreSQL") :
  'lib = "/Library/Frameworks/R.framework/Versions/3.1/Resources/library"' is not writable
Would you like to use a personal library instead?  (y/n) y
Would you like to create a personal library
~/Library/R/3.1/library
to install packages into?  (y/n) y
trying URL 
'http://rweb.quant.ku.edu/cran/bin/macosx/contrib/3.1/RPostgreSQL_0.4.tgz'
Content type 'application/x-gzip' length 424045 bytes (414 Kb)
opened URL
==================================================
downloaded 414 Kb

The downloaded binary packages are in
    /var/folders/dm/bgrzrq8d7w1f_8g21nlp85z40000gn/T//Rtmpok4a0B/downloaded_packages
> 

mini2:~ $ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.10.1
BuildVersion:   14B25

Original comment by ne...@neiltiffin.com on 20 Nov 2014 at 5:56

GoogleCodeExporter commented 8 years ago
Thanks,
After installing R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
and reinstalling xquartz , it worked!
Mino

Original comment by mino.to...@gmail.com on 20 Nov 2014 at 6:27

GoogleCodeExporter commented 8 years ago
Good to hear.

Original comment by ne...@neiltiffin.com on 20 Nov 2014 at 7:33

GoogleCodeExporter commented 8 years ago
I upgraded my Mac OS to Yosemite (10.10.2). After that upgraded R to 3.1.2
Now I am not able to use the RPostgreSQL package. I was able to use it 
successfully earlier.
Specifically, when I execute drv <- dbDriver("PostgreSQL"), the R session 
aborts.
Also, I tried to reinstall RPostgreSQL but there is no such package for R 
verison 3.1
My xquartz version is the latest (XQuartz 2.7.)
Any help is appreciated

Original comment by shraddha...@gmail.com on 13 Feb 2015 at 3:09

GoogleCodeExporter commented 8 years ago
Ehy, i had the same problem after upgrading to Yosemite.
I had to first resintall XQartz and then install R version 3.1.2 (2014-10-31) 
-- "Pumpkin Helmet". It worked for me.
Hope this helps 
Mino

Original comment by mino.to...@gmail.com on 13 Feb 2015 at 10:07

GoogleCodeExporter commented 8 years ago
Ok, I reinstalled XQuartz-2.7.7 and after that reinstalled R 3.1.2 - Mavericks. 
I still get this message:
Warning message:
package ‘RPostgreSQL’ is not available (for R version 3.1.2) 

Original comment by shraddha...@gmail.com on 16 Feb 2015 at 8:58

GoogleCodeExporter commented 8 years ago
So i reinstalled R 3.1.2 but the snowleopard version. Seems to be working now :)

Original comment by shraddha...@gmail.com on 16 Feb 2015 at 9:37