0

Possible Duplicate:
How to edit R library sources

A follow up to my previous question A2R library colored dendrogram, allow more than six chars per label. I need to just edit some code in an installed library package. I can't seem to do this. (I'm new to R, packages seem to be hard to access?) I can't seem to find any way to easily edit the source code of packages appear to be read only. Suggestions for implementing the suggestions in the previous post? I thought about just trying to make a new package entirely.

Community
  • 1
  • 1
user291071
  • 351
  • 1
  • 6
  • 12
  • @jorismeys I agree that the question as phrased seems like a duplicate. However, it seems to me that there is a simple answer to this question which isn't answered by the other questions, i.e. the use of a simple redefinition of the function, rather than messing about with package code. – Andrie Jun 07 '11 at 14:09
  • None of the linked questions show how to edit or resolve this problem. How does one simply edit a package? I've tried trace edit but it merely brings up a blank function. There has to be an easy way to edit packages, I am not seeing it though. – user291071 Jun 07 '11 at 15:39
  • Dirk's answer should get you where you want. Download source, edit it, build, use. Quite simple, actually. – Roman Luštrik Jun 07 '11 at 16:22

0 Answers0