Skip to content
Prev 383980 / 398502 Next

[External] Re: [External] Get a result but an error message as well ?

you need to pay attention to the intermediate structures that you generate.
If all you want is one number, then that is what you should create

mean(replicate( 500, my.experiment() ))

Since you do seem to want to store the intermediate values, then you must
name
the object according to its structure.  A one-dimensional vector takes
names(), not dimnames().
A two-dimensional structure takes dimnames, and the number of row names and
the number of column
names must match the number of rows and columns.
On Tue, May 19, 2020 at 5:25 PM varin sacha <varinsacha at yahoo.fr> wrote: