Displaying 20 results from an estimated 600 matches similar to: "Passing bigint (8-byte) values from Postgres to R using RPostgreSQL"
2006 Jan 19
1
[Newbie] undefined method `useremail'' error
Hi all,
I''m just starting out... the solution to this must be really trivial but
can''t figure out what''s wrong. I''m using Webrick + Rails 1.0
The error is:
undefined method `useremail'' error
What am I missing?
Thanks,
Lorenzo
class User < ActiveRecord::Base
set_table_name "\"tblUser\""
set_primary_key
2011 Jul 27
2
RODBC sqlSave problem with bigint numbers
Hello,
After a (bad) first try some months ago, I'm trying again to use RODBC
package instead of DBI+RMySQL packages to populate MySQL database.
The main command is
sqlSave(channel, data_df, tablename, append=T, rownames=FALSE,
colnames=FALSE, fast=FALSE, varTypes=vartypes)
where data_df is the data.frame I want to save and vartypes is obtained
following the tip given here
2014 Apr 01
3
trouble installing Math::BigInt module
I had to move a perl script from an old server to a new one. Both the
old and new servers are running "CentOS release 5.10 (Final)" and perl
v5.8.8. (But the problem I'm running into appears to be a package
management problem and not a Perl problem which is why I'm posting it to
a CentOS list.)
The line of code in the script that attempts to open a Net::SFTP
connection,
2007 Oct 05
3
Do migration support MySQL BIGINT
hi,
just wondering do migration support MySQL BIGINT ?
what if i wanna create a migration with BIGINT ? should i use SQL
directly ?
kiwi
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2013 Jun 21
1
How to create Migration from Mysql DB with bigint type of Mysql
I have to create Migration file form Mysql DB
But I want type of Migration equivalent with Mysql DB
(example : in Mysql with type Bigint and in Migration will have type
Int(20) or Bigint)
Could You help me solve this Problem?
Thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2006 Feb 27
1
Odd problem in Agile tutorial
I am getting an undefined method error in my cart.rb class when trying
to find in an array. I cannot see what my error is. Perhaps a view
more eyes can help me with this:
#---------------------------------------------------------------
1 class Cart
2
3 attr_reader :items
4 attr_reader :total_price
5
6 def initialize
7 @items = []
8
2005 Jul 04
1
RMySQL typing Problem (bigint unsigned)
Dear Group,
if anyone has experience with the RMySQL Package maybe this behaviour is know:
Reading data from a table into R the fields with datatype bigint(20) unsigned are transformed in some way: e.g. the query "select * from orders where userid = 14929859848712890325" selects the correct case but in R the userid is changed to 14929859848712890368. What happened here? This
2006 Feb 27
0
BIGINT IDs in migrations
Hi,
Is there a way to tell to the migrations to use bigint(20) instead of
int(11) for ids?
Thanks,
Fuad.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060227/0896c124/attachment.html
2009 Mar 07
0
Be careful of BIGINT primary key fields in MySQL. Will cause problems with ActiveRecord create (but not find)
The MySQL/Ruby library doesn''t properly handle inserts into tables
with the primary key being a BIGINT
If the ID returned to the MySQL/Ruby library is LARGER than the INT
range, the value is returned to Ruby truncated and incorrect. This is
then passed up to ActiveRecord and into the id field of your model.
The actual INSERT worked properly and when do you an ActiveRecord find
for the
2009 Jan 30
5
Yum update conflicts perl-Math-BigInt
I followed the Wiki instructions for setting up *yum-priorities*.
I added the rpmforge repo
I installed clamd without a problem.
Now when I go to update I get conflicts with perl-Math-BigInt.
Is the only solution to uninstall the base version and then install the
rpmforge version?
According the the wiki
"Packages from repositories with a lower priority will never be used to
upgrade
2011 Aug 30
2
RPostgreSQL Loading Issues
I'm starting to seriously use R and have tried to solve this issue using
my reference books but I'm missing something simple. Running R-2.13.1 on
Slackware-13.1.
Trying to invoke RPostgreSQL so I can copy data from a postgres table to
an R data-frame. I installed RPostgreSQL and the library() command shows
it's present:
Packages in library
2012 Jun 04
2
Error while trying to install RPostgreSQL.
Hi,
I am getting the following error while trying to install RPostgreSQL.
I tried all three methods(install.packages("RPostgreSQL", type =
"source"),install.packages("RPostgreSQL") & R CMD INSTALL
RPostgreSQL_0.3-1.tar.gz ) , but none of them is working.
++++++++++++++++++ Error++++++++++++++++++++++++
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I
2009 Oct 14
3
RPostgreSQL: unable to load shared library
Hello list,
I'm using R 2.9.2 on a WinXP system, and I installed the RPostgreSQL
library using the package installer. When trying to load it, I get the
following error:
> library('RPostgreSQL')
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared library
'C:/PROGRA~1/R/R/library/RPostgreSQL/libs/RPostgreSQL.dll':
LoadLibrary failure: The
2010 Jun 29
2
RPostgreSQL - Unable to locate required modules/DLLs on WinXP/7
Dear list users,
The problem occurs when library(RPostgreSQL) is issued on R. This issue
has previously appeared on R mailing list without any robust solution.
The error message issued by R:
Loading required package: RPostgreSQL
Loading required package: DBI
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared library
2008 Oct 15
0
New package RPostgreSQL 0.1.0
RPostgreSQL version 0.1.0
We are pround to announce the availability of the RPostgreSQL package on CRAN
and its mirrors. This package provides an a DBI-compliant interface between
PostgreSQL and R.
RPostgreSQL was developed as part of the Google Summer of Code 2008 program
by Sameer Kumar Prayaga.
Some highlights:
o Implemented all the DBI features
o Added support for transaction
2009 Nov 24
0
Install RPostgreSQL (Mac OSX 10.6)
Dear all, I'm an absolute R-beginner and want to connect to my PostgreSQL DB
(on my local Mac OSX 10.6).
1) I tried to install RPostgreSQL (Package Installer > CRAN (sources)) and
get this log below. There seems to be an issue with libpq, bug I don't have
any clue how to fix this. What can I do?
2) Once this issue is solved, should this code work?
drv <-
2008 Oct 15
0
New package RPostgreSQL 0.1.0
RPostgreSQL version 0.1.0
We are pround to announce the availability of the RPostgreSQL package on CRAN
and its mirrors. This package provides an a DBI-compliant interface between
PostgreSQL and R.
RPostgreSQL was developed as part of the Google Summer of Code 2008 program
by Sameer Kumar Prayaga.
Some highlights:
o Implemented all the DBI features
o Added support for transaction
2009 Sep 11
1
RPostgreSQL package and libpq.dll file
Dear all,
I'd like to use the package RPostgreSQL. I'm using R version 2.8.1 and I've download the last version RPostgreSQL. When I load the package, I get something like "the file LIBPQ.DLL is missing".
Do you have any idea about what I'm suppose to do ? Thanks everyone.
_________________________________________________________________
[[elided Hotmail spam]]
2009 Oct 27
0
Installing RPostgreSQL from source on Mac OS X
Hi Everybody
I use R2.9.2 on Mac OS X 10.5.2. I tried to install RPostgreSQL from source
on CRAN via the package installer. Apparently the program cannot find my C
compiler gcc . Here is the output message
trying URL '
http://cran.za.r-project.org/src/contrib/RPostgreSQL_0.1-6.tar.gz'
Content type 'application/x-gzip' length 141399 bytes (138 Kb)
opened URL
2012 Oct 04
0
RPostgreSQL Date format problem
Hi, I've just started using RPostgreSQL within R to interrogate a PostgreSQL
database. The problem I have is that a column containing dates shows up
differently in R than in the database:
here is the output direct from the psql database in Linux:
db=> select pat_dob_dt from patients where pat_dob_dt like '%1980';
pat_dob_dt
------------
04/05/1980
01/12/1980
04/05/1980