hexplom error
1
0
Entering edit mode
Naomi Altman ★ 6.0k
@naomi-altman-380
Last seen 3.7 years ago
United States
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)) Naomi S. Altman 814-865-3791 (voice) Associate Professor Dept. of Statistics 814-863-7114 (fax) Penn State University 814-865-1348 (Statistics) University Park, PA 16802-2111 [[alternative HTML version deleted]]
• 1.1k views
ADD COMMENT
0
Entering edit mode
@deepayan-sarkar-1436
Last seen 14 months ago
United States
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
ADD COMMENT

Login before adding your answer.

Traffic: 378 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6