View Single Post
  #3 (permalink)  
Old 10-30-2007, 06:27 PM
vital101 vital101 is offline
Member
 
Join Date: Oct 2007
Posts: 2
vital101 will become famous soon enough
Do you think it'd be possible to do something like:
Code:
p = r.exec("R --no-save < test.r"); //where test.r contains seq(1,10,1)
When I do this on the command line directly, it works fine. However, when I do this from within Java, it ignores (and tells me it's ignoring) everything from the "<" forward. Here's the error:

Quote:
In Main after exec
ARGUMENT '<' __ignored__

ARGUMENT 'test.r' __ignored__


R version 2.5.1 (2007-06-27)
Copyright (C) 2007 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
....
Reply With Quote