[R] Very silent R

Petr PIKAL petr.pikal at precheza.cz
Fri Aug 5 15:38:24 CEST 2011


Hi

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

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



More information about the R-help mailing list