Re: [R] .R file

2010-10-25 Thread Jakson A. Aquino
On Mon, Oct 25, 2010 at 9:11 AM, Mike Marchywka wrote: > You mention Notepad++, I'm still using vi under cygwin and an ancient copy of > ultra edit. People who uses vi or vim may be interested in looking at the plugin to Vim that I'm developing. The plugin works in Windows, Linux and OS X: http

Re: [R] .R file

2010-10-25 Thread Mike Marchywka
> All three of these editors are external to R but have the capability of > sending code from the editor to the console. All of them are good and have > loyal user bases. Notepad++ is another option; but you have to copy/paste > code to R - I mention it because it has syntax highlighting and is c

Re: [R] .R file

2010-10-25 Thread Dennis Murphy
Hi : It's not clear whether you want to save your code, your R object or both. Tal has already directed you to help for saving objects created in your workspace. As for saving the code, many people write their code in an editor and either copy/paste it into the workspace or, with certain editors,

Re: [R] .R file

2010-10-25 Thread Tal Galili
There is most of what you need here: http://www.statmethods.net/interface/workspace.html Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebr

[R] .R file

2010-10-25 Thread zhiji19
Hello everyone Can you please teach me how to save my homework as .R file? I write my code in RGui. When I tried to save my work, the RGui only allows me to save it as .RData. By the way, after I save my work as .RData, I cannot reopen it. when I open it, only one message comes out as following

Re: [R] R File I/O Capability - Writing output to specific lines of existing file

2009-04-09 Thread jim holtman
his. > > > > --- On Wed, 4/8/09, jim holtman wrote: > >> From: jim holtman >> Subject: Re: [R] R File I/O Capability - Writing output to specific lines of >>  existing file >> To: jasonkrup...@yahoo.com >> Cc: R-help@r-project.org >> Date: Wednesday

Re: [R] R File I/O Capability - Writing output to specific lines of existing file

2009-04-08 Thread Jason Rupert
lines. I guess I will just need to read down to line 400 and replace until line 600. Thanks again for all the insights regarding this. --- On Wed, 4/8/09, jim holtman wrote: > From: jim holtman > Subject: Re: [R] R File I/O Capability - Writing output to specific lines of >

Re: [R] R File I/O Capability - Writing output to specific lines of existing file

2009-04-08 Thread jim holtman
You can always read in the initialization file, make the updates to it and then write it back out. If it is a text file, it would be very hard to write into the middle of it since there is no structure to the file. You can read it in as a table (read.table) or just as lines (readLines) and the ma

[R] R File I/O Capability - Writing output to specific lines of existing file

2009-04-08 Thread Jason Rupert
Currently I am using the R "write" command to output results to a *.txt file and then copying those results into an initialization file. In an attempt to continue to automate the process I would like to have R write to the location in the existing initialization file, instead of me copying the