Re: [R] Running code sequentially from separate scripts (but not functions)

2011-02-24 Thread rex.dwyer
function (x,y,z) ... Did you think you would break your computer if you just tried this to see if it worked? :) -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Dimitri Liakhovitski Sent: Thursday, February 24, 2011 10:22 AM To:

Re: [R] Running code sequentially from separate scripts (but not functions)

2011-02-24 Thread Dimitri Liakhovitski
n (x,y,z) ... > > Did you think you would break your computer if you just tried this to see if > it worked?  :) > > > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Dimitri Liakhovitski > Sent: Thu

Re: [R] Running code sequentially from separate scripts (but not functions)

2011-02-24 Thread Jonathan P Daily
V, 25430 (304) 724-4480 "Is the room still a room when its empty? Does the room, the thing itself have purpose? Or do we, what's the word... imbue it." - Jubal Early, Firefly r-help-boun...@r-project.org wrote on 02/24/2011 10:21:47 AM: > [image removed] > > [R] Running

Re: [R] Running code sequentially from separate scripts (but not functions)

2011-02-24 Thread Jeff Newmiller
You say you are aware that you can source them from a common script, yet you don't seem satisfied with that. Perhaps you could be more specific about why that solution is not satisfactory? One thing you said could indicate a misunderstanding... you do not have to wrap the code in functions bef

[R] Running code sequentially from separate scripts (but not functions)

2011-02-24 Thread Dimitri Liakhovitski
Hello! I am wondering if it's possible to run - in sequence - code that is stored in several R scripts. For example: Script in the file "code1.r" contains the code: a = 3; b = 5; c = a + b Script in the file "code2.r" contains the code: d = 10; e = d - c Script in the file "code3.r" contains th