You should probably ask your professor to be certain, but I would
suggest writing your code in a text editor and saving it with the .R
extension.

Saving a .RData file using save() [you didn't tell us what you did]
saves the objects but not the code used to generate them. An .RData
file can be opened using load().

Sarah

On Mon, Oct 25, 2010 at 4:07 AM, zhiji19 <zhij...@gmail.com> wrote:
>
> 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.
> Is there any difference between .R and .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: "ARGUMENT_ignored_."
>
> --



-- 
Sarah Goslee
http://www.functionaldiversity.org

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to