[R] rw-faq clarification + simple question + bug(?)

Guido Masarotto guido at hal.stat.unipd.it
Tue Apr 6 20:06:06 CEST 1999


On Tue, Apr 06, 1999 at 03:45:53PM +0100, Simon Fear wrote:
> Windows users note: the rw-faq says
> Now a simple question: I added --vsize 64M --nsize 1000000 options, but
> I only get
> 
> > gc()
>          free  total
> Ncells  90030 200000
> Vcells 224652 262144
> 
> Have I hit a limit or is the command actually ignored? When I give these
> options to Rgui I get
> 
> > gc()
>           free   total
> Ncells  890030 1000000
> Vcells 8351116 8388608

  Could you try to execute Rterm outside ESS (i.e., in a dos or bash 
  window)? Doing that I get exactly your Rgui numbers and so I suspect
  that problem is in the way Rterm is called. But, please, if you
  have a minutes repeat the test on your machine.

> Incidentally, what's the problem with interfacing the cygwin bash? In
> rw0632/ess despite the warnings I could use system('set') no problem.
> Now it says 'set not found'. I can still do

  On the contrary, this is rw not ESS. 'system' is changed in rw0633
  and now, as noted in the man page (?system), has no shell behind.
  Now, 'set' is an internal command so you have to invoke it
  using
   system("command /C set",show=T)
  or
   system("bash -c set",show=T)

  In rw0633, there is also a new 'shell' command (written by
  Brian Ripley) which provide a more natural interface to thing
  as set. Indeed,
  shell("set")
  works (and automatically remaps to one of the two forms before
  if it knows which shell you like - try ?shell to see
  the details).  
  BTW, if people try 'system' and 'shell', I will like to know
  what name they prefer. Probably, 'shell' is more near to
  the Unix system so, perhaps, it can be the base
  of the Windows 'system' with the actual system 
  renamed to something like system.helper. 
  In any case, 'shell' will remain for S+ compatibility.

  guido
  
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list