Dears,

does anyone know, how I can get R to save the values of an array in a csv like 
file using write(), but without printing NA to the file? I use ';' to seperate 
the elements, so :

a=c(1,NA,2,3,3)

write(a)

should produce


1;;2;3;3


in the file.


Thanks in advance!

__________________________________________________
Do You
enden Schutz gegen Massenmails. 
http://mail.yahoo.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