I often use the above function to trasfer arrays to R from VBA.
Sometimes these arrays have missing values, for example, I may have
        a = makearr("1", 2, 3, "NA", 5, 6, 7, "#N/A", 9, 10)

If I do
        putarrayfromvba "a", a
in R I get:
        > a
         [1]  1  2  3  0  5  6  7  0  9 10

What should I do to get
        [1]  1  2  3 NA  5  6  7 NA  9 10
instead?

Thanks
Christian Prinoth

DISCLAIMER:
L'utilizzo non autorizzato del presente messaggio รจ vietato e potrebbe 
costituire reato. Le informazioni e le opinioni contenute in questo messaggio 
sono inviate dal mittente a proprio nome e non costituiscono una posizione 
ufficiale di Epsilon SGR. Questo messaggio e' confidenziale e se non e' a Lei 
indirizzato Le saremmo grati se, via e-mail, ne comunicasse l'errata ricezione 
al mittente.
The information and opinions contained in this message do not constitute an 
official position of Epsilon SGR and are communicated by the sender in is own 
name. This message is confidential, if you are not the intended recipient, 
please notify the sender immediately. The information and opinions contained in 
this message do not constitute an official position of Epsilon SGR and are 
communicated by the sender in his own name. This message is confidential, if 
you are not the intended recipient, please notify the sender immediately.

_______________________________________________
Rcom-l mailing list
Rcom-l@mailman.csd.univie.ac.at
http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
More information (including a Wiki) at http://rcom.univie.ac.at

Reply via email to