[Rd] Overly restrictive conditions to evaluate beta (PR#10763)

2008-02-15 Thread Jerry . Lewis
Full_Name: Jerry W. Lewis Version: 2.6.2 OS: Windows XP Professional Submission from: (NULL) (96.233.108.117) Currently, beta(a,b) returns NaN if either a or b is negative, but the current calculation beta(a,b) = gamma(a)*gamma(b)/gamma(a+b) works equally well if either or both arguments are n

[Rd] Namespace and function open

2008-02-15 Thread Markus Schmidberger
Hello, I built a package, everything was working very well. Now I included a NAMESPACE to export only some variables. (export(f, g, ...) ) Everything is working fine, except one function. There I get an error: Fehler in UseMethod("open") : keine anwendbare Methode für "open" In this function I

[Rd] Mac crash with installing packages (PR#10764)

2008-02-15 Thread albert
Full_Name: Albert Vernon Smith Version: R 2.6.2 OS: MacOSX 10.4.11 Submission from: (NULL) (143.48.31.42) Whenever I install a package in R 2.6.2 via the "R Package Installer" functionality (Mac OS X 10.4.11), R crashes after the installation. When I restart, the installed package seems to be in

[Rd] pt inaccurate when x is close to 0 (PR#9945)

2008-02-15 Thread jerry . lewis
While I agree that the reported results from Mathematica have only 10-13 correct digits, that does not mean that pt() in R is any better for these calculations. For instance the following three calculations are mathematically equivalent, but pt() disagrees at the 13th figure in R v2.6.2 pt(1

Re: [Rd] RGtk2 : Using GtkImage with GIF (PR#10757)

2008-02-15 Thread Michael Lawrence
Hi, This is likely an issue with the event loop. If you move your mouse around, does the image update? Does it animate if you run gtkMain() in the console? Thanks, Michael On Thu, Feb 14, 2008 at 4:20 AM, <[EMAIL PROTECTED]> wrote: > Full_Name: Hans Dieter > Version: 2.6.1 > OS: Windows > Submi

Re: [Rd] Mac crash with installing packages (PR#10764)

2008-02-15 Thread Albert Vernon Smith
My original description was not full enough. I only get the crash when I'm installing from source. If I install precompiled binaries, I seem to be fine. Also, if I install via the command 'install.packages(type="source")', I don't get a crash. It is specific to the "Package Installer" m

[Rd] Rscript temp file

2008-02-15 Thread Vadim Organovich
Hi, It seems that Rscript creates a temporary file to store the commands passed with the -e option, under normal circumstances the temp file gets deleted at some point. Here is an example of a call I use: q:/R/R-2.6.1/bin/Rscript.exe -e ".libPaths(\"q:/R/vogranovich/library\"); params <- lis

[Rd] data frame with NA in names

2008-02-15 Thread Benjamin Tyner
When calling read.table() and supplying colClasses and header=FALSE, it is possible for the resulting data frame to have NA in the names. (The warning "not all columns named in 'colClasses' exist" is returned) Here is such a data frame: x <- structure(list(a = 1:10, "NA" = c(N

[Rd] R crashes with debug()

2008-02-15 Thread Jeffrey Horner
I know this may be a pathological case, but I found it while debugging PopCon: Invoking a debugged function prior to the conclusion of setup_Rmainloop() will cause R to crash because R_ConsoleIob is not initialized until run_Rmainloop(). Tested in R-2-6-branch and trunk on Linux. Crash it lik

Re: [Rd] dir.create in 2.7.0dev (PR#10765)

2008-02-15 Thread Prof Brian Ripley
1) You were expressly asked not to use R-bugs for unreleased versions of R. See e.g. http://cran.r-project.org/bin/windows/base/rdevel.html 2) This does work, but at the moment you have to use Windows ("\\") file separators. You really shouldn't expect all the convenience features to be working

[Rd] choose incorrect for fractional and some negative integer values (PR#10766)

2008-02-15 Thread Jerry . Lewis
Full_Name: Jerry W. Lewis Version: 2.6.2 OS: Windows XP Professional Submission from: (NULL) (198.180.131.16) choose() returns incorrect values for all fractional arguments, regardless of sign. It returns 0 when both arguments are negative integers, which is not always correct (as in some formul

Re: [Rd] Mac crash with installing packages (PR#10764)

2008-02-15 Thread Simon Urbanek
On Feb 15, 2008, at 10:05 AM, [EMAIL PROTECTED] wrote: > Full_Name: Albert Vernon Smith > Version: R 2.6.2 > OS: MacOSX 10.4.11 > Submission from: (NULL) (143.48.31.42) > > > Whenever I install a package in R 2.6.2 via the "R Package > Installer" functionality (Mac OS X 10.4.11), R crashes afte

[Rd] crash in library(gbm) was: Rscript temp file

2008-02-15 Thread Vadim Organovich
The crashes turned out to have nothing to do with the temp files. They seem to be caused by loading library(gbm). That is when many R sessions nearly simultaneously load the library R crashes with the message "The instruction at '0x63422398' referenced memory at '0x63422398'. The required data w

[Rd] dir.create in 2.7.0dev (PR#10765)

2008-02-15 Thread dominik . locher
Hi I have some problems to create severeal directories at the same time dir2 = "C:/00test000/test/test1" dir.create(dir2, showWarnings = TRUE, recursive = TRUE) It works in 2.6.2 but not in 2.7.0dev I use Windows, R 2.7.0 (2008-02-15 r44484) Best regards Dominik ___

Re: [Rd] pt inaccurate when x is close to 0 (PR#9945)

2008-02-15 Thread Prof Brian Ripley
Please do as the FAQ asked you to, and check the NEWS file at https://svn.R-project.org/R/trunk/NEWS R 2.6.2 is not the '_next_ release of R', and that pre-release behaves differently as documented in the NEWS file. On Fri, 15 Feb 2008, [EMAIL PROTECTED] wrote: > While I agree that th

Re: [Rd] Perils of R_LIBRARY_PATH

2008-02-15 Thread Hin-Tak Leung
Hi, Just for interest, may I ask which platform are you referring to? You are on a commercial unix platform such as solaris, right? Older JDK/JRE on unices uses motif as the the AWT peer implementation. The motif toolkit libraries are always found on commercial unices, but for the same reason, no

Re: [Rd] Perils of R_LIBRARY_PATH

2008-02-15 Thread Prof Brian Ripley
On Sat, 16 Feb 2008, Hin-Tak Leung wrote: > Hi, > > Just for interest, may I ask which platform are you referring to? > You are on a commercial unix platform such as solaris, right? amd64 Linux -- a bit of tracing shows that to be from a jpackage-d version of the Sun SDK. So my guess is that th