[R] Putting Zero in table using R

David Winsemius dwinsemius at comcast.net
Mon Jul 13 07:51:58 CEST 2015


On Jul 12, 2015, at 9:27 PM, sreenath wrote:

> I have exel table having 39 coloumns ,and some cells are balnk.How can i put
> zero in these empty cells using R
> 

If you export with tab or comma as the separator, it will get imported as an NA and you can change the NA's to 0.

> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Putting-Zero-in-table-using-R-tp4709807.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list