Hi, I did some further testing.
LM -> Niklas: please read point 3. below! (a question about caching) The connection is OK, both om W2k and XP with both R2.4.1 and 2.5.0, though I have some strange errors: 1.) Win XP BUG both RDump and the cell-function DO work under W2k BUT: on Win XP: RDump functions beautifully, yet all cell-functions give a #Name! ERROR - even RTESTCONNECTION() returns this ERROR, although, as I sad, RDump works, so the connection MUST be present I think this has something to do with the Calc - package integration (I am using OOo 2.2) 2.) the R-Addon Menu entries do NOT work (neither on W2k, nor on Win XP) 3.) you mentioned that rnorm(10) gives the same numbers and point on the wiki that this is due to the fact that R uses the same seed. I question this explanation. rnorm(10) will work beautifully inside RDump(). LM -> Niklas: I believe this is more a Calc issue. IF I understad correctly, Calc tries to cache information and already calculated values. So, IF Calc encounters the same formula a 2nd time, then it possibly never runs the funciton again, BUT rather outputs the value from the Cache. Am I right? IF YES, how can one avoid this caching issue. Sincerely, Leonard -------- Original-Nachricht -------- Datum: Sun, 3 Jun 2007 23:03:30 -0400 Von: "Wojciech Gryc" <[EMAIL PROTECTED]> An: [email protected] Betreff: Re: [sc-dev] Re: R Questions > Hi Leonard, > > Thanks so much for trying this out. > > First, I'm glad the connection problem has been fixed. I also fixed the > search() and (.packages()) bug. This was my fault mainly because Rserve > has > a number of different ways it deals with R objects. I've been doing my > best > to deal with all the structures (Vectors versus Lists versus other > objects, > filled with numbers, strings, and other structures), so by trying > different > methods that I can't think of, you're letting me become more familiar with > the structure of the R objects. > > Regarding installation, if you already have RAddon.uno.pkg installed then > you need to remove it before adding the new one -- this is why you got an > error, and it's more a unopkg (OpenOffice) thing than mine as far as I > know. > What I'll do in the next few days is create some sort of basic > installation > script so that people can check. Until then, I updated the wiki > accordingly. > > With regards to the range, you're inputting it correctly and it works > perfectly on Linux but crashes in Windows. At this point I do not know > why, > but this is my first priority... I am asking around on the IRC channel > right > now and will let you know as soon as possible about a fix. > > Thanks, > Wojciech > > On 6/3/07, Leonard Mada <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I have some additional questions: > > > > I tried the following R-commands inside RDump(): > > > > search() > > should output attached packages > > > > (.packages()) > > print(.packages()) > > Neither (.packages()), nor print(.packages()) work. They should output > > the attached packages [ '.packages()' won't print anything, you need > > either (.packages()) or print(.packages()) for this.] > > > > .packages(all=TRUE) > > should output all *installed packages* > > > > Neither of these commands did work inside RDump! > > > > Does this relate to the way Rserve connects to R or is this a coding > > problem? sessionInfo() seems to work correctly and to report the > > packages. I tried therefore: (inside RDump) > > library("coin") > > => attaches the package 'coin' (needs to be installed on the machine) > > sessionInfo() > > => package 'coin' is displayed (together with the base and > > helper-packages). > > > > So, I do NOT believe that this is an Rserve issue. > > > > I insist on implementing debugging functions and working these issues > > out, because this will ease future development. > > > > Sincerely, > > > > Leonard > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > > Five Minutes to Midnight: > Youth on human rights and current affairs > http://www.fiveminutestomidnight.org/ -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
