Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font color of labels #7

Closed
makulatur opened this issue Feb 21, 2014 · 3 comments
Closed

Font color of labels #7

makulatur opened this issue Feb 21, 2014 · 3 comments

Comments

@makulatur
Copy link

Hey,

great package, it's more flexible than any software I tried to create a treemap! Thanks for the good work.

I've got a small problem, though: I cannot figure out how to change the color of the labels. I don't really want to activate the bg.labels, but when I deactivate them the labels are mixed between black and white. Is there any possibility to force treemap to draw all label texts in white, for example?

Thanks in advance,
Malte

@mtennekes
Copy link
Owner

Good news: now it is! It was a easy job. The new argument is called fontcolor.labels, where you can specify colors for each hierarchical level.

Thanks for your feedback!
Best,
Martijn

@makulatur
Copy link
Author

Hey, thanks a lot for the quick help!

I have one problem left: I can't seem to install the new version. I followed what you wrote in the README.md to install via devtools and then install_github, but it says:

Installing github repo treemap/master from mtennekes
Downloading treemap.zip from https://github.com/mtennekes/treemap/archive/master.zip
Installing package from C:\Users\...\AppData\Local\Temp\Rtmpqe2BLk/treemap.zip
Installing treemap
"C:/PROGRA~1/R/R-30~1.2/bin/i386/R" --vanilla CMD INSTALL  \
  "C:\Users\...\AppData\Local\Temp\Rtmpqe2BLk\devtools151879753dad\treemap-master\pkg"  \
  --library="C:/Users/.../Documents/R/win-library/3.0" --install-tests 

* installing *source* package 'treemap' ...
** R
Error in .install_package_code_files(".", instdir) : 
files in 'C:/Users/.../AppData/Local/Temp/Rtmpqe2BLk/devtools151879753dad/treemap-master/pkg/R' missing from 'Collate' field:
  treecolors.R
ERROR: unable to collate and parse R files for package 'treemap'
* removing 'C:/Users/.../Documents/R/win-library/3.0/treemap'
Fehler: Command failed (1)

I googled around a bit and it seems that the DESCRIPTION file is the culprit. I think I can try and install from a downloaded zip but I have to go now and this might be problematic for others, too!

Best,
Malte

@mtennekes
Copy link
Owner

Hi Malte, it should be fixed now. Please check again, and report to me if
it still doesn't work.

Best,
Martijn

On Sat, Feb 22, 2014 at 8:42 PM, makulatur notifications@github.com wrote:

Hey, thanks a lot for the quick help!

I have one problem left: I can't seem to install the new version. I
followed what you wrote in the README.md to install via devtools and then
install_github, but it says:

Installing github repo treemap/master from mtennekes
Downloading treemap.zip from https://github.com/mtennekes/treemap/archive/master.zip
Installing package from C:\Users...\AppData\Local\Temp\Rtmpqe2BLk/treemap.zip
Installing treemap
"C:/PROGRA1/R/R-301.2/bin/i386/R" --vanilla CMD INSTALL
"C:\Users...\AppData\Local\Temp\Rtmpqe2BLk\devtools151879753dad\treemap-master\pkg"
--library="C:/Users/.../Documents/R/win-library/3.0" --install-tests

  • installing source package 'treemap' ...
    ** R
    Error in .install_package_code_files(".", instdir) :
    files in 'C:/Users/.../AppData/Local/Temp/Rtmpqe2BLk/devtools151879753dad/treemap-master/pkg/R' missing from 'Collate' field:
    treecolors.R
    ERROR: unable to collate and parse R files for package 'treemap'
  • removing 'C:/Users/.../Documents/R/win-library/3.0/treemap'
    Fehler: Command failed (1)

I googled around a bit and it seems that the DESCRIPTION file is the
culprit. I think I can try and install from a downloaded zip but I have to
go now and this might be problematic for others, too!

Best,
Malte

Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-35812264
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants