Re: [R] Problem loading packages in R 2.13.0 on Mac

2011-06-10 Thread Ethan Brown
Hi Adrienne,

I'm not familiar with your interface, but it sounds like R thinks the
package mvtnorm is not installed. You can see the packages you've
installed with:

row.names(installed.packages())

Is mvtnorm in the output of that command? You could test with the command,

mvtnorm %in% row.names(installed.packages())

If the result of the above command is FALSE, you can install it with:

install.packages(mvtnorm)

Best,
Ethan

On Fri, Jun 10, 2011 at 12:00 PM, Adrienne Keller 
adrienne.kel...@umontana.edu wrote:

 I am having problem loading packages in the newest version of R (2.13.0) on
 my Mac. I have tried to install various packages (e.g. lawstat, Rcmdr, car)
 and load them using the Package Installer and Package Manager menu options
 but I get the follow error:

  library(lawstat)
 Loading required package: mvtnorm
 Error: package 'mvtnorm' could not be loaded
 In addition: Warning message:
 In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc =
 lib.loc) :
  there is no package called 'mvtnorm'

 When I click on the box for loading lawstat in the Package Manager, it
 immediately reverts back to an unchecked box.

 I have tried to load mvtnorm and then load lawstat but I get the same
 error.

 Help?

 Thanks,

 Adrienne

 __
 R-help@r-project.org 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.


[[alternative HTML version deleted]]

__
R-help@r-project.org 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] Problem loading packages in R 2.13.0 on Mac

2011-06-10 Thread Berend Hasselman

Adrienne Keller wrote:
 
 I am having problem loading packages in the newest version of R  
 (2.13.0) on my Mac. I have tried to install various packages (e.g.  
 lawstat, Rcmdr, car) and load them using the Package Installer and  
 Package Manager menu options but I get the follow error:
 
   library(lawstat)
 Loading required package: mvtnorm
 Error: package 'mvtnorm' could not be loaded
 In addition: Warning message:
 In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc  
 = lib.loc) :
there is no package called 'mvtnorm'
 
 When I click on the box for loading lawstat in the Package Manager, it  
 immediately reverts back to an unchecked box.
 
 I have tried to load mvtnorm and then load lawstat but I get the same  
 error.
 

The error message would imply that the package mvtnorm is not installed.

1. This is a Mac issue. Use the R-SIG-Mac mailing list.

2. Assuming you are using the R Mac GUI, you use the Package Installer to
install  packages.
  If you want dependencies installed don't forget to check the Install
dependencies checkbox in the lower right corner of the Package Installer
window. Select lawstat and then click Install Selected.

3. Now you should be able to load.

Berend


--
View this message in context: 
http://r.789695.n4.nabble.com/Problem-loading-packages-in-R-2-13-0-on-Mac-tp3589079p3589219.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org 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.