[R] Concatenating data frames in R versus SAS

ramoss ramine.mossadegh at finra.org
Thu Aug 23 22:55:23 CEST 2012


I am trying to concatenate 2 datasets that don't have exactly the same
column.  
In SAS I did: data summary;
  set agency prop;
run;
No problem
in R I get error message
summary <-rbind(agency,prop)
Error in match.names(clabs, names(xi)) : 
  names do not match previous names

But when I use rbin.fill, that overwrites the second file w/ first one.
Is there a way to replicate the sas process in R?

Thanks in advance



--
View this message in context: http://r.789695.n4.nabble.com/Concatenating-data-frames-in-R-versus-SAS-tp4641138.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list