[R] is "Gb" gigabyte or gigabit?

From: Mike Miller <mbmiller+l_at_gmail.com>
Date: Sat, 16 Apr 2011 00:36:45 -0500


I sometimes get errors of this form:

Error: cannot allocate vector of size 13.8 Gb

I've also seen "Gb" used in R documents. Is "Gb" being used to refer to gigabyte? We usually refer to bytes and gigabytes when discussing memory usage, but the lowercase "b" more often refers to bits. According to Wikipedia:

   http://en.wikipedia.org/wiki/Gigabyte

   "The unit symbol for the gigabyte is GB or Gbyte, but not Gb (lower    case b) which is typically used for the gigabit."

If "Gb" means gigabyte in R, I can live with that, but I think it is ambiguous and confusing. If it does mean gigabit, I think we should refer to gigabytes instead when discussing memory usage.

Mike



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 16 Apr 2011 - 05:51:09 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 16 Apr 2011 - 06:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive