Re: [R] Problem of installing Matrix

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sat, 07 Jun 2008 06:00:25 +0100 (BST)

>From the DESCRIPTION for Matrix:

SystemRequirements: GNU make

Presumably you have a BSD make on your FreeBSD system. This has come up before, and FreeBSD users have succeeded with GNU make.

On Sat, 7 Jun 2008, ronggui wrote:

> [wincent@PC-BSD]export MAKE=gmake
> [wincent_at_PC-BSD]sudo R
> .....
>> install.packages("Matrix")
> --- Please select a CRAN mirror for use in this session ---
> Loading Tcl/Tk interface ... done
> trying URL 'http://bibs.snu.ac.kr/R/src/contrib/Matrix_0.999375-9.tar.gz'
> Content type 'application/x-gzip' length 1483674 bytes (1.4 Mb)
> opened URL
> ==================================================
> downloaded 1.4 Mb
>
> /usr/local/lib/R/library
> * Installing *source* package 'Matrix' ...
> ** libs
> ** arch -
> "Makefile", line 8: Need an operator
> "Makefile", line 13: Need an operator
> "Makefile", line 16: Need an operator
> "Makefile", line 27: Need an operator
> "Makefile", line 29: Need an operator
> "Makefile", line 31: Need an operator
> make: fatal errors encountered -- cannot continue
> ERROR: compilation failed for package 'Matrix'
> ** Removing '/usr/local/lib/R/library/Matrix'
>
> The downloaded packages are in
> /tmp/Rtmpq3enyj/downloaded_packages
> Updating HTML index of packages in '.Library'
> Warning message:
> In install.packages("Matrix") :
> installation of package 'Matrix' had non-zero exit status
>>
>
>> sessionInfo()
> R version 2.6.1 (2007-11-26)
> i386-portbld-freebsd7.0
>
> locale:
> zh_CN.eucCN/zh_CN.eucCN/C/C/C/C
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> loaded via a namespace (and not attached):
> [1] rcompgen_0.1-17 tcltk_2.6.1 tools_2.6.1
>
>> R.version
> _
> platform i386-portbld-freebsd7.0
> arch i386
> os freebsd7.0
> system i386, freebsd7.0
> status
> major 2
> minor 6.1
> year 2007
> month 11
> day 26
> svn rev 43537
> language R
> version.string R version 2.6.1 (2007-11-26)
>
> --
> HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/
> Bachelor of Social Work, Fudan University, China
> Master of sociology, Fudan University, China
> Ph.D. Candidate, CityU of HK.
>
> ______________________________________________
> 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.
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
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.
Received on Sat 07 Jun 2008 - 05:02:44 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 07 Jun 2008 - 15:00:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive