Re: [rkward-devel] power analysis plugin

2014-10-07 Thread Thomas Friedrichsmeier
Hi Meik,

On Sunday 05 October 2014 16:01:27 meik michalke wrote:
> sure, why not. would someone jump in to do write the help file? ;-)

trying to write a help file sometimes helps to spot non-intuitive controls, or 
ones that could be simplified. Oh, and of course bugs...:

- For the two sample tests, when estimating the size of one of the samples, 
why not always make it the second sample (i.e. first sample size provided)?
- Syntax error for estimating sample size in different sample sizes proportion 
test.
- In some cases, you get the not-so-helpful error message:
 Error in uniroot(function(n2) eval(p.body) - power, c(2 + 1e-10, 1e+07)) : 
   f() values at end points not of opposite sign
e.g. when no finite n2 sample size is enough to satisfy the given n1 sample 
size, effect size, power, significance level. I am not sure, whether this 
applies in all cases, but where it does, it would be good to print a more 
helpful message. That might mean
  pwr.result <- try (pwr.whatever(...))
  if (class (pwr.result) == "try-error") {
 rk.print ("Power anaylsis not possible at the given specification")
 return () # Exits local(), so no need to put the rest inside an else{}.
  }
- For GLM, would it make sense to allow to specify "number of parameters to 
estimate", and "sample size (N)", instead of numerator / denominator df?
- In the generated printout() code, things might get slightly simpler, if you 
print the header earlier:
  # Prepare printout
rk.header(pwr.result[["method"]], parameters= c (list("Target 
measure"="Whatever"), pwr.result["alternative"]))

note <- pwr.result[["note"]]
pwr.result[c("method", "note", "alternative")] <- NULL

rk.results(as.data.frame (unlist (pwr.result)), titles=c ("", 
"Parameters"))
if(!is.null(note)){
rk.print(paste("Note: ", note))
}
[...]
- That said, I wonder, whether the following printout would be good enough 
(after the rk.header()):
   rk.print.literal (capture.output (print (x)))
(we could add a new function "rk.print.simple(x)" for this kind of output. It 
would probably make sense in other places, too).

Regards
Thomas

signature.asc
Description: This is a digitally signed message part.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] [rkward-users] [rkward-announce] Upcoming release, call for testing and translating RKWard 0.6.2

2014-10-07 Thread meik michalke
Am Montag, 29. September 2014, 20:21:33 schrieb Thomas Friedrichsmeier:
> RKWard: 0.6.2. I would like to ask you for help in testing, packaging and
> translating.

a colleague of mine tried to upgrade to the new windows bundle -- but failed. 
the only thing he gets is a "no such file or directory" error, while it 
remains unclear which file/directory is in question.

he had RKWard installed before and it worked fine. we tried to remove the 
.rkward folder as well as all other folders related to the previous 
installation, re-installed and rebooted several times, but to no avail.

ideas?


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

signature.asc
Description: This is a digitally signed message part.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] [rkward-users] [rkward-announce] Upcoming release, call for testing and translating RKWard 0.6.2

2014-10-07 Thread Thomas Friedrichsmeier
Hi!

On Tuesday 07 October 2014 17:19:16 meik michalke wrote:
> Am Montag, 29. September 2014, 20:21:33 schrieb Thomas Friedrichsmeier:
> > RKWard: 0.6.2. I would like to ask you for help in testing, packaging and
> > translating.
> 
> a colleague of mine tried to upgrade to the new windows bundle -- but
> failed. the only thing he gets is a "no such file or directory" error,
> while it remains unclear which file/directory is in question.
> 
> he had RKWard installed before and it worked fine. we tried to remove the
> .rkward folder as well as all other folders related to the previous
> installation, re-installed and rebooted several times, but to no avail.
> 
> ideas?

- Any chance he was using existing icons / shortcuts / link from a previous 
install (and now pointing into the void)? Try starting from
  c:\path\to\installed\bundle\KDE\bin\rkward.exe

- Start from the command line using rkward.exe --debug-level 4. This should 
print a bit more info.

- Try to specify the location of R, explicitly:
  rkward.exe --debug-level 4 --r-executable C:\RKWARDbundle\R\bin\i386\R.exe
(or whereever R is at).

- Does any window show up, at all? Is that literally the whole error message?

- While this _should_ not be a problem, any longer, the safest installation 
path has no spaces in any folder name, and all parts of the folder name are 8 
characters or less.

- If all else fails, you could try using the custom installer. This can simply 
be pointed to KDE and R in the bundle.

Regards
Thomas

signature.asc
Description: This is a digitally signed message part.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] [rkward-users] [rkward-announce] Upcoming release, call for testing and translating RKWard 0.6.2

2014-10-07 Thread Thomas Friedrichsmeier
Hi again,

never mind my previous mail. I figured out what's wrong. (When updating the 
bundle to test2, I forgot to adjust the path to R to be relative, and thus the 
bundle cannot be moved to a different path). Will upload a new bundle, in a 
minute.

It should still work to simply run the custom installer on top of the bundle, 
or specify --r-executable on the command line.

Regards
Thomas



signature.asc
Description: This is a digitally signed message part.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] [rkward-users] [rkward-announce] Upcoming release, call for testing and translating RKWard 0.6.2

2014-10-07 Thread meik michalke
hi,

Am Dienstag, 7. Oktober 2014, 17:58:15 schrieb Thomas Friedrichsmeier:
> - Start from the command line using rkward.exe --debug-level 4. This should
> print a bit more info.

that helped. it turned out the installer set completely wrong paths, namely to 
a non-existent drive K:

we had already found that for the .lnk file to rkward.exe, but the debug 
messages showed us that rkward.ini also looked for R on drive K:

> - Does any window show up, at all? Is that literally the whole error
> message?

yes, it was the whole message. i started R in cmd.exe then, this is what was 
returned:


c:\RKWard>RKWard.exe.lnk
Debug: path of the process "dbus-daemon" seems to be outside of the 
installPath: "C:/Program Files/RKWard/KDE/bin" "C:/RKWard/KDE/"
Debug: path of the process "klauncher" seems to be outside of the 
installPath:"
C:/Program Files/RKWard/KDE/bin" "C:/RKWard/KDE/"
Debug: path of the process "kded4" seems to be outside of the installPath: 
"C:/Program Files/RKWard/KDE/bin" "C:/RKWard/KDE/"


and by the way, i now see why windows users tend to send screenshots instead 
of text like above: microsoft successfully managed to make copy&paste from 
that console like impossible, "select all" was the only thing that worked and 
we had to strip the whole history. adding to that, magically translating 
folder names seems like a terrible "feature"; "C:/Program Files/" is shown as 
"C:/Programme/" in german, but using that path in cmd.exe caused really 
strange errors.

so in essence, the problem was wrong paths. the installer did not use the 
installation path selected at the beginning of the process.


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

signature.asc
Description: This is a digitally signed message part.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] [rkward-users] [rkward-announce] Upcoming release, call for testing and translating RKWard 0.6.2

2014-10-07 Thread Thomas Friedrichsmeier
On Tuesday 07 October 2014 18:29:18 meik michalke wrote:
> that helped. it turned out the installer set completely wrong paths, namely
> to a non-existent drive K:

Yes, see my other mail: My bad. Fix is being uploaded.
 
> 
> c:\RKWard>RKWard.exe.lnk
> Debug: path of the process "dbus-daemon" seems to be outside of the
> installPath: "C:/Program Files/RKWard/KDE/bin" "C:/RKWard/KDE/"
> Debug: path of the process "klauncher" seems to be outside of the
> installPath:"
> C:/Program Files/RKWard/KDE/bin" "C:/RKWard/KDE/"
> Debug: path of the process "kded4" seems to be outside of the installPath:
> "C:/Program Files/RKWard/KDE/bin" "C:/RKWard/KDE/"
> 

Huh? I wonder what this is about. _Is_ there a dbus-daemon.exe at C:/Program 
Files/RKWard/KDE/bin? Is it on the PATH? Any symptoms besides this message? 
Esp. do help windows / output window work?

> and by the way, i now see why windows users tend to send screenshots instead
> of text like above: microsoft successfully managed to make copy&paste from
> that console like impossible, "select all" was the only thing that worked
> and we had to strip the whole history.

Yes. Astonishing is about the only word I can find for that.

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel