[R] q() problem and more.

partha_bagchi@hgsi.com partha_bagchi at hgsi.com
Tue Jul 11 23:29:07 CEST 2000


I would add that if you have really named the object c as you do below,
then all kind of things can happen as "c" is an internal function.  I would
avoid using single letter names like c, f, t etc. for my object names.
Partha.



                                                                                                                  
                    Steve Arthur                                                                                  
                    <sarthur at protogene.c        To:     Kjetil Kjernsmo <kjetil.kjernsmo at astro.uio.no>            
                    om>                         cc:     r-help-digest at stat.math.ethz.ch                           
                    Sent by:                    Subject:     Re: [R] q() problem and more.                        
                    owner-r-help at stat.ma                                                                          
                    th.ethz.ch                                                                                    
                                                                                                                  
                                                                                                                  
                    07/11/00 04:22 PM                                                                             
                                                                                                                  
                                                                                                                  




Hi,

I started playing around with my workspace (see other e-mail for
background), by typing statements like, c <- c("hello world"), in other
words overwriting one of the objects I could not rm(), then I tried
rm()ing it and the object disappeared, then I was able the rm() other
objects I did not want, and the error message stopped appearing (I forget
what it was), and I was able to work on my function, and statistically it
works.  It is a very simple outlier detect test by Grubb.  Is there any
way to submit functions like these to the R development crew, I would
probably be a useful low-level test and much better than Dixon's test.  I
am going to work on the Grubb test for two outliers.  A good way to learn
R.

Thanks for the help, I am not sure what happened there,

steve


On Tue, 11 Jul 2000, Kjetil Kjernsmo wrote:

> On Tue, 11 Jul 2000, Steve Arthur wrote:
>
> >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
>
> A wild guess: Do you have a .RData or .Rprofile file in the working
> directory or in the home directory?
> I would try starting R with
> R --no-init-file --no-restore
> and see what happens. If that does the trick, it was probably the case,
> and then you should go looking for them, renaming as necessary, and go on
> from there.
>
> Best,
>
> Kjetil
>

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



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