From francisco at voseconsulting.com  Fri Apr 24 05:15:12 2009
From: francisco at voseconsulting.com (francisco at voseconsulting.com)
Date: Fri, 24 Apr 2009 05:15:12 +0200 (CEST)
Subject: [Rd] memory.limit returns error (not present in 2.8.) (PR#13673)
Message-ID: <20090424031512.1092B283431D@mail.pubhealth.ku.dk>

Full_Name: Francisco J. Zagmutt
Version: 2.9.0
OS: XP pro, SP2
Submission from: (NULL) (98.245.159.214)


- Description: memory.limit(x) will yield an error even though the memory
allocation limit is changed to x (when possible). The same call does not yield
an error in R version 2.8.x

- Example code and output:

> memory.limit()
[1] 2046
> memory.limit(2092)
Error in trunc(.Internal(memory.size(size))) :
  Non-numeric argument to mathematical function
> memory.limit()
[1] 2092

- Result: The memory limit was correctly changed but still reported the error
above. 

- Version information:
               _
platform       i386-pc-mingw32
arch           i386
os             mingw32
system         i386, mingw32
status
major          2
minor          9.0
year           2009
month          04
day            17
svn rev        48333
language       R
version.string R version 2.9.0 (2009-04-17)

Thanks!

Francisco



[Rd] memory.limit returns error (not present in 2.8.) (PR#13673)
francisco at voseconsulting.com