search for: tcon_

Displaying 1 result from an estimated 1 matches for "tcon_".

Did you mean: tcon
2002 Dec 27
0
parse and pushBack (PR#2396)
...last one from me, anyway... The "parse" function seems to give erratic behaviour when used in conjunction with "pushBack" on an open connection (R1.6.1, Windows 2000). Try this: > { cat( c( '1', 'a+b', '2'), file='r123.r', sep='\n'); tcon_ file( 'r123.r'); open( tcon); print( readLines( tcon, n=1)); pushBack( c( 'a+b'), tcon); print( parse( file=tcon, n=1)); print( readLines( tcon)); close( tcon); unlink( 'r123.r' } [1] "1" Error in parse(file, n, text, prompt) : syntax error on line 1 But if I...