На основании этого сообщения на форуме: https://groups.google.com/forum/#!topic/ggplot2/mK9DR3dKIBU
Похоже, что проще всего сделать это для добавления разрыва строки (\n) перед вашей осью x и после ваших меток оси y. Кажется намного проще (хотя и тупо), чем решения, вышеперечисленные.
ggplot(mpg, aes(cty, hwy)) +
geom_point() +
xlab("\nYour_x_Label") + ylab("Your_y_Label\n")
Надеюсь, что это поможет!
Это не информация, которую может надежно вычислить алгоритм. Осмотренная программа могла выбрать список всех ресурсов и сделать что-то с ними, как разрешение пользователю выбрать из нескольких значков.
Ваш лучший выбор состоит в том, чтобы, вероятно, искать все ссылки на Ваш предпочтительный API доступа ресурса и осмотреть тех вручную. Используя grep
/ sed
Вы могли бы быть в состоянии уменьшить сайты, которые необходимо осмотреть вручную путем обработки всех "легких", где простая строка используется.
I've been considering this myself and I believe I have two options. Both of these rely on the fact that I use a helper method to extract the required resource from the resource files.
Logging
Add some code to the "getresource" method or methods so that every time a resource is accessed, the resource key is written to a log. Then try to access every part of the site (a testing script might be helpful here). The resultant log entries should give a list of all the active resource keys, the rest can be junked.
Code Analysis
I am looking at whether T4 is capable of working through the solution and creating a list of all references to the "getresource" helper method. The resultant list of keys will be active, the rest can be deleted.
There are limitations of both methods. The logging method is only as good as the code covered by the test and the code analysis might not always find keys rather than strings containg the keys so there will be some extra manual work required there.
I think I'll try both. I'll let you know how it goes.