If it's a nice enough recorder with an external mic-jack, you might be able to plug your guitar into it with an adapter, something like this:
Dunno what it's called, but it converts an instrument cable to headphone-jack size. Dunno if that would work with output, though, since it's made for input, and I know nothing about that stuff.
I have the adapter, but my recorder doesn't have a mic jack.