Thanks to all who emailed me regarding my problem.
options(show.error.messages=TRUE) seems to work now, so as one of you pointed out I suspect a problem with my system.
Regrds,
Hajja


Hi

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

> khadeeja ismail <hajjja@yahoo.com> 
> Odeslal: r-help-bounces@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 <hajjja@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]]

