Hi,

I'm using R-2.13.1 (2011-07-08) on Ubuntu.

I have tried options("show.error.messages"=TRUE), but no change. 

> options(show.error.messages)
> options("show.error.messages")
$show.error.messages
[1] TRUE

Here is the session info:
> sessionInfo()
R version 2.13.1 (2011-07-08)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=C              LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] splines   graphics  stats     utils     grDevices tcltk     base     

other attached packages:
[1] Rcmdr_1.6-2     car_2.0-7       survival_2.36-9 nnet_7.3-1     
[5] MASS_7.3-13    
> 


Hajja





Hi

r-help-boun...@r-project.org napsal dne 05.08.2011 15:21:34:

> khadeeja ismail <haj...@yahoo.com> 
> Odeslal: r-help-boun...@r-project.org
> 
> 
> 
> My version of R is not silent:
> 
> > setwd("/notHere")
> Error in base::setwd(dir) : cannot change working directory
> > library(is notHere)
> Error in library(notHere) : there is no package called 'notHere'
> 
> 
> That is the exact problem.
> If I type the above commands, R says nothing and just displays the 
prompt.
> > setwd("/notHere")
> >
> > library(is notHere)
> >

R version, OS?

You can try it with -vanilla switch when starting R session? This shall 
start plain R with only necessary packages and without any data.

Regards
Petr


> 
> ...and it is so annoying :\
> 
> Hajja
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Can you give the specific context in which you are using it.
> 
> On Fri, Aug 5, 2011 at 7:54 AM, khadeeja ismail <haj...@yahoo.com> 
wrote:
> > Dear List,
> >
> > How can I get R to display error messages, for example, if I try to 
> change to a non-existent directory or try to load a library that is not 
> installed? Currently R is very silent. I did fix the problem once using 
> 'options' (show.error.messages, I think), but id doesn't seem to be 
> working any more, and R doesn't tell me if I have an error in my 
command.
> > Please let me know how I can fix this.
> >
> > Regards,
> > Hajja
> >
> >
> >
> >        [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
> 
> 
> 
> -- 
> Jim Holtman
> Data Munger Guru
> 
> What is the problem that you are trying to solve?
> 
>    [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to