Discussion:
[R-SIG-Mac] Desperate For R-Forge/Quantmod Assistance...
Jason Eyerly
2014-09-07 18:27:59 UTC
Permalink
Hello Folks,
I?m on a Macbook Air running OSX 10.9.2 and I?m trying to install some libraries or packages (quant mod, TTA, etc.) to begin learning how to use the software. Unfortunately, I?ve encountered errors every step along the way. I?ve tried with R versions 3.0.3, 3.1.0, and 3.1.1 all with no luck. I?ve had difficulty with everything from install.packages to install_github and just can?t seem to figure it out. The steps I?m trying to follow can be seen in the screenshots at the link below. If anybody can help me work this out, or remote connect to see my issues, and help me get this thing functional I?ll buy ya lunch! Thanks in advance!

https://www.bigmiketrading.com/matlab-r-project-python/32719-webinar-introduction-r-trading-w-ilya-kipnis-3.html

Best Regards,
Jason E.
[[alternative HTML version deleted]]
MacQueen, Don
2014-09-08 17:06:15 UTC
Permalink
First a couple of suggestions (people on the various R mailing lists tend
to be picky about things)

- do not send HTML email, send only plain text

- spell things right (there is no package named ?quant mod?, and
misspelling means you are asking potential helpers to do more work than
necessary)

- show in the email (copy/paste) exactly what you tried, and exactly
what the error messages were (people need that information to help). Not
everyone is willing to go look at something that was posted somewhere.

That said, when I tried
install.packages(?quantmod?)
at the R prompt, it worked for me, shown below.
install.packages('quantmod')
also installing the dependencies 'Defaults', 'TTR'

trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/Defaults_1.1
-1.tgz'
Content type 'application/x-gzip' length 122763 bytes (119 Kb)
opened URL
==================================================
downloaded 119 Kb

trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/TTR_0.22-0.t
gz'
Content type 'application/x-gzip' length 282163 bytes (275 Kb)
opened URL
==================================================
downloaded 275 Kb

trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/quantmod_0.4
-0.tgz'
Content type 'application/x-gzip' length 447862 bytes (437 Kb)
opened URL
==================================================
downloaded 437 Kb



A standard installation of R should succeed.

I?ve never heard of a package named TTA, and it isn?t on CRAN. When a
package isn?t on CRAN you should tell the list where it?s from. Maybe you
meant TTR.

I?m running OSX 10.9.4, R 3.1.1, and it?s the ?Mavericks? version of R
downloaded from CRAN. Don?t bother with older versions of R; virtually
certain to be a waste of time.

Possibly you need Xcode (from Apple), though not for quantmod itself, but
one can?t tell without seeing the error messages.

Can you install any packages at all, or is it just quantmod and a few
others you?re having trouble with?
--
Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062




From: Jason Eyerly <teamtraders3564 at gmail.com>
Date: Sunday, September 7, 2014 at 11:27 AM
To: "r-sig-mac at r-project.org" <r-sig-mac at r-project.org>
Subject: [R-SIG-Mac] Desperate For R-Forge/Quantmod Assistance...


Hello Folks,
I?m on a Macbook Air running OSX 10.9.2 and I?m trying to install some
libraries or packages (quant mod, TTA, etc.) to begin learning how to use
the software. Unfortunately, I?ve encountered errors every step along the
way. I?ve tried with R versions 3.0.3,
3.1.0, and 3.1.1 all with no luck. I?ve had difficulty with everything
from install.packages to install_github and just can?t seem to figure it
out. The steps I?m trying to follow can be seen in the screenshots at the
link below. If anybody can help me work
this out, or remote connect to see my issues, and help me get this thing
functional I?ll buy ya lunch! Thanks in advance!

https://www.bigmiketrading.com/matlab-r-project-python/32719-webinar-introd
uction-r-trading-w-ilya-kipnis-3.html

Best Regards,
Jason E.
[[alternative HTML version deleted]]
David Winsemius
2014-09-08 18:31:56 UTC
Permalink
Well there is bit of a problem with this: "... Macbook Air running OSX 10.9.2 ".

