Problem loading RMark package

posts related to the RMark library, which may not be of general interest to users of 'classic' MARK

Problem loading RMark package

Postby Jen » Thu May 12, 2011 10:14 am

Hi,

This is my first post so I apologise in advance if I have omitted any necessary information.

I have been running multi-state models in RMark and was getting an error message, so decided to update all my versions of Mark, R and RMark before bothering the forum with it. However, after months of error free analysis I now cannot even load the RMark package.

I am using R version 2.13.0 (however I also get the error with an older version 2.12.0). I am attempting to load RMark version 2.0.1. This is the error:

package 'RMark' successfully unpacked and MD5 sums checked
> library(RMark)
Loading required package: msm
Loading required package: Hmisc
Loading required package: survival
Loading required package: splines

Attaching package: 'Hmisc'

The following object(s) are masked from 'package:survival':

untangle.specials

The following object(s) are masked from 'package:base':

format.pval, round.POSIXt, trunc.POSIXt, units

Loading required package: nlme
Loading required package: plotrix
Error: package 'plotrix' 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 'plotrix'

It seems the command causes R to attempt to load other packages? Any suggestions on why this is happening would be appreciated.

Thanks.

Jen
Jen
 
Posts: 5
Joined: Thu May 12, 2011 7:42 am

Re: Problem loading RMark package

Postby bacollier » Thu May 12, 2011 10:18 am

Jen,
RMark (as of January I think), requires the R package 'plotrix' to be installed in R before it will work. Check the What's New (http://www.phidot.org/software/mark/rma ... nRMark.pdf).

install.packages("plotrix") should get you there.

Bret
bacollier
 
Posts: 230
Joined: Fri Nov 26, 2004 10:33 am
Location: Louisiana State University

Re: Problem loading RMark package

Postby Jen » Thu May 12, 2011 10:34 am

Thanks for your help, it's working now. I hadn't had those messages before with previous RMark versions so assumed there was something wrong when really it was quite obvious. I won't over complicate things next time.
Thanks again
Jen
 
Posts: 5
Joined: Thu May 12, 2011 7:42 am


Return to RMark

Who is online

Users browsing this forum: No registered users and 0 guests

cron