[R-SIG-Mac]trouble using R CMD

Jan de Leeuw deleeuw@stat.ucla.edu
Mon, 1 Oct 2001 09:21:02 -0700


David

Did you compile your own ? We do not have this problem on our machines (I
dont think it has anything to do with PERLLIB or PERL5LIB).  Something 
seems
to be wrong with the PATH set in Rcmd. Put an echo in there and see what
happens. Also, is Rdindex set chmod +x ?

--- Jan

On Monday, October 1, 2001, at 07:56 , David Firth wrote:

>
> -- I have recently begun using R 1.3.1 in Darwin/X11.  The Darwin I 
> have is that which came with Mac OS 10.0.4.
>
> My first experience with trying to use R CMD has not been a success. I 
> am trying to index a package from its documentation, in the standard 
> way:
>
> [Localhost:lib/R/bin] david% echo $R_HOME
> /usr/local/lib/R
> [localhost:lib/R/bin] david% echo $PATH
> /sw/bin:/sw/sbin:/Users/david/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/
> sbin:/usr/sbin:/sbin:/usr/X11R6/bin
> [localhost:lib/R/bin] david% echo $PERL5LIB
> /sw/lib/perl5
> [localhost:lib/R/bin] david% echo $PERLLIB
> PERLLIB: Undefined variable.
> [localhost:lib/R/bin] david% which R
> /usr/local/bin/R
> [localhost:lib/R/bin] david% which perl
> /usr/bin/perl
> [localhost:lib/R/bin] david% R CMD Rdindex ~/relimp/man/*.Rd > INDEX
> /usr/local/lib/R/bin/Rcmd: command not found: Rdindex [37]
> [localhost:lib/R/bin] david% pwd
> /usr/local/lib/R/bin
> [localhost:lib/R/bin] david% ls
> BATCH      LINK       Rcmd       Rdconv     SHLIB      help
> COMPILE    R          Rcmd~      Rdiff      Sd2Rd      libR.dylib
> INDEX      R.bin      Rd2dvi     Rdindex    build      libtool
> INSTALL    REMOVE     Rd2txt     Rprof      check      pager
>
> R CMD appears to be unable to find "Rdindex".  Can anyone suggest what 
> might be wrong?
>
> I have various other packages installed using fink (and the fact that 
> PERL5LIB is set to /sw/lib/perl5 is a symptom of that).  Could that be 
> the cause?
>
> Thanks,
> David
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@stat.math.ethz.ch
> http://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
>
>
===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw@stat.ucla.edu
homepage: http://www.stat.ucla.edu/~deleeuw
========================================================
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://www.stat.ucla.edu/~deleeuw/sounds/nomatter.au
========================================================