Can't post a question?
1
0
Entering edit mode
blmurphy • 0
@8f1ecb52
Last seen 11 weeks ago
United States

Hi. I am following the Posting Guide and Support Site tutorial post but I am getting an issue which has an unclear solution? I pasted my text and output code as specified but it won't let me post and is highlighting my text box red. enter image description here

Bioconductor • 584 views
ADD COMMENT
0
Entering edit mode

It usually also says why not. Does it?

ADD REPLY
0
Entering edit mode

Unfortunately no... I did just try to post with a more obvious error (no title) and for this it was specific error telling me my issue. But for what is above, nothing other than the red box. I saw another post note that certain characters may give this error, but I do not know what characters to look for.

ADD REPLY
1
Entering edit mode
shepherl 4.1k
@lshep
Last seen 1 day ago
United States

Generally when this occurs its due to non-ASCII characters in the text that cannot be rendered.

ADD COMMENT
0
Entering edit mode

And when that has happened to me, I 'debug' by cutting chunks of text until the red goes away. High tech, I know.

ADD REPLY
0
Entering edit mode

shepherl My text contains some parenthesis, A-Z, and 0-9, which are ASCII, so the error must be in my code... But I do not think any part of my code contains non-ASCII characters. 0-9, A-Z, and pretty much all other characters on my keyboard (US based) are part of ASCII, no? If I remove anything from my code it kind of defeats the purpose of my question... Any tips on how would I go about identifying non-ASCII characters?

ADD REPLY
0
Entering edit mode

R's tools::showNonASCIIfile might be useful. Also somewhat unclear on what OS but sometimes the copy/paste of certain systems inserts so potential around your code if you copied from console

ADD REPLY
0
Entering edit mode

Good to know. Appreciate the responses!

ADD REPLY
0
Entering edit mode

I copied my text to a file in linux and ran:

grep --color='auto' -P -n "[^\x00-\x7F]" filename.txt

It highlighted everything that might be problematic. I had to remove all quotation marks and apostrophes.

ADD REPLY

Login before adding your answer.

Traffic: 442 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6