From dstr7320 at uni.sydney.edu.au  Mon Jul 29 09:00:18 2013
From: dstr7320 at uni.sydney.edu.au (Dario Strbenac)
Date: Mon, 29 Jul 2013 07:00:18 +0000
Subject: [Rd] Shell Function not on Linux
Message-ID: <A4D0AD48C137224D9E532742F418928A1CFB8D88@BL2PRD0111MB520.prod.exchangelabs.com>

Hello,

Using R for Windows, I am able to use the shell function :

R version 3.0.1 (2013-05-16) -- "Good Sport"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

   ...                                               ...

> shell()
Error in shell() : argument "cmd" is missing, with no default

But, on Linux, it isn't found.

R version 3.0.1 (2013-05-16) -- "Good Sport"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-unknown-linux-gnu (64-bit)

   ...                                               ...

> shell()
Error: could not find function "shell"

Other base functions are found, though.

> plot()
Error in xy.coords(x, y, xlabel, ylabel, log) : 
  argument "x" is missing, with no default
> sum()
[1] 0

Both of these were new R sessions. What should I do now ? Both of the installations were done by me, but on the Linux server, even the system-wide installation of R maintained by the IT administrator doesn't have it.

~$ /usr/bin/R

R version 2.15.2 (2012-10-26) -- "Trick or Treat"
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i486-pc-linux-gnu (32-bit)

   ...                                               ...

> shell()
Error: could not find function "shell"

What should I do now ?

--------------------------------------
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia



[Rd] Shell Function not on Linux
Dario Strbenac