Skip to content

Help needed for this error

3 messages · Dinesh Vakamudi, Sarah Goslee, Peter Ehlers

#
Hi,

On Wed, May 30, 2012 at 7:48 AM, Dinesh Vakamudi
<dinesh.vakamudi at gmail.com> wrote:
I have no idea what mra() is - from what package did it come? I see
there's a package named mra, but it doesn't seem to have a function
named mra().

Something to do with wavelets, it seems, but which of the many wavelet packages?
Sure you can. Just type results at an R prompt. You can access just
about anything. What you can't do is save a list of unknown structure
to a csv file.

What are you trying to do with your results? Save them to view later?
Look at a particular portion of the results in other software? There
are ways to accomplish all these tasks, but you need to provide more
information than an unknown function and an impossible conversion.

Sarah
#
On 2012-05-30 06:48, Sarah Goslee wrote:
Just to add to Sarah's comments:
It's always advisable to use an _informative_ subject line which
should indicate what package/function is being asked about.

In this case, the help page for wavelets:::mra clearly states that
the function returns an S4 object with certain slots. If you don't
know how to extract information from the object, try googling
"R extract S4" and you'll soon be led to advice.

Anyway, here you probably want to look at str(results), probably
followed by something like results at D or results at D[[1]], etc.

Peter Ehlers
--