Hi all --
I am working on 64-bit Windows XP. I'm not a very technical person when it
comes to the command line stuff, so please forgive me if this is a stupid
question.
I have a bunch of HDF files, and I want to dump a single PM25 data layer
from each file to .txt by invoking ncdump.exe from system(). Here's a
sample command string:
"C:/ncdump -v PM25 C:/01aug2010.hdf > C:/01aug2010.txt"
This works perfectly in Python, but does not actually generate the .txt
file in R when:
system(command)
It does show the output on the console, if flagged to do so, and I can
capture the output to an R object with intern = T. I assume there is some
problem with the way I have specified how to get the output to the text
file (i.e. the ">"), but experimentation with other options has not gone
well.
Can anyone advise?
Thanks!
Sarah
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.