An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110408/16b24a1a/attachment.pl>
help question
4 messages · DEBERGH Patrick, Duncan Murdoch, David Winsemius +1 more
On 08/04/2011 9:20 AM, DEBERGH Patrick wrote:
hello I am at the very beginneing of using the R program I just don't understand how one can save a programfile For exemple, if I type in R 23+456 and want to save this file under a ceratin name to reload it later, i just don't get the way to do it
R is not Microsoft Word. When you type 23+456, you're asking R to do something for you, you're not writing a document. So you can save a record of what you asked for, but you can't reload it later in R to continue on. Duncan Murdoch
I can save it with the save function;I acheive to see that I have a file with the name, but no way to understand how to reload or re-suse it in the official r manuel this is very badly described for first users.. thanks helping me saving R programs Best regards Patrick Debergh VP Product Development Colibrys (Suisse) Ltd - Maladi?re 83 - CH-2000 Neuch?tel, Switzerland Phone: +41 32 720 5696 / Fax: +41 32 720 57 84 mailto:patrick.debergh at colibrys.com http://www.colibrys.com<http://www.colibrys.com/>
_________________________________________________________________ This message may contain confidential and proprietary material for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies _________________________________________________________________ [[alternative HTML version deleted]] ______________________________________________ R-help at 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.
On Apr 8, 2011, at 3:20 PM, DEBERGH Patrick wrote:
hello I am at the very beginneing of using the R program I just don't understand how one can save a programfile For exemple, if I type in R 23+456 and want to save this file under a ceratin name to reload it later, i just don't get the way to do it I can save it with the save function;I acheive to see that I have a file with the name, but no way to understand how to reload or re- suse it
Generally one creates an R script file in an editor and then uses the source() function to bring it into R and be executed. Saving data is done with the `save` function, ... what else? There is also a history mechanism on most OSes, which you have not given us the details. It is a separate system that at least on Windows and Macs should be operative unless turned off. There are functions that allow you to access this file: ?history You should be able to get prior input from the history file during a console session by typing the up-arrow (perhaps repeatedly).
in the official r manuel this is very badly described for first users..
Not sure what you are using as the "Official R Manual". "Introduction to R" would be the usual first document. Try reading the Posting Guide which is linked at the bottom of every posting. It has much useful information in it including what is requested of persons experiencing difficulties who post to the list.
thanks helping me saving R programs Best regards
David Winsemius, MD Heritage Laboratories West Hartford, CT
1 day later
Hi r-help-bounces at r-project.org napsal dne 08.04.2011 18:24:37:
On 08/04/2011 9:20 AM, DEBERGH Patrick wrote:
hello I am at the very beginneing of using the R program I just don't understand how one can save a programfile For exemple, if I type in R 23+456 and want to save this file under a
ceratin name to reload it later, i just don't get the way to do it R is not Microsoft Word. When you type 23+456, you're asking R to do something for you, you're not writing a document. So you can save a record of what you asked for, but you can't reload it later in R to continue on.
If you want such functionality you shall look to some editor which is capable to cooperate with R like TINN-R or maybe ESS. Regards Petr
Duncan Murdoch
I can save it with the save function;I acheive to see that I have a
file
with the name, but no way to understand how to reload or re-suse it
in the official r manuel this is very badly described for first
users..
thanks helping me saving R programs Best regards Patrick Debergh VP Product Development Colibrys (Suisse) Ltd - Maladi?re 83 - CH-2000 Neuch?tel, Switzerland Phone: +41 32 720 5696 / Fax: +41 32 720 57 84 mailto:patrick.debergh at colibrys.com http://www.colibrys.com<http://www.colibrys.com/>
_________________________________________________________________ This message may contain confidential and proprietary material for the
sole
use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please
contact
the sender and delete all copies
_________________________________________________________________ [[alternative HTML version deleted]] ______________________________________________ R-help at 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.
______________________________________________ R-help at 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.