[R] saving variables created by functions in the workspace
ligges at statistik.uni-dortmund.de
Sat Feb 21 11:53:27 CET 2004
Fulvio Copex wrote:
> Hello ,
> just a simple question from a beginner:
> I write the function:
> plotsinx <- function()
> I recall it:
> and the plot works properly.
> but then in the workspace if I want to look at the
> values of sinx the following error is displayed:
> Error: Object "sinx" not found.
> How to save the variables created by the function on
> the workspace?
> Thank you very much, it seems to be very trivial...
Please read the manual "An Introduction to R", in particular Chapter 10
and Sectoin 10.5, and the help page help("function").
More information about the R-help