[Rd] sprintf (PR#2327)
p.b.pynsent@bham.ac.uk
p.b.pynsent@bham.ac.uk
Tue, 26 Nov 2002 10:44:40 +0100 (MET)
--Apple-Mail-2--133200961
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@r-project.org
#
######################################################
1)
A small point but:
Note message above needs changing for MacOS port
2) Under MacOS 10.2.2. Given the following dataset:
> summary(missing.data)
Hosp..No. Category Offset Side
r060093: 4 F Post op 0.5 year :62 Min. :-5.8333 L: 63
r023250: 3 E Pre op 0.5 year :54 1st Qu.:-0.4167 R:141
r026316: 3 H Post op 1.5 years :44 Median : 7.7083
r032583: 3 G Post op 1 year :41 Mean :14.2623
r036827: 3 I Post op 2 years : 3 3rd Qu.:27.0833
r055869: 3 A Pre op > 2.5 years: 0 Max. :47.6667
(Other):185 (Other) : 0
V1 V5 V10 V15
Min. :0.0000 Min. :0.0000 Min. :0.0000 Min. :0.0000
1st Qu.:0.0000 1st Qu.:0.0000 1st Qu.:0.0000 1st Qu.:0.0000
Median :0.0000 Median :0.0000 Median :0.0000 Median :0.0000
Mean :0.8382 Mean :0.6863 Mean :0.7206 Mean :0.9804
3rd Qu.:1.0000 3rd Qu.:1.0000 3rd Qu.:1.0000 3rd Qu.:1.0000
Max. :5.0000 Max. :5.0000 Max. :5.0000 Max. :5.0000
V20 V25 V30 V35
Min. :0.0000 Min. :0.000 Min. :0.0000 Min. :0.0000
1st Qu.:0.0000 1st Qu.:0.000 1st Qu.:0.0000 1st Qu.:0.0000
Median :0.0000 Median :0.000 Median :0.0000 Median :0.0000
Mean :0.9559 Mean :0.603 Mean :0.5343 Mean :0.5686
3rd Qu.:0.2500 3rd Qu.:0.000 3rd Qu.:0.0000 3rd Qu.:0.0000
Max. :5.0000 Max. :5.000 Max. :5.0000 Max. :5.0000
V40 V45 V50 V55
Min. :0.0000 Min. :0.0000 Min. :0.0000 Min. :0.0000
1st Qu.:0.0000 1st Qu.:0.0000 1st Qu.:0.0000 1st Qu.:0.0000
Median :0.0000 Median :0.0000 Median :0.0000 Median :0.0000
Mean :0.6912 Mean :0.5539 Mean :0.5245 Mean :0.5588
3rd Qu.:0.0000 3rd Qu.:0.0000 3rd Qu.:0.0000 3rd Qu.:0.0000
Max. :5.0000 Max. :5.0000 Max. :5.0000 Max. :5.0000
The line:
sprintf("%s\t%1.0f", missing.data$Hosp..No., missing.data$V1)
always crashes R.
Many thanks,
Paul
--please do not edit the information below--
Version:
platform = ppc-apple-macos
arch = ppc
os = MacOS
system = ppc, MacOS
status =
major = 1
minor = 5.1
year = 2002
month = 06
day = 17
language = R
Search Path:
.GlobalEnv, package:survival, package:ctest, Autoloads, package:base
Dr. P. B. Pynsent,
Research and Teaching Centre,
Royal orthopaedic Hospital,
Birmingham, B31 2AP, U.K.
--Apple-Mail-2--133200961
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
charset=US-ASCII
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@r-project.org
#
######################################################
<color><param>FFFE,0000,0000</param>1)
A small point but:
Note message above needs changing for MacOS port
</color>
<color><param>FFFE,0000,0000</param>2) Under MacOS 10.2.2. Given the
following dataset:</color>
> summary(missing.data)
Hosp..No. Category Offset Side
r060093: 4 F Post op 0.5 year :62 Min. :-5.8333 L: 63
r023250: 3 E Pre op 0.5 year :54 1st Qu.:-0.4167 R:141
r026316: 3 H Post op 1.5 years :44 Median : 7.7083
r032583: 3 G Post op 1 year :41 Mean :14.2623
r036827: 3 I Post op 2 years : 3 3rd Qu.:27.0833
r055869: 3 A Pre op > 2.5 years: 0 Max. :47.6667
(Other):185 (Other) : 0
V1 V5 V10 V15
Min. :0.0000 Min. :0.0000 Min. :0.0000 Min. :0.0000
1st Qu.:0.0000 1st Qu.:0.0000 1st Qu.:0.0000 1st Qu.:0.0000
Median :0.0000 Median :0.0000 Median :0.0000 Median :0.0000
Mean :0.8382 Mean :0.6863 Mean :0.7206 Mean :0.9804
3rd Qu.:1.0000 3rd Qu.:1.0000 3rd Qu.:1.0000 3rd Qu.:1.0000
Max. :5.0000 Max. :5.0000 Max. :5.0000 Max. :5.0000
V20 V25 V30 V35
Min. :0.0000 Min. :0.000 Min. :0.0000 Min. :0.0000
1st Qu.:0.0000 1st Qu.:0.000 1st Qu.:0.0000 1st Qu.:0.0000
Median :0.0000 Median :0.000 Median :0.0000 Median :0.0000
Mean :0.9559 Mean :0.603 Mean :0.5343 Mean :0.5686
3rd Qu.:0.2500 3rd Qu.:0.000 3rd Qu.:0.0000 3rd Qu.:0.0000
Max. :5.0000 Max. :5.000 Max. :5.0000 Max. :5.0000
V40 V45 V50 V55
Min. :0.0000 Min. :0.0000 Min. :0.0000 Min. :0.0000
1st Qu.:0.0000 1st Qu.:0.0000 1st Qu.:0.0000 1st Qu.:0.0000
Median :0.0000 Median :0.0000 Median :0.0000 Median :0.0000
Mean :0.6912 Mean :0.5539 Mean :0.5245 Mean :0.5588
3rd Qu.:0.0000 3rd Qu.:0.0000 3rd Qu.:0.0000 3rd Qu.:0.0000
Max. :5.0000 Max. :5.0000 Max. :5.0000 Max. :5.0000
<color><param>FFFE,0000,0000</param>The line:</color>
sprintf("%s\t%1.0f", missing.data$Hosp..No., missing.data$V1)
<color><param>FFFE,0000,0000</param>always crashes R.
Many thanks,
Paul</color>
--please do not edit the information below--
Version:
platform = ppc-apple-macos
arch = ppc
os = MacOS
system = ppc, MacOS
status =
major = 1
minor = 5.1
year = 2002
month = 06
day = 17
language = R
Search Path:
.GlobalEnv, package:survival, package:ctest, Autoloads, package:base
Dr. P. B. Pynsent,
Research and Teaching Centre,
Royal orthopaedic Hospital,
Birmingham, B31 2AP, U.K.
--Apple-Mail-2--133200961--