Any thoughts on the following? Am I missing something? [I am running R
for Windows 0.63.1 on a Win NT 4.0 (workstation, sevice pack #4) box.]
Thanks. FC.
R : Copyright 1998, The R Development Core Team
Version 0.63.1 Beta (Dec 5, 1998)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type "?license" or "?licence" for distribution details.
R is a collaborative project with many contributors.
Type "?contributors" for a list.
Type "demo()" for some demos, "help()" for on-line help, or
"help.start()" for a HTML browser interface to help.
Type "q()" to quit R.
[Previously saved workspace restored]
data(women)
names(women)
[1] "height" "weight"
summary(lm(weight ~ height, data = women))
Call:
lm(formula = weight ~ height, data = women)
Residuals:
Min 1Q Median 3Q Max
-1.7333 -1.1333 -0.3833 0.7417 3.1167
Coefficients:
Error: binary operator applied to invalid types
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Does this help? Thanks a lot. Best, FC.
R : Copyright 1998, The R Development Core Team
Version 0.63.1 Beta (Dec 5, 1998)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type "?license" or "?licence" for distribution details.
R is a collaborative project with many contributors.
Type "?contributors" for a list.
Type "demo()" for some demos, "help()" for on-line help, or
"help.start()" for a HTML browser interface to help.
Type "q()" to quit R.
[Previously saved workspace restored]
"Francisco Cribari" <cribari at de.ufpe.br> writes:
Any thoughts on the following? Am I missing something? [I am running R
for Windows 0.63.1 on a Win NT 4.0 (workstation, sevice pack #4) box.]
Thanks. FC.
...
data(women)
names(women)
[1] "height" "weight"
summary(lm(weight ~ height, data = women))
Call:
lm(formula = weight ~ height, data = women)
Residuals:
Min 1Q Median 3Q Max
-1.7333 -1.1333 -0.3833 0.7417 3.1167
Coefficients:
Error: binary operator applied to invalid types
This works on Unix 0.63.1, so no, you're not missing anything. Unless you
have something important redefined when you load your workspace.
To help debugging in, perhaps you could try something like:
hw.sum <- summary(lm(weight ~ height, data = women)) # avoids printing
hw.sum # I believe this provokes the error traceback()
print.default(hw.sum) debug(print.summary.lm) hw.sum
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
________________________________________________________________________
Francisco Cribari-Neto voice: +55-81-2718420
Departamento de Estatistica fax: +55-81-2718422
Universidade Federal de Pernambuco e-mail: cribari at de.ufpe.br
Recife/PE, 50740-540, Brazil http://www.de.ufpe.br/~cribari/
Eat well, exercise, and die anyway.
________________________________________________________________________
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Guido, Thanks. But it does not seem to help... (See below.) Francisco.
R : Copyright 1998, The R Development Core Team
Version 0.63.1 Beta (Dec 5, 1998)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type "?license" or "?licence" for distribution details.
R is a collaborative project with many contributors.
Type "?contributors" for a list.
Type "demo()" for some demos, "help()" for on-line help, or
"help.start()" for a HTML browser interface to help.
Type "q()" to quit R.
[Previously saved workspace restored]
Call:
lm(formula = weight ~ height, data = women)
Residuals:
Min 1Q Median 3Q Max
-1.7333 -1.1333 -0.3833 0.7417 3.1167
Coefficients:
Error: binary operator applied to invalid types
On 13 Jan 99, at 19:11, Guido Masarotto wrote:
On Wed, Jan 13, 1999 at 02:17:09PM -0000, Francisco Cribari wrote:
Any thoughts on the following? Am I missing something? [I am running R
for Windows 0.63.1 on a Win NT 4.0 (workstation, sevice pack #4) box.]
R : Copyright 1998, The R Development Core Team
Version 0.63.1 Beta (Dec 5, 1998)
.......................................................................
[Previously saved workspace restored]
data(women)
names(women)
[1] "height" "weight"
summary(lm(weight ~ height, data = women))
Francisco, I have just tried under Win95, same R version, without
problems. What is contained in the "restored workspace"?
What happens if you clean it (rm(list=ls()) or use the Misc/Remove...
menu item)? guido
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"Francisco Cribari" <cribari at de.ufpe.br> writes:
Any thoughts on the following? Am I missing something? [I am running R
for Windows 0.63.1 on a Win NT 4.0 (workstation, sevice pack #4) box.]
Thanks. FC.
...
data(women)
names(women)
[1] "height" "weight"
summary(lm(weight ~ height, data = women))
Call:
lm(formula = weight ~ height, data = women)
Residuals:
Min 1Q Median 3Q Max
-1.7333 -1.1333 -0.3833 0.7417 3.1167
Coefficients:
Error: binary operator applied to invalid types
This works on Unix 0.63.1, so no, you're not missing anything. Unless
you have something important redefined when you load your workspace.
To help debugging in, perhaps you could try something like:
hw.sum <- summary(lm(weight ~ height, data = women)) # avoids printing
hw.sum # I believe this provokes the error
traceback()
print.default(hw.sum)
debug(print.summary.lm)
hw.sum
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Wed, Jan 13, 1999 at 02:17:09PM -0000, Francisco Cribari wrote:
Any thoughts on the following? Am I missing something? [I am running R
for Windows 0.63.1 on a Win NT 4.0 (workstation, sevice pack #4) box.]
R : Copyright 1998, The R Development Core Team
Version 0.63.1 Beta (Dec 5, 1998)
.......................................................................
[Previously saved workspace restored]
data(women)
names(women)
[1] "height" "weight"
summary(lm(weight ~ height, data = women))
Francisco, I have just tried under Win95, same R version, without
problems. What is contained in the "restored workspace"?
What happens if you clean it (rm(list=ls()) or use the Misc/Remove... menu
item)?
guido
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Wed, Jan 13, 1999 at 02:17:09PM -0000, Francisco Cribari wrote:
Any thoughts on the following? Am I missing something? [I am running R
for Windows 0.63.1 on a Win NT 4.0 (workstation, sevice pack #4) box.]
R : Copyright 1998, The R Development Core Team
Version 0.63.1 Beta (Dec 5, 1998)
I just downloaded this software and tried the example and it works as it
should. This is WinNT under 4.0 Workstation.
Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._