Displaying 1 result from an estimated 1 matches for "snapahot".
Did you mean:
snapashot
2004 Mar 04
4
Command Line Programs
...m trying to do is the following:
x=matrix(c(1,2,3,4,5,6,7,8,9),3,3)
y=matrix(c(rnorm(9),3,3)
z1=x*y
z2=x%*%y
eigen(z1)
eigen(z2)
I would like to store these commands in a file and simply run/call/invoke that file rather than have to type in the line commands everyday. The above is a very simple snapahot of what I am doing.
Right Now I have a function that runs these commands. Also, I can easily COPY the commands from some editor (e.g., Word) and PASTE to the R Console, and R will automatically run the commands.
The question is, Is there anyway to invoke a series of commands outside of the functi...