Hello and sorry to bother.
Please help.
I searched the archives but could not find out why --args is being ignored
on Windows 2000.
I try
R CMD BATCH --slave 11.R 11.Rout --args 12
and 11.R has
x=commandArgs(trail=T)
print(x)
a=x[length(x)]
write.csv(a,file=13.out)
q(no)
the argument is not
, Henrik Bengtsson [EMAIL PROTECTED] wrote:
Put the for loop outside the tryCatch(). /H
On 2/13/07, Stephen Bond [EMAIL PROTECTED] wrote:
Henrik,
thank you for the reference. Can you please tell me why the following
does not work?
vec=c(hdfhjfd,jdhfhjfg)# non-existent file names
in err.
Thank you
Stephen
Henrik Bengtsson wrote:
Hi,
google R tryCatch example and you'll find:
http://www.maths.lth.se/help/R/ExceptionHandlingInR/
Hope this helps
Henrik
On 2/13/07, Stephen Bond [EMAIL PROTECTED] wrote:
Henrik,
I had looked at tryCatch before posting the question
Could smb please help with try-catch encapsulating a function for
downloading. Let's say I have a character vector of symbols and want to
download each one and surround by try and catch to be safe
# get.hist.quote() is in library(tseries), but the question does not
depend on it, I could be