There is no good reason to be using a version of R that is that old. But if you can concoct a less-than-good reason to do so, then you need to a) have the necessary Xcode for installing from source (which might not be the same as the current versions of Xcode) and might depend on the unstated version of MacOSX), b) identify (using the dates of packages) the version of the source code for 'quantmod' and all of its dependencies, and then c) install those from source all the versions of the relevant packages.
--
David.
Post by MacQueen, Don
First a couple of suggestions (people on the various R mailing lists tend
to be picky about things)
- do not send HTML email, send only plain text
- spell things right (there is no package named ?quant mod?, and
misspelling means you are asking potential helpers to do more work than
necessary)
- show in the email (copy/paste) exactly what you tried, and exactly
what the error messages were (people need that information to help). Not
everyone is willing to go look at something that was posted somewhere.
That said, when I tried
install.packages(?quantmod?)
at the R prompt, it worked for me, shown below.
install.packages('quantmod')
also installing the dependencies 'Defaults', 'TTR'
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/Defaults_1.1
-1.tgz'
Content type 'application/x-gzip' length 122763 bytes (119 Kb)
opened URL
==================================================
downloaded 119 Kb
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/TTR_0.22-0.t
gz'
Content type 'application/x-gzip' length 282163 bytes (275 Kb)
opened URL
==================================================
downloaded 275 Kb
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/quantmod_0.4
-0.tgz'
Content type 'application/x-gzip' length 447862 bytes (437 Kb)
opened URL
==================================================
downloaded 437 Kb
A standard installation of R should succeed.
I?ve never heard of a package named TTA, and it isn?t on CRAN. When a
package isn?t on CRAN you should tell the list where it?s from. Maybe you
meant TTR.
I?m running OSX 10.9.4, R 3.1.1, and it?s the ?Mavericks? version of R
downloaded from CRAN. Don?t bother with older versions of R; virtually
certain to be a waste of time.
Possibly you need Xcode (from Apple), though not for quantmod itself, but
one can?t tell without seeing the error messages.
Can you install any packages at all, or is it just quantmod and a few
others you?re having trouble with?
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
From: Jason Eyerly <teamtraders3564 at gmail.com>
Date: Sunday, September 7, 2014 at 11:27 AM
To: "r-sig-mac at r-project.org" <r-sig-mac at r-project.org>
Subject: [R-SIG-Mac] Desperate For R-Forge/Quantmod Assistance...
Hello Folks,
I?m on a Macbook Air running OSX 10.9.2 and I?m trying to install some
libraries or packages (quant mod, TTA, etc.) to begin learning how to use
the software. Unfortunately, I?ve encountered errors every step along the
way. I?ve tried with R versions 3.0.3,
3.1.0, and 3.1.1 all with no luck. I?ve had difficulty with everything
from install.packages to install_github and just can?t seem to figure it
out. The steps I?m trying to follow can be seen in the screenshots at the
link below. If anybody can help me work
this out, or remote connect to see my issues, and help me get this thing
functional I?ll buy ya lunch! Thanks in advance!
https://www.bigmiketrading.com/matlab-r-project-python/32719-webinar-introd
uction-r-trading-w-ilya-kipnis-3.html
Best Regards,
Jason E.
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius
Alameda, CA, USA
David Winsemius
2014-09-08 19:13:45 UTC
Permalink
Post by David Winsemius
Well there is bit of a problem with this: "... Macbook Air running OSX 10.9.2 ".
There is no good reason to be using a version of R that is that old. But if you can concoct a less-than-good reason to do so, then you need to a) have the necessary Xcode for installing from source (which might not be the same as the current versions of Xcode) and might depend on the unstated version of MacOSX), b) identify (using the dates of packages) the version of the source code for 'quantmod' and all of its dependencies, and then c) install those from source all the versions of the relevant packages.
My apologies for the cognitive error that misinterpreted this as R 2.9.2.

