Re: [R] Linux configuration (Ubuntu)

2006-09-20 Thread Poizot Emmanuel

Brian Edward a écrit :

Hello all,

I have been a R user for about a year now, running on a MS Windows machine.
I am in the process of making a complete switch to open-source.  Linux is a
new world to me.  Ubuntu was my selection of the various distributions.
Please pardon this very basic question (I was unable to locate an answer on
R or Ubuntu).  I used Synaptic to download the necessary files to run.
However, I was unable to locate the program using the Add/Remove feature.
So, I created a Launcher for R on the desktop and identified the executable
file.  The path I entered into the Command Line was:  /usr/bin/R
I can run R in the Terminal, but not as a separate desktop location.  So,
the short question is, what is the specific command line or configuration I
should be using to run R?  Or, am I supposed to be running R in the
Terminal?

Thanks in advance,
Brian

[[alternative HTML version deleted]]

__
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.


  

Dear Edward,

R under linux (Ubuntu or other distributions) is not exactly as it is 
under windows.

Under linux, you have to use a shell (or a terminal) to launch R and use it.
The main difference between windows and linux version of R, is that R 
under linux, does not provide the graphical facilities to load and 
install libraries. To do so under linux, you have to download the tar.gz 
version of the library from CRAN and use as a root user the command R 
CMD INSTALL thelibrarytoinstall.tar.gz. You have to install, of course, 
before, the needed compilers gcc and/or fortran, depend the library you 
are about to install.

Hope it 'll help.
Regards

--
Cordialement


Emmanuel Poizot
Cnam/Intechmer
B.P. 324
50103 Cherbourg Cedex

Phone (Direct) : (00 33)(0)233887342
Fax : (00 33)(0)233887339


__
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] Linux configuration (Ubuntu)

2006-09-20 Thread Uwe Ligges
Poizot Emmanuel wrote:
 Brian Edward a écrit :
 
 Hello all,

 I have been a R user for about a year now, running on a MS Windows 
 machine.
 I am in the process of making a complete switch to open-source.  Linux 
 is a
 new world to me.  Ubuntu was my selection of the various distributions.
 Please pardon this very basic question (I was unable to locate an 
 answer on
 R or Ubuntu).  I used Synaptic to download the necessary files to run.
 However, I was unable to locate the program using the Add/Remove feature.
 So, I created a Launcher for R on the desktop and identified the 
 executable
 file.  The path I entered into the Command Line was:  /usr/bin/R
 I can run R in the Terminal, but not as a separate desktop location.  So,
 the short question is, what is the specific command line or 
 configuration I
 should be using to run R?  Or, am I supposed to be running R in the
 Terminal?

 Thanks in advance,
 Brian

 [[alternative HTML version deleted]]

 __
 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.


   
 
 Dear Edward,
 
 R under linux (Ubuntu or other distributions) is not exactly as it is 
 under windows.
 Under linux, you have to use a shell (or a terminal) to launch R and use 
 it.
 The main difference between windows and linux version of R, is that R 
 under linux, does not provide the graphical facilities to load and 
 install libraries. To do so under linux, you have to download the tar.gz 
   ^ - packages


 version of the library from CRAN and use as a root user the command R 
  ^^^ - package

 CMD INSTALL thelibrarytoinstall.tar.gz. You have to install, of course, 
  ^^^ - package
 before, the needed compilers gcc and/or fortran, depend the library you 
   package -  ^^^

Yes, please, it is called a *package*. And you can easily install 
packages from R by typing:

install.packages(thepackagetoinstall)
  

Please see ?install.packages.
 

Uwe Ligges




 are about to install.
 Hope it 'll help.
 Regards
 
 
 
 
 __
 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.

__
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] Linux configuration (Ubuntu)

2006-09-20 Thread Prof Brian Ripley
On Wed, 20 Sep 2006, Uwe Ligges wrote:

 Poizot Emmanuel wrote:

 R under linux (Ubuntu or other distributions) is not exactly as it is
 under windows.
 Under linux, you have to use a shell (or a terminal) to launch R and use
 it.
 The main difference between windows and linux version of R, is that R
 under linux, does not provide the graphical facilities to load and
 install libraries. To do so under linux, you have to download the tar.gz
   ^ - packages


 version of the library from CRAN and use as a root user the command R
  ^^^ - package

 CMD INSTALL thelibrarytoinstall.tar.gz. You have to install, of course,
  ^^^ - package
 before, the needed compilers gcc and/or fortran, depend the library you
   package -  ^^^

 Yes, please, it is called a *package*. And you can easily install
 packages from R by typing:

 install.packages(thepackagetoinstall)
  

 Please see ?install.packages.
 

One more quick hint to ex-Windows users:  the Rgui menu item runs

install.packages(NULL, dependencies = TRUE)

and that will bring up a graphical menu to select packages even on Linux 
(provided tcltk is working).

-- 
Brian D. Ripley,  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
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] Linux configuration (Ubuntu)

2006-09-20 Thread Frank E Harrell Jr
Uwe Ligges wrote:
 Brian Edward wrote:
 
 Hello all,

 I have been a R user for about a year now, running on a MS Windows machine.
 I am in the process of making a complete switch to open-source.  Linux is a
 new world to me.  Ubuntu was my selection of the various distributions.
 Please pardon this very basic question (I was unable to locate an answer on
 R or Ubuntu).  I used Synaptic to download the necessary files to run.
 However, I was unable to locate the program using the Add/Remove feature.
 So, I created a Launcher for R on the desktop and identified the executable
 file.  The path I entered into the Command Line was:  /usr/bin/R
 I can run R in the Terminal, but not as a separate desktop location.  So,
 the short question is, what is the specific command line or configuration I
 should be using to run R?  Or, am I supposed to be running R in the
 Terminal?
 
 Short answer: yes, long answer, yes, unless you want to use some very 
 capable editor as an environment such ass Emacs + ESS. Look up the 
 documentation and the list archives fo details on Emacs and ESS.
 Uwe Ligges

The kate editor (a Linux KDE tool that also runs fine under Gnome) also 
works well with R.  Just set the editor option to use spaces instead of 
tab characters or the submission of code to an R session will not work 
properly.  I set a customized shortcut of Alt-r to submit code to kate's 
shell window at the bottom of the screen, after manually launching R in 
that window.

After R starts you can manage help files nicely using help.start() to 
use a browser.  I often use dillo, the world's fastest graphical 
browser, by specifying options(browser='dillo') before help.start().

Frank

 
 
 
 Thanks in advance,
 Brian


-- 
Frank E Harrell Jr   Professor and Chair   School of Medicine
  Department of Biostatistics   Vanderbilt University

__
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] Linux configuration (Ubuntu)

2006-09-20 Thread Rainer M Krug


Frank E Harrell Jr wrote:
SNIP

 After R starts you can manage help files nicely using help.start() to 
 use a browser.  I often use dillo, the world's fastest graphical 
 browser, by specifying options(browser='dillo') before help.start().

WOW - dillo is BRILLIANT for this purpose.
Thanks for the tip!
Do you have any idea on how to convince dillo to reuse the same browser 
window again instead of using a new one when using ? ?

 
 Frank
 


 Thanks in advance,
 Brian
 
 

-- 
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[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] Linux configuration (Ubuntu)

2006-09-20 Thread Martin Maechler
 UweL == Uwe Ligges [EMAIL PROTECTED]
 on Wed, 20 Sep 2006 01:03:30 +0200 writes:

UweL Brian Edward wrote:
 Hello all,
 
 I have been a R user for about a year now, running on a MS Windows 
machine.
 I am in the process of making a complete switch to open-source.  Linux 
is a
 new world to me.  Ubuntu was my selection of the various distributions.
 Please pardon this very basic question (I was unable to locate an answer 
on
 R or Ubuntu).  I used Synaptic to download the necessary files to run.
 However, I was unable to locate the program using the Add/Remove feature.
 So, I created a Launcher for R on the desktop and identified the 
executable
 file.  The path I entered into the Command Line was:  /usr/bin/R
 I can run R in the Terminal, but not as a separate desktop location.  So,
 the short question is, what is the specific command line or 
configuration I
 should be using to run R?  Or, am I supposed to be running R in the
 Terminal?

UweL Short answer: yes, long answer, yes, unless you want to use some very 
UweL capable editor as an environment such ass Emacs + ESS. Look up the 
UweL documentation and the list archives fo details on Emacs and ESS.

Of course, I'm strongly suggesting the unless, i.e. using
Emacs + ESS.

Further note that  Ubuntu (as all other Linux distributions
derived from Debian) provides ESS as a standard package you can
simply install, e.g., via Synaptic.
Note that you need to activate the 'Universe'
{in the sources that Synaptic or other package installers
 search} for that, but I assume you've done that anyway for the
R-related ubuntu packages.

And yes, I believe Ubuntu is a very good choice when upgrading
from Windows!

Martin

__
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] Linux configuration (Ubuntu)

2006-09-20 Thread Frank E Harrell Jr
Rainer M Krug wrote:
 
 
 Frank E Harrell Jr wrote:
 SNIP
 
 After R starts you can manage help files nicely using help.start() to 
 use a browser.  I often use dillo, the world's fastest graphical 
 browser, by specifying options(browser='dillo') before help.start().
 
 WOW - dillo is BRILLIANT for this purpose.
 Thanks for the tip!
 Do you have any idea on how to convince dillo to reuse the same browser 
 window again instead of using a new one when using ? ?

Good question.  No, don't know.  Hope someone can figure it out.

By the way a handy use of kate is kate -u from the command line to open 
a file into an existing kate session, or start a session if needed.

Frank

 

 Frank



 Thanks in advance,
 Brian

__
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] Linux configuration (Ubuntu)

2006-09-20 Thread Dirk Eddelbuettel

On 20 September 2006 at 15:42, Martin Maechler wrote:
| Further note that  Ubuntu (as all other Linux distributions
| derived from Debian) provides ESS as a standard package you can
| simply install, e.g., via Synaptic.
| Note that you need to activate the 'Universe'
| {in the sources that Synaptic or other package installers
|  search} for that, but I assume you've done that anyway for the
| R-related ubuntu packages.

At this point, it may be worth recalling that there are 

-- eleven 'core' R packages incl documentation and r-mathlib
-- around 80 CRAN packages ready to install to extend R
-- packages for ess as mentioned in this thread
-- RPy (R from Python) support via the python-rpy package
-- Ggobi via the ggobi package
-- and even R inside PostgreSQL via postgresql-$VER-plr

for Debian and Ubuntu.  Not everything may be available at all 'flavours' but
Debian testing and Ubuntu dapper are well covered. 
 
| And yes, I believe Ubuntu is a very good choice when upgrading
| from Windows!

Yup, though I personally prefer KUbuntu.  That said, all indications are that
the new Debian installer will be very powerful.  Hopefully in December ...

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison

__
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] Linux configuration (Ubuntu)

2006-09-19 Thread Uwe Ligges
Brian Edward wrote:

 Hello all,
 
 I have been a R user for about a year now, running on a MS Windows machine.
 I am in the process of making a complete switch to open-source.  Linux is a
 new world to me.  Ubuntu was my selection of the various distributions.
 Please pardon this very basic question (I was unable to locate an answer on
 R or Ubuntu).  I used Synaptic to download the necessary files to run.
 However, I was unable to locate the program using the Add/Remove feature.
 So, I created a Launcher for R on the desktop and identified the executable
 file.  The path I entered into the Command Line was:  /usr/bin/R
 I can run R in the Terminal, but not as a separate desktop location.  So,
 the short question is, what is the specific command line or configuration I
 should be using to run R?  Or, am I supposed to be running R in the
 Terminal?

Short answer: yes, long answer, yes, unless you want to use some very 
capable editor as an environment such ass Emacs + ESS. Look up the 
documentation and the list archives fo details on Emacs and ESS.
Uwe Ligges



 
 Thanks in advance,
 Brian
 
   [[alternative HTML version deleted]]
 
 __
 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.

__
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.