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. 2. how do we do unix commands like cd ? 3. can we define default directories - eg for data files ? 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 thanks, Julie -- Escience Support Team, ITCS Unix Support ENV (please contact envcs.unix at uea.ac.uk)
Julie Harold <j.m.harold at uea.ac.uk> 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 foundQuotes 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 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
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 <j.m.harold at uea.ac.uk> To: r-help at 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 foundinstall.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 envcs.unix at uea.ac.uk) > > ______________________________________________ > R-help at 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 petr.pikal at precheza.cz
Julie Harold <j.m.harold <at> 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.