Hi Arne,

I'm running the latest Mac operating system known as "Mountain Lion" which
is version 10.8.2

I'm also running the latest version of 64-bit R which is 12.5.2

I tried running:

install.packages("frontier")

And received this warning message:

package ‘frontier’ is not available (for R version 2.15.2)

Then I ran:

library(frontier)

And got this error message...

Error in library(frontier) : there is no package called ‘frontier’

Then, I tried this code:

install.packages('frontier',type='source')

And got this warning message:

In install.packages("frontier", type = "source") : installation of package
‘frontier’ had non-zero exit status

Then I tried this...

library(frontier)

And got this error...

Error in library(frontier) : there is no package called ‘frontier’

Then...

I tried the same code as shown above on 32-bit R and noticed the same
errors.

I do not have the "Additional tools necessary for building R for Mac OS X"
installed on my machine.

Best Regards,

Ray DiGiacomo, Jr.
Healthcare Predictive Analytics Specialist
Master R Trainer
President, Lion Data Systems LLC
President, The Orange County R User Group
Board Member, TDWI
rayd@liondatasystems.com
(m) 408-425-7851
San Juan Capistrano, California USA
twitter.com/liondatasystems
linkedin.com/in/raydigiacomojr
youtube.com/user/liondatasystems/videos

Check out my one-on-one web-based R Training Courses at
liondatasystems.com/courses







On Mon, Dec 3, 2012 at 8:52 AM, Arne Henningsen
<arne.henningsen@gmail.com>wrote:

> Dear Don (and others)
>
> Thanks a lot for your immediate and helpful response. In the future, I
> will advice Mac users to install the "frontier" package with the
> additional argument 'type = "source"'. If this problem only occurs on
> the CRAN server, I will contact them to figure out the cause of the
> problem. Does anybody have an idea why the error (segmentation fault)
> occurs on one (or more) Mac computers (at least the Mac used by CRAN)
> but not on other Mac computers or on MS-Windows and GNU-Linux machine?
> Could this bu be caused or triggered by the compiler or some compiler
> options?
>
> Cheers,
> Arne
>
>
> On 3 December 2012 17:35, MacQueen, Don <macqueen1@llnl.gov> wrote:
> > Arne,
> >
> > I'm on a Mac. Although I'm still using R 15.2.1 on this machine, perhaps
> > my results will be helpful.
> > Briefly, no problem with frontier.
> >
> > I do have the "Additional tools necessary for building R for Mac OS X"
> > installed (downloaded from the "R for Mac tools page").
> >
> > -Don
> >
> >
> >
> > The first thing I did was
> >   install.packages('frontier',type='source')
> > The package installed successfully, and I tried the first example in
> > ?frontier; it ran. By which I mean there were no error or warning
> messages.
> >
> >
> > I then downloaded the package source, unpacked it. In the directory where
> > I unpacked it:
> >
> > frontier-pkg[41]% ls
> > ./              ../             frontier/
> >
> >
> > frontier-pkg[42]% R CMD build frontier > & build.log
> >
> > frontier-pkg[43]% R CMD check frontier > & check.log
> >
> >
> > From check.log:
> >
> > * checking examples ...
> > ** running examples for arch 'i386' ... OK
> > ** running examples for arch 'x86_64' ... OK
> >
> >
> >
> > R CMD install seems to work. Then:
> >
> >> require(frontier)
> > Loading required package: frontier
> > Loading required package: plm
> > Loading required package: bdsmatrix
> >
> > Attaching package: 'bdsmatrix'
> >
> > The following object(s) are masked from 'package:base':
> >
> >     backsolve
> >
> > Loading required package: nlme
> > Loading required package: Formula
> > Loading required package: MASS
> > Loading required package: sandwich
> > Loading required package: zoo
> >
> > Attaching package: 'zoo'
> >
> > The following object(s) are masked from 'package:base':
> >
> >     as.Date, as.Date.numeric
> >
> > Loading required package: micEcon
> > Loading required package: miscTools
> > Loading required package: lmtest
> >
> > And finally:
> >
> >
> >> sessionInfo()
> > R version 2.15.1 (2012-06-22)
> > Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
> >
> > locale:
> > [1] C
> >
> > attached base packages:
> > [1] stats     graphics  grDevices utils     datasets  methods   base
> >
> > other attached packages:
> >  [1] frontier_0.997-12 lmtest_0.9-30     micEcon_0.6-10
> > miscTools_0.6-12  plm_1.2-10        sandwich_2.2-9    zoo_1.7-7
> >  [8] MASS_7.3-19       Formula_1.1-0     nlme_3.1-104      bdsmatrix_1.3
> >   rmacq_1.1-9
> >
> > loaded via a namespace (and not attached):
> > [1] grid_2.15.1    lattice_0.20-6 moments_0.13   tcltk_2.15.1
> > tools_2.15.1
> >
> >
> >
> >
> >
> >
> > --
> > Don MacQueen
> >
> > Lawrence Livermore National Laboratory
> > 7000 East Ave., L-627
> > Livermore, CA 94550
> > 925-423-1062
> >
> >
> >
> >
> >
> > On 12/3/12 7:35 AM, "Arne Henningsen" <arne.henningsen@gmail.com> wrote:
> >
> >>Dear Mac users
> >>
> >>I am the maintainer of the R package "frontier." Some Mac users made
> >>me aware of that this package is not available for their system [1],
> >>because its Fortran code causes a segmentation fault when "R CMD
> >>check" runs the example code. This error neither occurs on MS-Windows
> >>nor on GNU-Linux systems. As I do not have access to a Mac system, I
> >>cannot debug this error and I wonder if someone on this list could
> >>help me to debug and fix this error. Thanks a lot in advance!
> >>
> >>[1] http://cran.r-project.org/web/packages/frontier/index.html
> >>
> >>[2]
> >>
> http://www.r-project.org/nosvn/R.check/r-release-macosx-ix86/frontier-00ch
> >>eck.html
> >>
> >>Best wishes from Copenhagen,
> >>Arne
> >>
> >>--
> >>Arne Henningsen
> >>http://www.arne-henningsen.name
> >>
> >>_______________________________________________
> >>R-SIG-Mac mailing list
> >>R-SIG-Mac@r-project.org
> >>https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> >
>
>
>
> --
> Arne Henningsen
> http://www.arne-henningsen.name
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>

	[[alternative HTML version deleted]]

