[R] I can't find "rpart" help (linux)

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Mar 5 17:27:08 CET 2010



On 05.03.2010 10:51, Grześ wrote:
>
> Hi
> I have installed rpart in my Linux (PLD) but I don't know how I may find
> help conect this package?
>
> Here is my instalaction:
>
>>   install.packages("rpart",dependencies=TRUE)
> --- Please select a CRAN mirror for use in this session ---
> trying URL 'http://r.meteo.uni.wroc.pl/src/contrib/rpart_3.1-46.tar.gz'
> Content type 'application/x-gzip' length 136572 bytes (133 Kb)
> opened URL
> ==================================================
> downloaded 133 Kb
>
> * installing *source* package‘rpart’ ...
> ** libs
> i686-pld-linux-gcc -std=gnu99 -I/usr/lib/R/include  -D_FORTIFY_SOURCE=2
> -fpic  -O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4
> -gdwarf-2 -g2  -c anova.c -o anova.o
> i686-pld-linux-gcc -std=gnu99 -I/usr/lib/R/include  -D_FORTIFY_SOURCE=2
> -fpic  -O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4
> -gdwarf-2 -g2  -c anovapred.c -o anovapred.o
> .
> .
> .
> usersplit.o xval.o -L/usr/lib/R/lib -lR
> ** R
> ** data
> **  moving datasets to lazyload DB
> ** inst
> ** preparing package for lazy loading
> ** help
> *** installing help indices
> ** building package indices ...
> * DONE (rpart)
>
> The downloaded packages are in
>      ‘/root/tmp/RtmpxWZkKu/downloaded_packages’
> Updating HTML index of packages in '.Library'
>
>
> next I do:
>> library(rpart)
>
> and as result I get:
>
>> help(rpart)
> /usr/lib/R/bin/pager[11]: /usr/bin/less: not found
>
> Could somebody help me, please?


Your Linux installation is broken:
your pager is linked to less which seems to be unavailable. Hence 
installing less or reconfiguring your default pager will solve the 
problem (which is not an R problem).

Uwe Ligges

>



More information about the R-help mailing list