I would ask if Jason has read this: http://cran.r-project.org/doc/manuals/r-release/R-admin.html#OS-X and has all the approporiate Xcode and matching compilers installed before attempting to compile from source (as one would need to do if getting packages from r-forge)?
--
David.
Post by David Winsemius
--
David.
Post by MacQueen, Don
First a couple of suggestions (people on the various R mailing lists tend
to be picky about things)
- do not send HTML email, send only plain text
- spell things right (there is no package named ?quant mod?, and
misspelling means you are asking potential helpers to do more work than
necessary)
- show in the email (copy/paste) exactly what you tried, and exactly
what the error messages were (people need that information to help). Not
everyone is willing to go look at something that was posted somewhere.
That said, when I tried
install.packages(?quantmod?)
at the R prompt, it worked for me, shown below.
install.packages('quantmod')
also installing the dependencies 'Defaults', 'TTR'
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/Defaults_1.1
-1.tgz'
Content type 'application/x-gzip' length 122763 bytes (119 Kb)
opened URL
==================================================
downloaded 119 Kb
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/TTR_0.22-0.t
gz'
Content type 'application/x-gzip' length 282163 bytes (275 Kb)
opened URL
==================================================
downloaded 275 Kb
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/quantmod_0.4
-0.tgz'
Content type 'application/x-gzip' length 447862 bytes (437 Kb)
opened URL
==================================================
downloaded 437 Kb
A standard installation of R should succeed.
I?ve never heard of a package named TTA, and it isn?t on CRAN. When a
package isn?t on CRAN you should tell the list where it?s from. Maybe you
meant TTR.
I?m running OSX 10.9.4, R 3.1.1, and it?s the ?Mavericks? version of R
downloaded from CRAN. Don?t bother with older versions of R; virtually
certain to be a waste of time.
Possibly you need Xcode (from Apple), though not for quantmod itself, but
one can?t tell without seeing the error messages.
Can you install any packages at all, or is it just quantmod and a few
others you?re having trouble with?
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
From: Jason Eyerly <teamtraders3564 at gmail.com>
Date: Sunday, September 7, 2014 at 11:27 AM
To: "r-sig-mac at r-project.org" <r-sig-mac at r-project.org>
Subject: [R-SIG-Mac] Desperate For R-Forge/Quantmod Assistance...
Hello Folks,
I?m on a Macbook Air running OSX 10.9.2 and I?m trying to install some
libraries or packages (quant mod, TTA, etc.) to begin learning how to use
the software. Unfortunately, I?ve encountered errors every step along the
way. I?ve tried with R versions 3.0.3,
3.1.0, and 3.1.1 all with no luck. I?ve had difficulty with everything
from install.packages to install_github and just can?t seem to figure it
out. The steps I?m trying to follow can be seen in the screenshots at the
link below. If anybody can help me work
this out, or remote connect to see my issues, and help me get this thing
functional I?ll buy ya lunch! Thanks in advance!
https://www.bigmiketrading.com/matlab-r-project-python/32719-webinar-introd
uction-r-trading-w-ilya-kipnis-3.html
Best Regards,
Jason E.
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius
Alameda, CA, USA
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius
Alameda, CA, USA
Jason Eyerly
2014-09-08 19:35:40 UTC
Permalink
I?ve just upgraded to Mavericks V10.9.4, and I?m installing Xcode 4.2 and planned on installing fortran V4.2.4 that I found at this link: http://r.research.att.com/tools/

Lastly, I?m going to use Apple?s Xcode to install the command line tools, as instructed here: http://cran.r-project.org/doc/manuals/r-release/R-admin.html#OS-X

Am I correct in thinking this is all I will need to install (excluding R and RStudio again) before this should work and successfully build and install packages?

