Re: [rkward-devel] On windows binary

2010-05-24 Thread Prasenjit Kapat
On Fri, May 21, 2010 at 9:46 AM, Thomas Friedrichsmeier wrote: > Hi, > > On Thursday 20 May 2010, Prasenjit Kapat wrote: >> I don't see any difference by adding "%~dsp0" to R_BINARY on Windows 7 >> as well as Win server 2007. Once RKWard starts the getwd() is still >> C:/.../KDE/bin. > > you n

Re: [rkward-devel] On windows binary

2010-05-21 Thread Thomas Friedrichsmeier
Hi, On Thursday 20 May 2010, Prasenjit Kapat wrote: > I don't see any difference by adding "%~dsp0" to R_BINARY on Windows 7 > as well as Win server 2007. Once RKWard starts the getwd() is still > C:/.../KDE/bin. you need to do both: Modifiy rkward.bat, and specify %USERPROFILE% as working d

Re: [rkward-devel] On windows binary

2010-05-19 Thread Prasenjit Kapat
On Sun, May 16, 2010 at 6:38 AM, Thomas Friedrichsmeier wrote: > Hi, > > On Sunday 16 May 2010, Prasenjit Kapat wrote: >> 1. An option for a "Home" directory on Windows would be preferable, >> defaulting to  %USERPROFILE%. Otherwise rkward starts in \KDE\bin, >> which for obvious reason is not

Re: [rkward-devel] On windows binary

2010-05-19 Thread Prasenjit Kapat
Hi Thomas, On Tue, May 18, 2010 at 10:36 AM, Thomas Friedrichsmeier wrote: > Hi, > > a small update: > > Thomas Friedrichsmeier schrieb: >> I guess the most elegant way may be to set the working directory in the >> RKWard.lnk . I believe it's possible to use path-variables such as >> %USERPROFILE

Re: [rkward-devel] On windows binary

2010-05-18 Thread Thomas Friedrichsmeier
Hi, a small update: Thomas Friedrichsmeier schrieb: > I guess the most elegant way may be to set the working directory in the > RKWard.lnk . I believe it's possible to use path-variables such as > %USERPROFILE%, there, but again, well have to test this. I tested this on Windows XP, and it work

Re: [rkward-devel] On windows binary (creating the bundle)

2010-05-16 Thread Thomas Friedrichsmeier
Hi again, so these are the steps that I have followed in creating the installation bundle: Binary: 0) It seems best to root the installation in a drive other than C:\ (otherwise there are some problems when moving the RKWard.lnk, later on). 1) Create a directory "RKWard". 2) Use the regular KDE

Re: [rkward-devel] On windows binary

2010-05-16 Thread Thomas Friedrichsmeier
Hi, On Sunday 16 May 2010, Prasenjit Kapat wrote: > 1. An option for a "Home" directory on Windows would be preferable, > defaulting to %USERPROFILE%. Otherwise rkward starts in \KDE\bin, > which for obvious reason is not good! > > The could be achieved as: if (grepl (pattern = "RKWard/KDE/b

Re: [rkward-devel] On windows binary

2010-05-15 Thread Prasenjit Kapat
On Sat, May 15, 2010 at 8:53 PM, Prasenjit Kapat wrote: > > @ECHO off > taskkill /F /IM kio_http_cache* > taskkill /F /IM klauncher.exe > taskkill /F /IM dbus-daemon.exe > taskkill /F /IM kded4.exe It turns out, 'taskkill' is not available on XP Home, hence the following: @ECHO off tskill kio_ht

[rkward-devel] On windows binary

2010-05-15 Thread Prasenjit Kapat
So, here are the points: 1. An option for a "Home" directory on Windows would be preferable, defaulting to %USERPROFILE%. Otherwise rkward starts in \KDE\bin, which for obvious reason is not good! The could be achieved as: if (grepl (pattern = "RKWard/KDE/bin$", x = getwd())) setwd (Sys.gete