From harald.fekjar@basalmed.uio.no  Thu Mar  8 15:29:55 2001
From: harald.fekjar@basalmed.uio.no (harald.fekjar@basalmed.uio.no)
Date: Thu, 8 Mar 2001 16:29:55 +0100 (MET)
Subject: [Rd] Smal problem with porting code to S-PLUS (PR#871)
Message-ID: <200103081529.QAA10737@pubhealth.ku.dk>

Full_Name: Harald Fekjr
Version: 1.22
OS: Windows 
Submission from: (NULL) (158.36.132.220)


Dear R developers

Actually, this is not a bug, but a small remark about a way R is working that
makes trouble in porting the code to S.

If I run the following i R:
---
midl <- 4
attr(midl,"Object created") <- date()
dump("midl","midl.R")
---

I get a file like:
---
"midl" <-
structure(4, Object created = "Thu Mar 08 16:04:04 2001")
---

This works well inside R, but S-PLUS has trouble reading it, because S needs "
around a attribute with spaces. E.g. S-PLUS wants:

---
"midl" <-
structure(4, "Object created" = "Thu Mar 08 16:04:04 2001")
---

This last example reads well into both systems, so way not let R print out the
attributes names with "..."

Again - Thanks for a wonderful program!

Harald Fekjr, Oslo, Norway

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Smal problem with porting code to S-PLUS (PR#871)
harald.fekjar@basalmed.uio.no