-Jason E.
Post by David Winsemius
Post by David Winsemius
Well there is bit of a problem with this: "... Macbook Air running OSX 10.9.2 ".
There is no good reason to be using a version of R that is that old. But if you can concoct a less-than-good reason to do so, then you need to a) have the necessary Xcode for installing from source (which might not be the same as the current versions of Xcode) and might depend on the unstated version of MacOSX), b) identify (using the dates of packages) the version of the source code for 'quantmod' and all of its dependencies, and then c) install those from source all the versions of the relevant packages.
My apologies for the cognitive error that misinterpreted this as R 2.9.2.
I would ask if Jason has read this: http://cran.r-project.org/doc/manuals/r-release/R-admin.html#OS-X and has all the approporiate Xcode and matching compilers installed before attempting to compile from source (as one would need to do if getting packages from r-forge)?
--
David.
Post by David Winsemius
--
David.
Post by MacQueen, Don
First a couple of suggestions (people on the various R mailing lists tend
to be picky about things)
- do not send HTML email, send only plain text
- spell things right (there is no package named ?quant mod?, and
misspelling means you are asking potential helpers to do more work than
necessary)
- show in the email (copy/paste) exactly what you tried, and exactly
what the error messages were (people need that information to help). Not
everyone is willing to go look at something that was posted somewhere.
That said, when I tried
install.packages(?quantmod?)
at the R prompt, it worked for me, shown below.
install.packages('quantmod')
also installing the dependencies 'Defaults', 'TTR'
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/Defaults_1.1
-1.tgz'
Content type 'application/x-gzip' length 122763 bytes (119 Kb)
opened URL
==================================================
downloaded 119 Kb
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/TTR_0.22-0.t
gz'
Content type 'application/x-gzip' length 282163 bytes (275 Kb)
opened URL
==================================================
downloaded 275 Kb
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/quantmod_0.4
-0.tgz'
Content type 'application/x-gzip' length 447862 bytes (437 Kb)
opened URL
==================================================
downloaded 437 Kb
A standard installation of R should succeed.
I?ve never heard of a package named TTA, and it isn?t on CRAN. When a
package isn?t on CRAN you should tell the list where it?s from. Maybe you
meant TTR.
I?m running OSX 10.9.4, R 3.1.1, and it?s the ?Mavericks? version of R
downloaded from CRAN. Don?t bother with older versions of R; virtually
certain to be a waste of time.
Possibly you need Xcode (from Apple), though not for quantmod itself, but
one can?t tell without seeing the error messages.
Can you install any packages at all, or is it just quantmod and a few
others you?re having trouble with?
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
From: Jason Eyerly <teamtraders3564 at gmail.com>
Date: Sunday, September 7, 2014 at 11:27 AM
To: "r-sig-mac at r-project.org" <r-sig-mac at r-project.org>
Subject: [R-SIG-Mac] Desperate For R-Forge/Quantmod Assistance...
Hello Folks,
I?m on a Macbook Air running OSX 10.9.2 and I?m trying to install some
libraries or packages (quant mod, TTA, etc.) to begin learning how to use
the software. Unfortunately, I?ve encountered errors every step along the
way. I?ve tried with R versions 3.0.3,
3.1.0, and 3.1.1 all with no luck. I?ve had difficulty with everything
from install.packages to install_github and just can?t seem to figure it
out. The steps I?m trying to follow can be seen in the screenshots at the
link below. If anybody can help me work
this out, or remote connect to see my issues, and help me get this thing
functional I?ll buy ya lunch! Thanks in advance!
https://www.bigmiketrading.com/matlab-r-project-python/32719-webinar-introd
uction-r-trading-w-ilya-kipnis-3.html
Best Regards,
Jason E.
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius
Alameda, CA, USA
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius
Alameda, CA, USA
[[alternative HTML version deleted]]
Jason Eyerly
2014-09-08 20:01:25 UTC
Permalink
Now I?m really lost. It seems Xcode 4.2 can?t be installed on my version of mac, but fortran is not available for anything above lion. I?ve seen fortran 4.8 mentioned in Google, but can?t seem to find any signs of a download.
Post by David Winsemius
Post by David Winsemius
Well there is bit of a problem with this: "... Macbook Air running OSX 10.9.2 ".
There is no good reason to be using a version of R that is that old. But if you can concoct a less-than-good reason to do so, then you need to a) have the necessary Xcode for installing from source (which might not be the same as the current versions of Xcode) and might depend on the unstated version of MacOSX), b) identify (using the dates of packages) the version of the source code for 'quantmod' and all of its dependencies, and then c) install those from source all the versions of the relevant packages.
My apologies for the cognitive error that misinterpreted this as R 2.9.2.
I would ask if Jason has read this: http://cran.r-project.org/doc/manuals/r-release/R-admin.html#OS-X and has all the approporiate Xcode and matching compilers installed before attempting to compile from source (as one would need to do if getting packages from r-forge)?
--
David.
Post by David Winsemius
--
David.
Post by MacQueen, Don
First a couple of suggestions (people on the various R mailing lists tend
to be picky about things)
- do not send HTML email, send only plain text
- spell things right (there is no package named ?quant mod?, and
misspelling means you are asking potential helpers to do more work than
necessary)
- show in the email (copy/paste) exactly what you tried, and exactly
what the error messages were (people need that information to help). Not
everyone is willing to go look at something that was posted somewhere.
That said, when I tried
install.packages(?quantmod?)
at the R prompt, it worked for me, shown below.
install.packages('quantmod')
also installing the dependencies 'Defaults', 'TTR'
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/Defaults_1.1
-1.tgz'
Content type 'application/x-gzip' length 122763 bytes (119 Kb)
opened URL
==================================================
downloaded 119 Kb
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/TTR_0.22-0.t
gz'
Content type 'application/x-gzip' length 282163 bytes (275 Kb)
opened URL
==================================================
downloaded 275 Kb
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/quantmod_0.4
-0.tgz'
Content type 'application/x-gzip' length 447862 bytes (437 Kb)
opened URL
==================================================
downloaded 437 Kb
A standard installation of R should succeed.
I?ve never heard of a package named TTA, and it isn?t on CRAN. When a
package isn?t on CRAN you should tell the list where it?s from. Maybe you
meant TTR.
I?m running OSX 10.9.4, R 3.1.1, and it?s the ?Mavericks? version of R
downloaded from CRAN. Don?t bother with older versions of R; virtually
certain to be a waste of time.
Possibly you need Xcode (from Apple), though not for quantmod itself, but
one can?t tell without seeing the error messages.
Can you install any packages at all, or is it just quantmod and a few
others you?re having trouble with?
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
From: Jason Eyerly <teamtraders3564 at gmail.com>
Date: Sunday, September 7, 2014 at 11:27 AM
To: "r-sig-mac at r-project.org" <r-sig-mac at r-project.org>
Subject: [R-SIG-Mac] Desperate For R-Forge/Quantmod Assistance...
Hello Folks,
I?m on a Macbook Air running OSX 10.9.2 and I?m trying to install some
libraries or packages (quant mod, TTA, etc.) to begin learning how to use
the software. Unfortunately, I?ve encountered errors every step along the
way. I?ve tried with R versions 3.0.3,
3.1.0, and 3.1.1 all with no luck. I?ve had difficulty with everything
from install.packages to install_github and just can?t seem to figure it
out. The steps I?m trying to follow can be seen in the screenshots at the
link below. If anybody can help me work
this out, or remote connect to see my issues, and help me get this thing
functional I?ll buy ya lunch! Thanks in advance!
https://www.bigmiketrading.com/matlab-r-project-python/32719-webinar-introd
uction-r-trading-w-ilya-kipnis-3.html
Best Regards,
Jason E.
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius
Alameda, CA, USA
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius
Alameda, CA, USA
[[alternative HTML version deleted]]
Simon Urbanek
2014-09-08 20:21:31 UTC
Permalink
See R-admin manual C.3: OS X

