[R] Paste script in R stops before end of file

Tomas Willebrand tomas.willebrand at szooek.slu.se
Sat Feb 12 23:55:53 CET 2005


Hi!

I can only paste a limited amount of text into R (which is started in KDEs 
Konsole). The script I have problem with stops pasting after 4224 characters, 
and 78 lines. Although I can get Rs' attention at that point by just pressing 
Return.  The script mainly consists of a a large amount of vectors that I 
would like to join into a dataset for further analysis. Example of vector: 
AC <- 
c(1700,18000,18000,20000,19000,14500,24000,3421,3770,5045,11400,5775,4944,6765,13557,5200,7930,16400,14500,8900,10500,17000,18000,23500,28700,33200,26000,20000,27500,25100,20900,18500,27400,25000,12200,12200,8203,6958,8455,8828,7707,5217,5722)

There is no problem pasting the total script into different editors, and I can 
paste all lines into vi when it is run in the Konsole. I can also divide the 
script i 3 different parts that R would read through pasting. 

I use R 2.01 on a machine that have SuSE 9.2 with KDE3.3.2, kernel-smp 
2.6.8-24.11 installed and an Intel 3 GHz, 1056 MB RAM. I have set the coding 
to ISO8859-1.

What puzzles me is that I have no problem pasting in the whole script in one 
chunck using R 2.0.1 with SuSE 9.2 on a ThinkpadX40.

Is this likely to be a problem with my R installation? Any help is 
appriciated.

/Tomas




More information about the R-help mailing list