[R] q() problem and more.

Steve Arthur sarthur at protogene.com
Tue Jul 11 20:11:52 CEST 2000


Hi Rers,

W/o trying to make a long story short (I hope you read that correctly), I
have been working on a nice little R function ...

Somewhere along the line I got an error that refers to a max function in
my function (I think this is a vector vs. scalar issue):

Error in max(..., na.rm = na.rm) : invalid "mode" of argument     

If that's not bad enough, even when I q() R and say I do not want to save
the current workspace and then re-enter R again I am greeting with the
same message in that workspace:

Error in max(..., na.rm = na.rm) : invalid "mode" of argument     

This message also appears in different instances when I try to use the
program, though not the object I think originally produced the error.

Also, from this workspace I can not remove an object from the workspace, I
am greeted with

Error in max(..., na.rm = na.rm) : invalid "mode" of argument     

again when I try rm(ccc).

So what do I want:

I would like to learn how I can salvage my workspace in this situation
(because I have a feeling, knowing R, that this will happen again and
again and is related to some larger problem in R/UNIX I do not yet have a
grasp on).

Under these circumstances, unfortunately, I can not do reliable work with
R from this workspace.

Thanks in advance,

steve
 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list