[R] Invoking R on BSD

Saeed Abu Nimeh sabunime at gmail.com
Wed Jan 9 05:47:44 CET 2008


when you do pkg_add -r R it should install R and you will not need to 
run make. To invoke R, you just need to type R in your prompt. Here is 
what I have on my FreeBSD:

FreeBSD 7.0-PRERELEASE (GENERIC2) #0: Sat Jan  5 21:27:47 CST 2008

Welcome to ....

%R

R version 2.6.0 (2007-10-03)
Copyright (C) 2007 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

 >

Kitty Lee wrote:
> Thanks to Saeed Abu Nimeh. I used pkg_add to install R package on 4.4BSD. 
> 
> My directory now has the following:
> 
> BUILDDIR        Makefrag.cc_lo  config.log      m4              tests
> Makeconf        Makefrag.cxx    config.status   po              tools
> Makefile        R-2.6.1         doc             roots
> Makefile.bak    R-2.6.1.tar.gz  etc             share
> Makefrag.cc     SVN-REVISION    libtool         src
> 
> 
> But the make check shows errors:
> 
>  [2:32pm][~] >> make check 
> `Makedeps' is up to date.
> make: don't know how to make ../../bin/exec/R. Stop
> *** Error code 2
> 
> Stop in /usr/home/xxx/tests/Examples.
> *** Error code 1
> 
> Stop in /usr/home/xxx/tests.
> *** Error code 1
> 
> Stop in /usr/home/xxx/tests.
> *** Error code 1
> 
> 
> How to fix this error? And then what are the steps involved to invoke R?
> 
> I know eventually I need to use commands like R CMD. But what are the steps before this?
> 
> (Sorry, I have not done anything before on unix and am trying to figure things out from bits and pieces off the internet. I would truly appreciate any help or hint!)
> 
> K.
> 
>        
> ---------------------------------
> 
> 	[[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