Ho trovato il pacchetto tabplot per la visualizzazione di un grande database. Ho eseguito utilizzando il codice qui sotto, ma ottengo questo errore su diversi frame di dati:Qual è il significato di questo errore "Errore in if (qualsiasi (B <1)) stop (" B too small ")" durante l'utilizzo del pacchetto tabplot
"Error in if (any(B < 1)) stop("B too small") :
missing value where TRUE/FALSE needed
In addition: Warning message:
In bbatch(n, as.integer(BATCHBYTES/theobytes)) : NAs introduced by coercion"
Ecco un esempio:
dat <- read.table(text = " birds wolfs snakes
3 9 7
3 8 4
1 2 8
1 2 3
1 8 3
6 1 2
6 7 1
6 1 5
5 9 7
3 8 7
4 2 7
1 2 3
7 6 3
6 1 1
6 3 9
6 1 1 ",header = TRUE)
install.packages("tabplot")
package ‘ff’ successfully unpacked and MD5 sums checked
package ‘bit’ successfully unpacked and MD5 sums checked
package ‘fastmatch’ successfully unpacked and MD5 sums checked
package ‘ffbase’ successfully unpacked and MD5 sums checked
package ‘tabplot’ successfully unpacked and MD5 sums checked
library("tabplot", lib.loc="~/R/win-library/3.1")
tab <- tableplot(dat, plot = FALSE) ## The tabplot command
Error in if (any(B < 1)) stop("B too small") :
missing value where TRUE/FALSE needed
In addition: Warning message:
In bbatch(n, as.integer(BATCHBYTES/theobytes)) : NAs introduced by coercion
alcuna idea di come superare questo problema?
UPDATE - ho usato un altro computer e funziona computer fine.Both sono su Windows a 64 bit, ma sul computer che ho preso a lavorare il sistema operativo è Win7 Pro e sul computer che ha l'errore del sistema operativo è WIN SERVER 2013
Ho solo ricevuto un avviso (v 1.1.). Quale versione del pacchetto stai usando? –
La versione è 1.1 – mql4beginner
A questo punto, penso che avremo bisogno di un esempio riproducibile. Qualcuno può riconfermare l'errore? –