Discussion:
filter issue in <browser />
meik michalke
2018-11-01 14:51:20 UTC
Permalink
hi,

in case you haven't noticed, the RMWarkdown export plugin ist in the current
daily builds (under file -> export).

i've noticed another issue in the <browser /> element: if i launch the opening
dialog and scroll down in the filter menu (which is set to "*.rmd *.md" in the
RMarkdown plugin), i get to "All files (*) (All files" which apparently is so
broken that it yields no matches. from looking at the code in
rkpluginbrowser.cpp i could not see how this happens.


viele grüße :: m.eik
--
dipl. psych. meik michalke
institut f"ur experimentelle psychologie
abt. f"ur diagnostik und differentielle psychologie
heinrich-heine-universit"at d-40204 d"usseldorf
Thomas Friedrichsmeier
2018-11-01 17:11:36 UTC
Permalink
Hi!

On Thu, 01 Nov 2018 15:51:20 +0100
Post by meik michalke
in case you haven't noticed, the RMWarkdown export plugin ist in the
current daily builds (under file -> export).
Yes, great!
Post by meik michalke
i've noticed another issue in the <browser /> element: if i launch
the opening dialog and scroll down in the filter menu (which is set
to "*.rmd *.md" in the RMarkdown plugin), i get to "All files (*)
(All files" which apparently is so broken that it yields no matches.
from looking at the code in rkpluginbrowser.cpp i could not see how
this happens.
Fixed.

I was also going to add a hint to the help page, that "RMarkdown File"
will be pre-filled, if called with a script window active. But then, I
found that I was not sure on the correct steps to re-genenerate the
secondary plugin files after updating the rkwarddev-script. Not sure
what this would take, but could you make it such that the comment line
in the generated files is a bit more specific, i.e.:

a) It should tell the correct relative path to the relevant
rkwarddev-script. (Ah, I see, that's what the gen.info parameter is
for; but it's not set correctly on this new one, and not at all on the
older rkwarddev-plugins).
b) It should give a shell command to copy-and-paste in order to update
the generated files _and_ have them in the correct place, afterwards.

Regards
Thomas
meik michalke
2018-11-01 21:32:55 UTC
Permalink
hi,
Post by Thomas Friedrichsmeier
I was also going to add a hint to the help page, that "RMarkdown File"
will be pre-filled, if called with a script window active. But then, I
found that I was not sure on the correct steps to re-genenerate the
secondary plugin files after updating the rkwarddev-script.
you just run the script and copy the newly generated files from

$TEMPDIR/rk.RMarkdown/inst/rkward/plugins/

to

rkward/plugins/00saveload/save/

the pluginmaps must be edited by hand, but only if necessary, of course.
Post by Thomas Friedrichsmeier
Not sure what this would take, but could you make it such that the comment
a) It should tell the correct relative path to the relevant
rkwarddev-script. (Ah, I see, that's what the gen.info parameter is
for; but it's not set correctly on this new one, and not at all on the
older rkwarddev-plugins).
ah, fixed. the previous path still pointed to the location where i usualy put
scripts in a standalone package.
Post by Thomas Friedrichsmeier
b) It should give a shell command to copy-and-paste in order to update
the generated files _and_ have them in the correct place, afterwards.
i've added a short README to the directory with all rkwarddev scripts. i know
it's not copy-and-paste, but i guess developers can come up with a fitting cp
call ;-) does that work for you?


viele grüße :: m.eik
--
dipl. psych. meik michalke
institut f"ur experimentelle psychologie
abt. f"ur diagnostik und differentielle psychologie
heinrich-heine-universit"at d-40204 d"usseldorf
Loading...