Peter D told me the attachments went astray. The files of interest are now in http://staff.pubhealth.ku.dk/~bxc/R-ex/, as read.ssd7.r and for an excample SAS-program that illustrates the the features, see x-xpt.sas. Bendix
> -----Original Message----- > From: Peter Dalgaard [mailto:[EMAIL PROTECTED] > Sent: 25. november 2008 08:47 > To: BXC (Bendix Carstensen) > Subject: Re: [Rd] FW: read.ssd > > BXC (Bendix Carstensen) wrote: > > Did not seem to reach Saikat DebRoy, this might be the forum. > > Ingen attachment. Din mailer fumler sikkert med Content-Type, > så mailing list filteret tror at det er noget binært. > > -p > > > Bendix > > > > -----Original Message----- > > From: BXC (Bendix Carstensen) > > Sent: 24. november 2008 15:00 > > To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' > > Subject: read.ssd > > > > It's always annoyed me that that read.ssd crashed on > datasets with long variable names, but the other day a > collegue of mine pointed out to me the SAS-option > validvarname=V6, which takes care of the problem by truncating names. > > > > So here is a first go at it which works, but lets you guess > what variable the truncated names refer to (normally a minor > problem). The small changes in the code are flagged with > "####". Hope it makes it into read.ssd. > > > > If you want to supply information on the long filename or > even restore them, the solution is to construct a proc > contents step and output the filenames along with their > labels, import this dataset too and use it to restore names. > This is considerably more longwinded and could presumably > wait. The little example SAS-program should give the details > of the SAS-code needed, but a lot of namefidgeting in R is > required afterward to make it work... > > > > Best regards, > > Bendix > > ______________________________________________ > > > > Bendix Carstensen > > Senior Statistician > > Steno Diabetes Center > > Niels Steensens Vej 2-4 > > DK-2820 Gentofte > > Denmark > > +45 44 43 87 38 (direct) > > +45 30 75 87 38 (mobile) > > [EMAIL PROTECTED] http://www.biostat.ku.dk/~bxc > > > > This e-mail (including any attachments) is intended for the > addressee(s) stated above only and may contain confidential > information protected by law. You are hereby notified that > any unauthorized reading, disclosure, copying or distribution > of this e-mail or use of information contained herein is > strictly prohibited and may violate rights to proprietary > information. If you are not an intended recipient, please > return this e-mail to the sender and delete it immediately > hereafter. Thank you. > > > > > > > > > ---------------------------------------------------------------------- > > -- > > > > ______________________________________________ > > R-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel > > > -- > O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B > c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K > (*) \(*) -- University of Copenhagen Denmark Ph: > (+45) 35327918 > ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: > (+45) 35327907 > ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel