[R] Very silent R

Sarah Goslee sarah.goslee at gmail.com
Fri Aug 5 15:35:27 CEST 2011


Well, that's enough to establish that it's a problem with your system,
not with R.

What happens if you do:
options(show.error.messages=TRUE)

What is your
sessionInfo()
?

We need more information to be able to have any chance of helping.

On Fri, Aug 5, 2011 at 9:21 AM, khadeeja ismail <hajjja at yahoo.com> wrote:
>
> 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)
>>
>
> ...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
>>
>>
>>
>



-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list