Probably most easily downloaded and installed by

curl -s http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2 | sudo tar fxj - -C /


The underlying issue here is that your instructions are really meant for advanced users, using packages that don't even provide binaries nor exist on CRAN.

Cheers,
Simon
Post by Jason Eyerly
Now I?m really lost. It seems Xcode 4.2 can?t be installed on my version of mac, but fortran is not available for anything above lion. I?ve seen fortran 4.8 mentioned in Google, but can?t seem to find any signs of a download.
Post by David Winsemius
Post by David Winsemius
Well there is bit of a problem with this: "... Macbook Air running OSX 10.9.2 ".
There is no good reason to be using a version of R that is that old. But if you can concoct a less-than-good reason to do so, then you need to a) have the necessary Xcode for installing from source (which might not be the same as the current versions of Xcode) and might depend on the unstated version of MacOSX), b) identify (using the dates of packages) the version of the source code for 'quantmod' and all of its dependencies, and then c) install those from source all the versions of the relevant packages.
My apologies for the cognitive error that misinterpreted this as R 2.9.2.
I would ask if Jason has read this: http://cran.r-project.org/doc/manuals/r-release/R-admin.html#OS-X and has all the approporiate Xcode and matching compilers installed before attempting to compile from source (as one would need to do if getting packages from r-forge)?
--
David.
Post by David Winsemius
--
David.
Post by MacQueen, Don
First a couple of suggestions (people on the various R mailing lists tend
to be picky about things)
- do not send HTML email, send only plain text
- spell things right (there is no package named ?quant mod?, and
misspelling means you are asking potential helpers to do more work than
necessary)
- show in the email (copy/paste) exactly what you tried, and exactly
what the error messages were (people need that information to help). Not
everyone is willing to go look at something that was posted somewhere.
That said, when I tried
install.packages(?quantmod?)
at the R prompt, it worked for me, shown below.
install.packages('quantmod')
also installing the dependencies 'Defaults', 'TTR'
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/Defaults_1.1
-1.tgz'
Content type 'application/x-gzip' length 122763 bytes (119 Kb)
opened URL
==================================================
downloaded 119 Kb
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/TTR_0.22-0.t
gz'
Content type 'application/x-gzip' length 282163 bytes (275 Kb)
opened URL
==================================================
downloaded 275 Kb
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/quantmod_0.4
-0.tgz'
Content type 'application/x-gzip' length 447862 bytes (437 Kb)
opened URL
==================================================
downloaded 437 Kb
A standard installation of R should succeed.
I?ve never heard of a package named TTA, and it isn?t on CRAN. When a
package isn?t on CRAN you should tell the list where it?s from. Maybe you
meant TTR.
I?m running OSX 10.9.4, R 3.1.1, and it?s the ?Mavericks? version of R
downloaded from CRAN. Don?t bother with older versions of R; virtually
certain to be a waste of time.
Possibly you need Xcode (from Apple), though not for quantmod itself, but
one can?t tell without seeing the error messages.
Can you install any packages at all, or is it just quantmod and a few
others you?re having trouble with?
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
From: Jason Eyerly <teamtraders3564 at gmail.com>
Date: Sunday, September 7, 2014 at 11:27 AM
To: "r-sig-mac at r-project.org" <r-sig-mac at r-project.org>
Subject: [R-SIG-Mac] Desperate For R-Forge/Quantmod Assistance...
Hello Folks,
I?m on a Macbook Air running OSX 10.9.2 and I?m trying to install some
libraries or packages (quant mod, TTA, etc.) to begin learning how to use
the software. Unfortunately, I?ve encountered errors every step along the
way. I?ve tried with R versions 3.0.3,
3.1.0, and 3.1.1 all with no luck. I?ve had difficulty with everything
from install.packages to install_github and just can?t seem to figure it
out. The steps I?m trying to follow can be seen in the screenshots at the
link below. If anybody can help me work
this out, or remote connect to see my issues, and help me get this thing
functional I?ll buy ya lunch! Thanks in advance!
https://www.bigmiketrading.com/matlab-r-project-python/32719-webinar-introd
uction-r-trading-w-ilya-kipnis-3.html
Best Regards,
Jason E.
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius
Alameda, CA, USA
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius
Alameda, CA, USA
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Jason Eyerly
2014-09-08 23:19:21 UTC
Permalink
I cannot thank everyone enough! For closure and future reference I listed below the steps I took.

