Skip to content

importing numeric types via sqlQuery

4 messages · E C, jim holtman

#
I would assume that the digitis are not being chopped off.  It is just
that R will typically print data to 7 significant digits:
[1] 54469517
[1] 54469517.3076923
Your data it there and you can set 'options' to show it if you want
to.  Also with floating point, you will only get about 15 digits of
accuracy (see FAQ 7.31).
On Mon, Oct 11, 2010 at 4:19 PM, E C <mmmraspberries at hotmail.com> wrote:

  
    
#
Must be your datrabase interface:
cat      num
1 abc  123.456
2 def 7890.123
cat      num
1 abc  123.456
2 def 7890.123
# works fine here
On Mon, Oct 11, 2010 at 4:51 PM, E C <mmmraspberries at hotmail.com> wrote: