Thanks William,
This solved my problem very well. Look like I asked a very trivial
question.
-
Sidda
Business Analyst Lead
Applied Materials Inc.
--
View this message in context:
http://r.789695.n4.nabble.com/Getting-error-while-running-unix-commands-within-R-using-system-function
To diagnose a problem in R it pays to pull apart your expression
into a sequence of simpler ones. E.g., replace your expression
system(" awk '{print "Hello"$1}' infile.txt")
with the sequence
sysCmd <- " awk '{print "Hello"$1}' infile.txt"
system(sysCmd)
and you will see an error when runnin
2 matches
Mail list logo