[R] Better way of writing R code

David Winsemius dwinsemius at comcast.net
Fri Apr 5 23:22:55 CEST 2013


On Apr 4, 2013, at 6:48 AM, Gabor Grothendieck wrote:

> On Thu, Apr 4, 2013 at 9:32 AM, Adams, Jean <jvadams at usgs.gov> wrote:
>> Katherine,
>> 
>> You should cc the R-help on all correspondence.
>> The more eyes that see your query, the quicker and probably the better the
>> response will be.
>> Send your message as plain text with no attachments ... so, include your
>> code, and use dput() to share some example data.
>> 
> 
> Although many types of attachments are not allowed it seems that .txt,
> .R, .png, .pdf and possibly certain other types are accepted.

I think it varies with the mail-client and how it labels the type of each attachment. At one time I read that "text" files needed to labeled as MIME-text to pass scrutiny, so it's possible that some mailers will send .R files in an acceptable fashion but not others. I have tried to find where this is documented but have failed. It may have been one of the changes to the Posting Guide that occurred a couple of years ago. I know from experience that most attempts to send c-s-v files with a .csv extension will fail, but that when sent with .txt extensions will succeed. I think .jpeg files (and perhaps .ps) may make it through intact.

-- 
David Winsemius
Alameda, CA, USA



More information about the R-help mailing list