[R] bug in read.table?

Joerg Maeder maeder at atmos.umnw.ethz.ch
Wed Jan 9 10:04:32 CET 2002


Hello,

in the new Relase (1.4) i get a different (worser) result for read.table
with as.is=T: it crash!

Input file (t.txt, with a name, 5 character and a numeric column)
Name	short	kind	logable	use	save	lag
m	"mo"	"x"	"n"	"1"	"n"	0
Ptp	"PT"	"l"	"y"	"m"	"n"	0

R-Code
read.table('t.txt',header=T,row.names=1,as.is=T)

R-Output
stack imbalance in internal type.convert, 26 then 25stack imbalance in
.Internal, 25 then 24
stack imbalance in if, 19 then 18
stack imbalance in <-, 17 then 16
stack imbalance in {, 15 then 14
stack imbalance in internal type.convert, 25 then 24stack imbalance in
.Internal, 24 then 23
stack imbalance in if, 18 then 17
stack imbalance in <-, 16 then 15
stack imbalance in {, 14 then 13
stack imbalance in internal type.convert, 24 then 23stack imbalance in
.Internal, 23 then 22
stack imbalance in if, 17 then 16
stack imbalance in <-, 15 then 14
stack imbalance in {, 13 then 12
stack imbalance in internal type.convert, 23 then 22stack imbalance in
.Internal, 22 then 21
stack imbalance in if, 16 then 15
stack imbalance in <-, 14 then 13
stack imbalance in {, 12 then 11
stack imbalance in internal type.convert, 22 then 21stack imbalance in
.Internal, 21 then 20
stack imbalance in if, 15 then 14
stack imbalance in <-, 13 then 12
stack imbalance in {, 11 then 10
stack imbalance in internal type.convert, 21 then 20stack imbalance in
.Internal, 20 then 19
stack imbalance in if, 14 then 13
stack imbalance in <-, 12 then 11
stack imbalance in {, 10 then 9
stack imbalance in for, 8 then 2
stack imbalance in {, 6 then 0
Error in read.table("t.txt", header = T, row.names = 1, as.is = T) : 
	unprotect(): stack imbalance

Information to my R
version
         _                   
platform sparc-sun-solaris2.8
arch     sparc               
os       solaris2.8          
system   sparc, solaris2.8   
status                       
major    1                   
minor    4.0                 
year     2001                
month    12                  
day      19                  
language R                 

thanks for your help

joerg maeder

-- 
    Joerg Maeder             IACETH              INSTITUTE
   PhD Student                              FOR ATMOSPHERIC 
  Phone: +41 1 633 36 25                 AND CLIMATE SCIENCE
 Fax: +41 1 633 10 58                  ETH ZÜRICH Switzerland
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list