[R] example for plot.compare.datasets() in package rioja fails

Sarah Goslee sarah.goslee at gmail.com
Fri Jul 29 21:57:01 CEST 2011


I get the same error on a clean R session with rioja 0.5-6.

> sessionInfo()
R version 2.13.1 (2011-07-08)
Platform: x86_64-redhat-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=C              LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] rioja_0.5-6

loaded via a namespace (and not attached):
[1] tcltk_2.13.1 tools_2.13.1

This is a clear example of needing to report it to the package maintainer,
who is:
   Maintainer: Steve Juggins <Stephen.Juggins at ncl.ac.uk>

Sarah

On Fri, Jul 29, 2011 at 2:53 PM, Jason Paul Joines <jason at joines.org> wrote:
>    I'm using rioja 0.5-6 with R 2.12.1 / x86_64-pc-linux-gnu on Kubuntu
> 11.04.
>
>    When I run this example from the rioja reference manual:
>
> library(rioja)
> # compare diatom data from core from Round Loch of Glenhead
> # with SWAP surface sample dataset
> data(RLGH)
> data(SWAP)
> result <- compare.datasets(RLGH$spec, SWAP$spec)
> result
> #visualise the comparison
> plot.compare.datasets(result)
>
>    Everything runs fine except for plot.compare.datsets() which gives the
> error:
>
> Error in dim(x) : 'x' is missing
> Calls: plot.compare.datasets -> nrow
> Execution halted
>
>    Any ideas?
>
>
> Jason
> ===========
>
-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list