Completely Uninstall R and Everything Associated With It
Install R V3.1.1 Mavericks
Install gfortran V4.8 with the following command:
curl -s http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2 | sudo tar fxj - -C /
Open R, and run these code lines first:
install.packages("Defaults?)
Install.packages("devtools?)
install.packages("zoo?)
After Succesful Install Run These Codes Line By Line:
install.packages("quantstrat", repos="http://R-Forge.R-project.org", type="source?)
install.packages("TTR", repos="http://R-Forge.R-project.org", type="source?)
Last But Not Least, I Ran These
install_github(repo"IKTrading", username = "IlyaKipnis?)
install_github(repo"DSTrading", username = "IlyaKipnis?)
Installed RStudio
All that said and done, everything installed and is now working properly. I?m not sure if it was the Macbook Update/gfortran 4.8/Using R to install everything first, but it?s working. This is what I?m going to recommend to other mac users on the tutorial forum that were having issues. Thanks again to the 10/15 of you who e-mailed me and contributed!

Regards,
Jason E.
Post by Simon Urbanek
See R-admin manual C.3: OS X
Probably most easily downloaded and installed by
curl -s http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2 | sudo tar fxj - -C /
The underlying issue here is that your instructions are really meant for advanced users, using packages that don't even provide binaries nor exist on CRAN.
Cheers,
Simon
Post by Jason Eyerly
Now I?m really lost. It seems Xcode 4.2 can?t be installed on my version of mac, but fortran is not available for anything above lion. I?ve seen fortran 4.8 mentioned in Google, but can?t seem to find any signs of a download.
Post by David Winsemius
Post by David Winsemius
Well there is bit of a problem with this: "... Macbook Air running OSX 10.9.2 ".
There is no good reason to be using a version of R that is that old. But if you can concoct a less-than-good reason to do so, then you need to a) have the necessary Xcode for installing from source (which might not be the same as the current versions of Xcode) and might depend on the unstated version of MacOSX), b) identify (using the dates of packages) the version of the source code for 'quantmod' and all of its dependencies, and then c) install those from source all the versions of the relevant packages.
My apologies for the cognitive error that misinterpreted this as R 2.9.2.
I would ask if Jason has read this: http://cran.r-project.org/doc/manuals/r-release/R-admin.html#OS-X and has all the approporiate Xcode and matching compilers installed before attempting to compile from source (as one would need to do if getting packages from r-forge)?
--
David.
Post by David Winsemius
--
David.
Post by MacQueen, Don
First a couple of suggestions (people on the various R mailing lists tend
to be picky about things)
- do not send HTML email, send only plain text
- spell things right (there is no package named ?quant mod?, and
misspelling means you are asking potential helpers to do more work than
necessary)
- show in the email (copy/paste) exactly what you tried, and exactly
what the error messages were (people need that information to help). Not
everyone is willing to go look at something that was posted somewhere.
That said, when I tried
install.packages(?quantmod?)
at the R prompt, it worked for me, shown below.
install.packages('quantmod')
also installing the dependencies 'Defaults', 'TTR'
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/Defaults_1.1
-1.tgz'
Content type 'application/x-gzip' length 122763 bytes (119 Kb)
opened URL
==================================================
downloaded 119 Kb
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/TTR_0.22-0.t
gz'
Content type 'application/x-gzip' length 282163 bytes (275 Kb)
opened URL
==================================================
downloaded 275 Kb
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/quantmod_0.4
-0.tgz'
Content type 'application/x-gzip' length 447862 bytes (437 Kb)
opened URL
==================================================
downloaded 437 Kb
A standard installation of R should succeed.
I?ve never heard of a package named TTA, and it isn?t on CRAN. When a
package isn?t on CRAN you should tell the list where it?s from. Maybe you
meant TTR.
I?m running OSX 10.9.4, R 3.1.1, and it?s the ?Mavericks? version of R
downloaded from CRAN. Don?t bother with older versions of R; virtually
certain to be a waste of time.
Possibly you need Xcode (from Apple), though not for quantmod itself, but
one can?t tell without seeing the error messages.
Can you install any packages at all, or is it just quantmod and a few
others you?re having trouble with?
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
From: Jason Eyerly <teamtraders3564 at gmail.com>
Date: Sunday, September 7, 2014 at 11:27 AM
To: "r-sig-mac at r-project.org" <r-sig-mac at r-project.org>
Subject: [R-SIG-Mac] Desperate For R-Forge/Quantmod Assistance...
Hello Folks,
I?m on a Macbook Air running OSX 10.9.2 and I?m trying to install some
libraries or packages (quant mod, TTA, etc.) to begin learning how to use
the software. Unfortunately, I?ve encountered errors every step along the
way. I?ve tried with R versions 3.0.3,
3.1.0, and 3.1.1 all with no luck. I?ve had difficulty with everything
from install.packages to install_github and just can?t seem to figure it
out. The steps I?m trying to follow can be seen in the screenshots at the
link below. If anybody can help me work
this out, or remote connect to see my issues, and help me get this thing
functional I?ll buy ya lunch! Thanks in advance!
https://www.bigmiketrading.com/matlab-r-project-python/32719-webinar-introd
uction-r-trading-w-ilya-kipnis-3.html
Best Regards,
Jason E.
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius
Alameda, CA, USA
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius
Alameda, CA, USA
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
[[alternative HTML version deleted]]

Loading...