[BioC] hexplom error

Deepayan Sarkar deepayan.sarkar at gmail.com
Wed Jun 2 07:19:55 CEST 2010


On Tue, Jun 1, 2010 at 11:16 PM, Naomi Altman <naomi at stat.psu.edu> wrote:
> I read a tab-delimited text file into R.  Except for the first
> column, it is all integer-valued.  I get the following message when
> trying to plot using hexplom.
>
> Error in grid.Call.graphics("L_downviewport", name$name, strict) :
>   Viewport 'plot1.panel.1.1.off.vp' was not found
>
> (pairs works fine with these data)
>
> Details:
>
>  > sessionInfo()
> R version 2.11.1 (2010-05-31)
> i386-pc-mingw32
>
> locale:
> [1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United
> States.1252    LC_MONETARY=English_United States.1252
> [4] LC_NUMERIC=C                           LC_TIME=English_United
> States.1252
>
> attached base packages:
> [1] grid      stats     graphics  grDevices
> utils     datasets  methods   base
>
> other attached packages:
> [1] Biobase_2.8.0  hexbin_1.22.0  lattice_0.18-8
>
> loaded via a namespace (and not attached):
> [1] tools_2.11.1
>
>
> library(hexbin)
> mydata=read.delim("myfile.txt",header=T)
> temp=mydata[,2:4]
> plot(hexplom(temp))

This works for me:

> temp = data.frame(x = sample(1:100), y = sample(1:100), z = sample(1:100))
> library(hexbin)
Loading required package: grid
> hexplom(temp)

so must be something that gets triggered for your data. If the problem
is reproducible with a small subset of temp, could you provide that
for us (perhaps using dput())?

-Deepayan



More information about the Bioconductor mailing list