Re: R-beta: Some General Questions

Douglas Bates (
03 Oct 1997 15:52:39 -0500

Subject: Re: R-beta: Some General Questions
From: Douglas Bates <>
Date: 03 Oct 1997 15:52:39 -0500
In-Reply-To: "MIKE FLEMING"'s message of Fri, 03 Oct 97 16:19:38 -0500

I'll take a stab at answering a couple of your questions.

"MIKE FLEMING"<> writes:

>      3. Shell commands like !pwd do not work on my installation of R like   
>         they do for me in Splus. Does R support the use of shell commands?

In R you have to fall back on the more basic function called
"system".  If I want to find out the current working directory I would
 R> system("pwd")

>      4. Is there a matrix library for R like the one used for Splus? Is     
>         such a library needed by R?

Not presently.  Since the LAPACK code is freely available it would be
possible to create such a library.  If a library were being created I
would advocate going directly to a C++ implementation of the linear
algebra code, such as lapack++ or TNT (see
since R can interface with C++ code.
r-help mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: