newbie R question

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

newbie R question

mark leeds-4
I'm sorry to bother everyone with a stupid
question but, when I am at an R prompt in Windows,
is there a way to see what packages
you already have installed from the R site so
that you can just do library(name_of_package)
and it will work.
 
I've looked at help etc but I can't find
a command like this. Maybe there
isn't one which is fine.
 
                                             Mark


**********************************************************************
This email and any files transmitted with it are confidentia...{{dropped}}

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: newbie R question

Peter Dalgaard
"Mark Leeds" <[hidden email]> writes:

> I'm sorry to bother everyone with a stupid
> question but, when I am at an R prompt in Windows,
> is there a way to see what packages
> you already have installed from the R site so
> that you can just do library(name_of_package)
> and it will work.
>  
> I've looked at help etc but I can't find
> a command like this. Maybe there
> isn't one which is fine.

Just library() (w/no arguments)

--
   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
~~~~~~~~~~ - ([hidden email])                  FAX: (+45) 35327907

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: newbie R question

Kort, Eric
In reply to this post by mark leeds-4
On Tue, 2006-01-03 at 16:07 -0500, Mark Leeds wrote:

> I'm sorry to bother everyone with a stupid
> question but, when I am at an R prompt in Windows,
> is there a way to see what packages
> you already have installed from the R site so
> that you can just do library(name_of_package)
> and it will work.
>  
> I've looked at help etc but I can't find
> a command like this. Maybe there
> isn't one which is fine.

library()


HTH,
Eric

This email message, including any attachments, is for the so...{{dropped}}

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: newbie R question

Roger Bivand
In reply to this post by mark leeds-4
On Tue, 3 Jan 2006, Mark Leeds wrote:

> I'm sorry to bother everyone with a stupid
> question but, when I am at an R prompt in Windows,
> is there a way to see what packages
> you already have installed from the R site so
> that you can just do library(name_of_package)
> and it will work.
>  
> I've looked at help etc but I can't find
> a command like this. Maybe there
> isn't one which is fine.

library()

>  
>                                              Mark
>
>
> **********************************************************************
> This email and any files transmitted with it are confidentia...{{dropped}}
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: [hidden email]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Roger Bivand
Department of Economics
NHH Norwegian School of Economics
Helleveien 30
N-5045 Bergen, Norway
Reply | Threaded
Open this post in threaded view
|

Re: newbie R question

Brian Ripley
In reply to this post by mark leeds-4
On Tue, 3 Jan 2006, Mark Leeds wrote:

> I'm sorry to bother everyone with a stupid
> question but, when I am at an R prompt in Windows,
> is there a way to see what packages
> you already have installed from the R site so
> that you can just do library(name_of_package)
> and it will work.
>
> I've looked at help etc but I can't find
> a command like this. Maybe there
> isn't one which is fine.

library() (no arguments) lists all the installed packages (by library).

--
Brian D. Ripley,                  [hidden email]
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, UK                Fax:  +44 1865 272595

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: newbie R question

mark leeds-4
In reply to this post by mark leeds-4
Thanks to all. I didn't
Realize that you
Got so many packages
Automatically.
 
I've used S+ for roughly
10 years on and off and
I am starting to switch over
( was finally forced to because my new company preferred
me to use R for cost. I am the only user )
and it's unbelievable what has been done
in R by everyone. Truly
amazing. You should
all be quite proud
about what you have created.

               Mark

-----Original Message-----
From: Prof Brian Ripley [mailto:[hidden email]]
Sent: Tuesday, January 03, 2006 4:16 PM
To: Mark Leeds
Cc: R-Stat Help
Subject: Re: [R] newbie R question

On Tue, 3 Jan 2006, Mark Leeds wrote:

> I'm sorry to bother everyone with a stupid
> question but, when I am at an R prompt in Windows,
> is there a way to see what packages
> you already have installed from the R site so
> that you can just do library(name_of_package)
> and it will work.
>
> I've looked at help etc but I can't find
> a command like this. Maybe there
> isn't one which is fine.

library() (no arguments) lists all the installed packages (by library).

--
Brian D. Ripley,                  [hidden email]
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, UK                Fax:  +44 1865 272595


**********************************************************************
This email and any files transmitted with it are confidentia...{{dropped}}

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: newbie R question

justin bem
In reply to this post by Peter Dalgaard
Why said stupid question ? be positive next time
  Best wishes.

Peter Dalgaard <[hidden email]> a écrit :
  "Mark Leeds" writes:

> I'm sorry to bother everyone with a stupid
> question but, when I am at an R prompt in Windows,
> is there a way to see what packages
> you already have installed from the R site so
> that you can just do library(name_of_package)
> and it will work.
>
> I've looked at help etc but I can't find
> a command like this. Maybe there
> isn't one which is fine.
Just library() (w/no arguments)

--
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
~~~~~~~~~~ - ([hidden email]) FAX: (+45) 35327907

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
 


               
---------------------------------

        [[alternative HTML version deleted]]


______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html