[R] R not working after loading lattice

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Feb 16 17:53:24 CET 2011



On 14.02.2011 16:50, Rita Carreira wrote:
>
> Hello!
> Happy Valentine's Day...
>
> After I loaded the package lattice in R, it did not work. Then when I closed R and restarted it, R started with an error message and here is the feedback that I got from the R Console:
>
> Loading required package: Hmisc
> Loading required package: survival
> Loading required package: stats
> Loading required package: graphics
> Loading required package: splines
> Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) :
>    there is no package called 'lattice'


This means lattice is not even found on the search path (which indicates 
a broken installation). Hence the recommendation would be to reinstall R.

Uwe Ligges



> Error: package 'Hmisc' could not be loaded
>
> I cannot do anything in R now; it does not even read the data in. When I try it, it gives me the following error:
>
>> source(.trPaths[5], echo=TRUE, max.deparse.length=150)
> Error in source(.trPaths[5], echo = TRUE, max.deparse.length = 150) :
>    object '.trPaths' not found
>
> What is the solution? Should I just reinstall R and make sure I do not load lattice?
>
> Thank you all!
> Rita
> P.S. I am very new to R and I still have trouble understanding some of the language and how it all works. I've been using it for about 1.5 weeks.
>
>
>   		 	   		
> 	[[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