Vikas Rawal <vikasli...@agrarianresearch.org> writes:

> If the result of an R source block contains a data frame with NA, the
> NAs are replaced by "nil" when I evaluate the source block. When I
> export the file, these appear as nil in the resulting pdf/latex file. 
>
> I would like the NAs to be replaced by blank cells or by a less
> obstrusive character like a ".". Is there a simple way I could change
> this behaviour?
>
> Vikas
>
>
Aloha Vikas,

One route might be the ascii package in R, which exports objects to
several markup languages, including Org. The ascii() argument na.print
is a character string that specifies how NA should appear in the output.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

Reply via email to