system(..., intern=TRUE) splits long lines after 118th character and discards the 119th character
> a <- paste(rep("a", 124), collapse="") > system(paste("echo", a), intern=TRUE) system(paste("echo", a), intern=TRUE) [1] "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaa" > The result is a vector of length 2 and it should be that of 1. version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 6.0 year 2002 month 10 day 01 language R Thanks, Vadim -------------------------------------------------- DISCLAIMER\ This e-mail, and any attachments thereto, is intende... [[dropped]] ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel