Dear R-users,

For reporting purpose (using Sweave and LaTeX), I am creating complex tables
with the cat function such as

> x<-c("A", "B", "C", NA)
> cat(x, '\n')
A B C NA

For convenience, I would like to change all my NA value to something else
like '.' (as in SAS for example). Is there a global option which allows this
change? Or should I change all my code to work with the print function and
the na.print argument?

Best regards,
David
-- 
View this message in context: 
http://www.nabble.com/Convert-NA-to-%27.%27-tp24142187p24142187.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to