It looks like you are trying to use the scan function to pause some script
being called with the source function until you provide user input.
To do this, you need to specify the argument file=stdin when scan runs
inside a process. EG scan(file='stdin', nmax=1). In my Linux terminal, at
least,
I encountered this error when I used readLines on a text file, and some of
the lines were empty. Once I extracted empty rows it worked fine, EG
Text = readLines(~/text.txt)
extracts = which(Text == )
Text = Text[-extracts]
--
View this message in context:
2 matches
Mail list logo