Re: [R] cat not evaluated before file.choose

2006-11-26 Thread Prof Brian Ripley
I believe this is specific to the MacOS (and Windows) GUI, which you did not mention you were using. See ?flush.console for the solution. Your subject line is misleading: it is the console that is delaying showing the result. On Sat, 25 Nov 2006, Kevin Middleton wrote: As part of a larger

[R] cat not evaluated before file.choose

2006-11-25 Thread Kevin Middleton
As part of a larger function I have code similar to the reduced example below. The user is instructed to choose a file, which gets read using read.csv. In this example, I just have the name of the file print out. When I call this function with choosefile(), the file dialog box appears

Re: [R] cat not evaluated before file.choose

2006-11-25 Thread jim holtman
turn off the buffered write or use flush.console(). On 11/25/06, Kevin Middleton [EMAIL PROTECTED] wrote: As part of a larger function I have code similar to the reduced example below. The user is instructed to choose a file, which gets read using read.csv. In this example, I just have the