Re: [R] newie help needed

2006-09-21 Thread Anupam Tyagi
Julie Harold  uea.ac.uk> writes:

> 1.  is there a gui interface ?  How do we use it ?  R --gui just gets us
> to the command line.

Look at SciViews. Not a 100% menu driven GUI, but can be useful to new users.

> 3.  can we define default directories - eg for data files ?

I think you can, because sys-admin at my former university did so some years
ago. May be using a symbolic link---I am not sure though.

> 4.  we want to use this mainly in batch mode once we get our act
> together - are there any good examples of batch scripts we can use as
> crib sheets.

creating a new and simplified batch command for users may be helpful, rather
than allowing them to use the system "batch", "at" or related commands.

__
R-help@stat.math.ethz.ch 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.


Re: [R] newie help needed

2006-09-21 Thread Petr Pikal
Hi

I am not familiar with linux version but

On 21 Sep 2006 at 13:56, Julie Harold wrote:

Date sent:  Thu, 21 Sep 2006 13:56:06 +0100
From:   Julie Harold <[EMAIL PROTECTED]>
To: r-help@stat.math.ethz.ch
Subject:[R] newie help needed

> hi,
> 
> I am a system admin who has just set up R-2.3.1 in suse 9.1 (opteron)
> for a previous windows user.  Please forgive any obvious stupid
> questions :)
> 
> We are struggling with a number of things.
> 
> 1.  is there a gui interface ?  How do we use it ?  R --gui just gets
> us to the command line.

AFAIK there is not a GUI in a sense of other statistical packages 
directly ot of a box. 

> 
> 2.  how do we do unix commands like cd ?

>From R command line?
see system


> 
> 3.  can we define default directories - eg for data files ?

yes, see setwd, getwd help page

> 
> 4.  we want to use this mainly in batch mode once we get our act
> together - are there any good examples of batch scripts we can use as
> crib sheets.
> 
> 5.  I installed some packages earlier - but now I am obviously doing
> something wrong > install.packages(gnomeGui) Error in
> install.packages(gnomeGui) : object "gnomeGui" not found

install.packages("gnomeGui")

Try to go through some manuals located in doc directory and/or on web 
pages of R project

HTH
Petr


> 
> 
> thanks,
> 
> Julie
> 
> 
> -- 
> Escience Support Team,  ITCS
> Unix Support ENV (please contact [EMAIL PROTECTED])
> 
> __
> R-help@stat.math.ethz.ch 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.

Petr Pikal
[EMAIL PROTECTED]

__
R-help@stat.math.ethz.ch 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.


Re: [R] newie help needed

2006-09-21 Thread Peter Dalgaard
Julie Harold <[EMAIL PROTECTED]> writes:

> hi,
> 
> I am a system admin who has just set up R-2.3.1 in suse 9.1 (opteron)
> for a previous windows user.  Please forgive any obvious stupid questions :)
> 
> We are struggling with a number of things.
> 
> 1.  is there a gui interface ?  How do we use it ?  R --gui just gets us
> to the command line.

Not really. The incantation is "R --gui=tk" or "gnome" or "X11"  but
the two former are quite sketchy (proof of concept, really). The last
one is the default, but not with menus etc., just windows for graphics.
 
> 2.  how do we do unix commands like cd ?

Any shell command can be executed via system(). This is in a subshell,
so of course cd has no effect on return: look up setwd()

> 3.  can we define default directories - eg for data files ?

Not in any "standard" way AFAIK. There is a number of ways you could
create your own convention (e.g. via environment variables), though.

> 4.  we want to use this mainly in batch mode once we get our act
> together - are there any good examples of batch scripts we can use as
> crib sheets.

Depends on what you want to do. There are quite a few documents around
with example code and several books have their scripts made public.

> 5.  I installed some packages earlier - but now I am obviously doing
> something wrong
> > install.packages(gnomeGui)
> Error in install.packages(gnomeGui) : object "gnomeGui" not found

Quotes needed.

In general, do your self a favour and read at least the Intro and
Admin manuals from.

http://cran.r-project.org/manuals.html

-- 
   O__   Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark  Ph:  (+45) 35327918
~~ - ([EMAIL PROTECTED])  FAX: (+45) 35327907

__
R-help@stat.math.ethz.ch 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.