[R] demo(scoping)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Jul 11 19:28:10 CEST 2005
Why have you sent a message about this, which no indication except the
non-English word `entercount'?
Note that the message came from within try(), so it was intentional.
If you look at the source it says
try(ross$withdraw(500)) # no way..
It is helpful to learn how the code being demonstrated (here try) works.
If you don't understand it. please explain your difficulty in as much
detail as you can.
On Mon, 4 Jul 2005, ronggui wrote:
> entercount an error with demo(scoping).
>
>> demo(scoping)
>
>
> demo(scoping)
> ---- ~~~~~~~
> ___snip_____
>
>
>> ross$balance()
> Your balance is 120
>
>
>> try(ross$withdraw(500))
> Error in ross$withdraw(500) : You don't have that much money!
>
>
>> version
> _
> platform i486-pc-linux-gnu
> arch i486
> os linux-gnu
> system i486, linux-gnu
> status beta
> major 2
> minor 1.1
> year 2005
> month 06
> day 13
> language R
>
>
> --
> Department of Sociology
> Fudan University,Shanghai
> Blog:http://sociology.yculblog.com
>
> ______________________________________________
> R-help at 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
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list