Re: [R] Opening a .R file with R (Windows)

2010-09-30 Thread Petr PIKAL
Hi One workaround in Windows You shall have SendTo folder located somewhere in system (depending on Windows version). Put a shortcut to R programme in that folder. Than you can click with right mouse button on *.r file, select send to and choose appropriate shortcut (in that case R) but you

Re: [R] Opening a .R file with R (Windows)

2010-09-30 Thread Nutter, Benjamin
1:48 PM To: Joshua Wiley Cc: r-help@r-project.org Subject: Re: [R] Opening a .R file with R (Windows) Well, try following the correct conventions ... 1. Double click on an .Rdata file, which is produced by saving from R, and it will open. 2. Drag and drop a .R or any text file into an open R

Re: [R] Opening a .R file with R (Windows)

2010-09-30 Thread Gabor Grothendieck
On Tue, Sep 28, 2010 at 1:11 PM, Kye Gilder kye.gil...@gmail.com wrote: I am new to using R.  I installed R on my computer (Windows) and everything things appears to be just fine.  However, I have a simple script RTest.R that does a few simple calculations.  When I double-click the RTest.R

[R] Opening a .R file with R (Windows)

2010-09-28 Thread Kye Gilder
I am new to using R. I installed R on my computer (Windows) and everything things appears to be just fine. However, I have a simple script RTest.R that does a few simple calculations. When I double-click the RTest.R icon, I get an Information dialong box which says, ARGUMENT 'C:\Documents and

Re: [R] Opening a .R file with R (Windows)

2010-09-28 Thread Joshua Wiley
Hi Kye, I have never gotten .R files to work quite like other types (e.g., double-clicking a .PDF) in Windows. AFAIK there is no simple way to do it, because you do not edit scripts directly in R (I am happy to be corrected if someone knows better). For general use, I would just open R first

Re: [R] Opening a .R file with R (Windows)

2010-09-28 Thread Bert Gunter
Well, try following the correct conventions ... 1. Double click on an .Rdata file, which is produced by saving from R, and it will open. 2. Drag and drop a .R or any text file into an open R window and it will source the contents. This is probably documented somewhere .. maybe in the RW FAQ.