Comments (13)
You need to update your version of R.
On Tuesday, September 11, 2012 at 5:37 AM, Ramnath Vaidyanathan wrote:
The themes look great, but I am unable to install it. I have copied the error log to a gist (https://gist.github.com/3698103). I am running Mac OS 10.5.8 and R 2.15.0.
Any thoughts on why installation fails?—
Reply to this email directly or view it on GitHub (https://github.com/jrnold/ggplotJrnold/issues/1).
from ggthemes.
Mmm. The DESCRIPTION file says it need R version > 2.15.0. Wonder what changed from 2.15.0 to 2.15.1 that crashes the installation.
from ggthemes.
What's the output of your sessionInfo()
?
from ggthemes.
Here is my sessionInfo
R version 2.15.0 (2012-03-30)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/en_CA.UTF-8/en_CA.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] devtools_0.7.1
loaded via a namespace (and not attached):
[1] digest_0.5.2 httr_0.1.1 memoise_0.1 plyr_1.7.1 RCurl_1.91-1 stringr_0.6.1 tools_2.15.0
from ggthemes.
load the ggplot
library. library(ggplot2)
and then tell me that version. The newest version of ggplot2
0.9.2
has themes replacing opts and element replacing theme. So this package of themes will not work unless you have the newest ggplot2.
from ggthemes.
To be clear, the Warning: package 'ggplot2' was built under R version 2.15.1
warnings are not your problem. They are just warnings. Is there a reason not obvious to me we think the Error in library.dynam(lib, package, package.lib) : shared object 'MASS.so' not found
error is a version problem? If I am missing that, my apologies.
Otherwise, @ramnathv, can you load the MASS package in a fresh R session. Next, can you load ggplot2 in a fresh R session.
from ggthemes.
@karthikram, @ramnathv is using R's package installation interface and @jrnold's code has an explicit dependency on the correct ggplot2 version. Unless that's broken (an unlikely explanation), we can take as given that @ramnathv has met the dependencies based on how far the installation got.
from ggthemes.
I am using ggplot2_0.9.2
checking from sessionInfo
. I also tried explicitly loading MASS
and ggplot2
before installing this package, but that does not work either.
I think R 2.15.1 must have changed something that causes this failure. Maybe, it is time to upgrade to 2.15.1 :-)
from ggthemes.
@ramnathv, this isn't a ggplot or ggplotJrnold issue at all, so figuring the rest of the problem out in this issue thread wouldn't really be appropriate, but if you get stuck, you can shoot me a message. Some last thoughts: reinstall MASS from source, if possible.
from ggthemes.
I understand. I am just going to install R 2.15.1 and get it over with !
UPDATE: Just upgraded to R 2.15.1 and the installation works smoothly. Maybe, the DESCRIPTION should be changed to indicate that you need R 2.15.1 to use this package, if there is really an issue.
from ggthemes.
@ramnathv From the error message it looks like the problem was that that for some reason you had some packages built with R 2.15.1, but were using R 2.15.0, with the particular problem coming from MASS. Even the newest version of ggplot only requires R >= 2.14, and the version of ggplot is the only real constraint on the use of this package.
btw, your name looked familiar, and then I realized that you also submitted a restructured text patch to knitr along with me.
from ggthemes.
Yes. I did! Awesome work with this package. I really love the Tufte theme.
from ggthemes.
I'm glad you like it! Do you mean the theme where I just set everything to element_blank() :-) ? You might also like geom_tufteboxplot, which is Tufte's minimalist version of the boxplot.
from ggthemes.
Related Issues (20)
- Rename default branch from master to main HOT 1
- Automatically generate preview of figures on README
- images in main page of pkgdown website are broken HOT 1
- Helpful: page with visualization of themes and names HOT 1
- Themes working with scatter3d.
- `theme_tufte` with `geom_rangeframe` doesn't work with `facet_wrap` HOT 2
- Problems with theme_economist HOT 1
- Not enogh colors on palette "gdocs" HOT 2
- base_family not working in theme_economist() and theme_excel()
- Allow Gradient Scales to Accept Midpoint Arg
- Images are broken on homepage HOT 5
- Plot with `theme_fivethirtyeight()` applied can't be further modified with `{ggplot2}` functions HOT 3
- extended_range_breaks - n= not respected
- images in package home page are broken HOT 2
- Installation fails @ R4.2.1 RHEL
- theme_fivethirtyeight() error on mac HOT 1
- Any alternatives? HOT 2
- Fix package alias
- Fix CRAN check errors HOT 2
- theme_excel_new() error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ggthemes.