Sorry, I just walked in the door and didn't put on my thinking cap...

On Tue, 22 Sep 2015, Charles C. Berry wrote:

On Tue, 22 Sep 2015, Grant Rettke wrote:

On Tue, Sep 22, 2015 at 5:04 PM, Charles C. Berry <ccbe...@ucsd.edu> wrote:

ECM follows:

I just ran it and got 10 chars like you expected:

I got 10, too. That is the problem. Maybe that is what you meant?

What I expected was 3 characters like the first src block gave. The reason the block just below fails is that some un-tab-ing puts spaces where a tab should be.


#+BEGIN_src R
nchar("A        B")
#+END_src

#+RESULTS:
: 10

10 is not what I expected. Should be 3 characters.

Be sure to run the second src block (which creates the third with the three character string) before running the third.


If you do run the second block, the third block should have A, <TAB>, and B in the quoted string. It does for me. And then when executed gives the erroneous 10.

But thanks for checking.

Chuck



Chuck

Reply via email to