> On Dec 18, 2016, at 3:31 PM, peter dalgaard <[email protected]> wrote: > > >> On 18 Dec 2016, at 19:36 , David Winsemius <[email protected]> wrote: >> >>> >>> On Dec 17, 2016, at 7:57 PM, Duncan Mackay <[email protected]> wrote: >>> >>> Hi >>> >>> Coming late to the discussion - I deleted the original message >>> I found that I have a cbe.dat that I downloaded some years ago from >>> cowpertwaite's site . >>> >>> And have attached it >> >> Experience has shown that when you attach a file that you hope to be >> distributed to the list it needs to have a .txt extension. Leaving it with a >> .csv, .tsv, or .dat extension will cause it to be dropped by the server, >> even if the contents of the file are ASCII text. > > That's not the actual mechanism, as far as I understand. If the content-type > is text/plain, the server will pass it through just fine. It's the mail > program at the sender end that refuses to send .csv files and friends as > text/plain, based on the extension. But the net result is essentially the > same.
My hypothesis is that all mail clients in common use fail to label the .csv, .dat and .tsv files as text/plain if this explanation is correct. I've been watching the "behavior" of our mail-server for several years now and have not seen _any_ files with an extension other than .txt be successfully passed to subscribers. So clarifying this issue might be possible _if_ we could find a mail client for which we were certain of its labeling characteristics. Does your mail client label such files as text/plain? >> The URL I offered earlier should have made the file available: >> https://web.archive.org/web/20130501161812/http://staff.elena.aut.ac.nz/Paul-Cowpertwait/ts/cbe.dat >> >> ... but if there is interest in having it in the Rhelp Archive, I can attach >> it. >> >> > > Would be good if someone could ask the authors about what is going on. Better > if someone could check licencing issues and put the data somewhere permanent. > Still better: convert them to an R package. It appeared to me that the authors lost their entire university-hosted website. I was unable to find another email address for sending a query to Paul Cowpertwait. -- David. > >> >> -- >> David. >>> >>> If it does not get through will do a dput as the file is only 7K >>> >>> Regards >>> >>> Duncan >>> Duncan Mackay >>> Department of Agronomy and Soil Science >>> University of New England >>> Armidale NSW 2351 >>> Email: home: [email protected] >>> >>> -----Original Message----- >>> From: R-help [mailto:[email protected]] On Behalf Of Rui Barradas >>> Sent: Thursday, 15 December 2016 01:19 >>> To: Farshad Fathian; r-help >>> Subject: Re: [R] data manipulation >>> >>> Hello, >>> >>> Please cc your mails to the list. >>> As for your data, your url is wrong, you need to contact Massey or maybe >>> the source of your information and get a valid internet address. >>> Without one there's not much we can do. >>> >>> Rui Barradas >>> >>> Em 14-12-2016 12:16, Farshad Fathian escreveu: >>>> Hello, >>>> >>>> Thanks for your e-mail. I was reading "Introductory Time Series with R" >>>> by PS. Cowperwait. I am going to run the R codes in this book, but I >>>> don't access to the input data from >>>> ("http://massey.ac.nz/~pscoperwait/ts/cbe.dat >>>> <http://massey.ac.nz/~pscoperwait/ts/cbe.dat>") website. >>>> >>>> Regards, >>>> >>>> On Wed, Dec 14, 2016 at 3:42 PM, Rui Barradas <[email protected] >>>> <mailto:[email protected]>> wrote: >>>> >>>> Hello, >>>> >>>> What do you mean by "gives me something"? >>>> >>>> xx <- read.csv("http://massey.ac.nz/~pscoperwait/ts/cbe.dat >>>> <http://massey.ac.nz/~pscoperwait/ts/cbe.dat>") >>>> Error in file(file, "rt") : cannot open the connection >>>> In addition: Warning message: >>>> In file(file, "rt") : >>>> cannot open URL 'http://massey.ac.nz/~pscoperwait/ts/cbe.dat >>>> <http://massey.ac.nz/~pscoperwait/ts/cbe.dat>': HTTP status was '404 >>>> Not Found' >>>> >>>> Rui Barradas >>>> >>>> >>>> Em 14-12-2016 11:56, John Kane via R-help escreveu: >>>> >>>> xx <- read.csv("http://massey.ac.nz/~pscoperwait/ts/cbe.dat >>>> <http://massey.ac.nz/~pscoperwait/ts/cbe.dat>") >>>> gives me something. Since we have no idea of what you are doing >>>> I don't know if the data has downloaded correctly >>>> >>>> On Tuesday, December 13, 2016 1:38 PM, Farshad Fathian >>>> <[email protected] <mailto:[email protected]>> >>>> wrote: >>>> >>>> >>>> Hi, >>>> >>>> >>>> >>>> I couldn't access to data file about PSCoperwait by >>>> http://massey.ac.nz/~pscoperwait/ts/cbe.dat >>>> <http://massey.ac.nz/~pscoperwait/ts/cbe.dat>. >>>> >>>> >>>> >>>> Looking forward to hearing from you, >>>> >>>> >>>> [[alternative HTML version deleted]] >>>> >>>> ______________________________________________ >>>> [email protected] <mailto:[email protected]> mailing list >>>> -- To UNSUBSCRIBE and more, see >>>> https://stat.ethz.ch/mailman/listinfo/r-help >>>> <https://stat.ethz.ch/mailman/listinfo/r-help> >>>> PLEASE do read the posting guide >>>> http://www.R-project.org/posting-guide.html >>>> <http://www.R-project.org/posting-guide.html> >>>> and provide commented, minimal, self-contained, reproducible code. >>>> >>>> >>>> >>>> [[alternative HTML version deleted]] >>>> >>>> ______________________________________________ >>>> [email protected] <mailto:[email protected]> mailing list >>>> -- To UNSUBSCRIBE and more, see >>>> https://stat.ethz.ch/mailman/listinfo/r-help >>>> <https://stat.ethz.ch/mailman/listinfo/r-help> >>>> PLEASE do read the posting guide >>>> http://www.R-project.org/posting-guide.html >>>> <http://www.R-project.org/posting-guide.html> >>>> and provide commented, minimal, self-contained, reproducible code. >>>> >>>> >>>> >>>> >>>> >>> >>> ______________________________________________ >>> [email protected] mailing list -- To UNSUBSCRIBE and more, see >>> https://stat.ethz.ch/mailman/listinfo/r-help >>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >>> and provide commented, minimal, self-contained, reproducible code. >>> ______________________________________________ >>> [email protected] mailing list -- To UNSUBSCRIBE and more, see >>> https://stat.ethz.ch/mailman/listinfo/r-help >>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >>> and provide commented, minimal, self-contained, reproducible code. >> >> David Winsemius >> Alameda, CA, USA >> >> ______________________________________________ >> [email protected] mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > -- > Peter Dalgaard, Professor, > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederiksberg, Denmark > Phone: (+45)38153501 > Office: A 4.23 > Email: [email protected] Priv: [email protected] > > > > > > > > > David Winsemius Alameda, CA, USA ______________________________________________ [email protected] mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

