You could use the source function. For instance if your code is in
the file someCode.q then you can have R execute it by running
> source("someCode.q")
For this to work someCode.q must be in R's current working directory
which you can check with the getwd() function. Otherwise you have to
use the full path to someCode.q which you can find by dropping
someCode.q onto your terminal window. Good luck.
Kjell
On Nov 13, 2006, at 10:28 AM, Christoph Hofer wrote:
> Hello
>
> I have the following problem:
>
> I installed R by source (version 2.3.1, OS X 10.4.8)
>
> ./configure --with-blas=-framework vecLib --with-tcltk --with-lapack
> --with-x --enable-R-shlib --enable-R-framework --with-readline --with-
> aqua
> make
>
> I use R as command line interface in the OS X terminal. Now when I
> copy some R-code into the terminal, i only can paste some 38 rows of
> the code
> . Then R hangs, which mean that i can not paste more than 38 rows of
> R code into the R application running in the terminal.
>
>
> Does someone have the same problem or has a solution?
>
>
> Best regards
>
> Christoph
>
> _______________________________________________
> R-SIG-Mac mailing list
> [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac