Hi
I've been stumbling over a simple issue that undoubtedly has an easy
solution. I need to have some way for a user to enter some values
into a data frame which R will then work on. I know that data entry
should ideally be done otherwise and I should use R only for the
computation, but R's
On Tue, Oct 27, 2009 at 9:20 AM, Kaushik Krishnan
kaushik.s.krish...@gmail.com wrote:
$ r --vanilla test.r
a - scan(what='character',n=1); a
1: Read 0 items
character(0)
Now it's not working.
Assuming this is a unix environment, the syntax ' test.r' means 'my
standard input stream
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kaushik Krishnan wrote:
Is there any way to make R stop for the user to enter values when
running in batch mode either by changing the way I invoke scan() or
readLines() or by using any other function?
At least on linux this works:
Barry Rowlingson b.rowling...@lancaster.ac.uk
on Tue, 27 Oct 2009 10:17:24 +0100 writes:
On Tue, Oct 27, 2009 at 9:20 AM, Kaushik Krishnan
kaushik.s.krish...@gmail.com wrote:
$ r --vanilla test.r
a - scan(what='character',n=1); a
1: Read 0 items
character(0)
4 matches
Mail list logo