Skip to content
Prev 324284 / 398503 Next

Execution of larger blocks of pasted code often fails?

On Tue, 28 May 2013, Mark Breman <breman.mark at gmail.com> writes:
[...]

Just for the record, I can copy and paste your code -- and get errors of
the type

  Error in na.omit(trades(rownames(s), s$Price, s$St)) : 
  could not find function "trades"

But as others have already pointed out, it is better to '?source' code,
or to use an editor that can push code chunks directly to R.
Message-ID: <871u8rjvni.fsf@enricoschumann.net>
In-Reply-To: <CAEaVHoK1u-Ri2CJHx2bD_ujjtCpVrPOgHX6ka_zYByPZgbLfTQ@mail.gmail.com> (Mark Breman's message of "Tue, 28 May 2013 08:54:59 +0200")