Re: [R] General Question on learning R...

From: Jonathan Q. <jqm475_at_gmail.com>
Date: Wed 04 May 2005 - 04:06:48 EST

assuming one has these installed already, you just look in the demo folder under each? i.e., fBasics\demo ???

On 5/3/05, Spencer Graves <spencer.graves@pdf.com> wrote:
> I'm looking at the same thing. A good source for this is to
> 'install.packages(c("fBasics", "fCalendar", "fExtremes", "fMultivar",
> "fOptions", "fPotfolio", "fractdiff", "fSeries", "its", "lme4",
> "zoo"))', then 'update.packages()'. These will install subdirectories
> or folders with the indicated names "fBasics", etc., in "library" with
> your R installation. For example, in my Windows installation, I have
> "D:\Program files\R\rw2010pat\library", which contains many subfolders
> including ones named "fSeries". These all contain files "*.R", which
> provide sample code.
>
> spencer graves
>
> Sean Davis wrote:
>
> >
> > On May 3, 2005, at 6:46 AM, Jonathan Q. wrote:
> >
> >> In the process of learning R, with a specific interest on financial
> >> time series. While I continue to get through the documents I am more
> >> a fan of learning by example and then looking up how each function is
> >> used. Any websites which post sample code for R?
> >>
> >
> > The largest source of example code is R itself. If you have a command
> > in which you are interested, you can often just type the command and the
> > code will be shown to you. Try typing:
> >
> > ls()
> >
> > Then:
> >
> > ls
> >
> > It will show you the code used to produce the result. Also, each
> > command has its own example(s) in the help.
> >
> > Sean
> >
> > ______________________________________________
> > R-help@stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
> > http://www.R-project.org/posting-guide.html
>

-- 
Jonathan
jqm475@gmail.com

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed May 04 04:14:59 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:32 EST