[Rd] java.lang.UnsatisfiedLinkError: The specified procedure could not be found error message

2008-08-20 Thread Vladmir Makarov
Dear Members, I have developed a program which calls clustering libraries from R. Everything works fine on my laptop. But when I installed the program on another computer, the program gives me the error message: Cannot find JRI native library! Please make sure that the JRI native library is in a d

[Rd] Improvements to write.arff (PR#12574)

2008-08-20 Thread martin
Full_Name: Martin C. Martin Version: 2.7.1 OS: Ubuntu Submission from: (NULL) (75.150.115.86) The function write.arff, in the foreign library: - Can produce relation names with invalid characters - Doesn't use colnames() for attribute names when writing a matrix. Here's a better version: write

[Rd] row.names in data.frame with row.names NULL

2008-08-20 Thread Vadim Organovich
Dear R-devel, It appears that data.frame ignores row.names=NULL argument if it can guess the names from the first column. This behavior seems to contradict what the help page says, see the last sentence: If row names are not supplied in the call to 'data.frame', the row names are take

[Rd] R-Embedding and error messages

2008-08-20 Thread Jorge W. Cardoso
I'm writing a C++ application using R-embedding to do some forecast process. I also use R_tryEval instead of R_Eval to run my R-script, so that in case of error I know exactly in which line number was the last error. In particular, from time in time y get some error messages refering an exception

[Rd] names of return value of median

2008-08-20 Thread Vadim Organovich
Dear R-devel, The median() function assigns a name, "NA", to its return value if the return value is NA and the input vector has names, otherwise the names attribute is NULL. This looks strange and inconsistent with the behavior of mean(). This inconsistency becomes a problem when median() is u

[Rd] unlist on nested pairlists

2008-08-20 Thread Dan Davison
unlist(recursive=FALSE) returns NULL elements when passed a nested pairlist containing non-NULL data: x <- pairlist(pairlist(1:2)) unlist(x, recursive=FALSE) ## [[1]] ## NULL version 2.7.2 RC (2008-08-18 r46382) under linux I'm unaware of any motivation for constructing the above data structure,

Re: [Rd] Outdated dependencies and install.packages()

2008-08-20 Thread Peter Dalgaard
Prof Brian Ripley wrote: > On Wed, 20 Aug 2008, Peter Dalgaard wrote: > >> This looks like a buglet: >> >>> install.packages("lme4", depend=TRUE, lib="~/Rlibrary/") >> --- Please select a CRAN mirror for use in this session --- >> [...snip...] >> ** preparing package for lazy loading >> Error: pack

Re: [Rd] Outdated dependencies and install.packages()

2008-08-20 Thread Prof Brian Ripley
On Wed, 20 Aug 2008, Peter Dalgaard wrote: This looks like a buglet: install.packages("lme4", depend=TRUE, lib="~/Rlibrary/") --- Please select a CRAN mirror for use in this session --- [...snip...] ** preparing package for lazy loading Error: package 'Matrix' 0.999375-4 was found, but >= 0.9

[Rd] unlist on nested lists of factors (PR#12572)

2008-08-20 Thread davison
Here is a description and a proposed solution for a bug in unlist(). I've used version 2.7.2 RC (2008-08-18 r46382) to look at this, under linux. unlist(recursive=TRUE) incorrectly returns a factor with zero levels when passed either a nested list of factors, or a data frame containing only facto

Re: [Rd] Outdated dependencies and install.packages()

2008-08-20 Thread Martin Morgan
A small addendum is that if the outdated dependency is in the LinkingTo: field, the error can be more cryptic. Installation then fails with compilation errors rather than the hint that the dependency is out of date. Martin Morgan Peter Dalgaard <[EMAIL PROTECTED]> writes: > This looks like a bug

Re: [Rd] showMethods("plot", printTo=FALSE) fails if printTo set to FALSE

2008-08-20 Thread Sklyar, Oleg (London)
Thanks for a good tip. Dr Oleg Sklyar Technology Group Man Investments Ltd +44 (0)20 7144 3803 [EMAIL PROTECTED] > -Original Message- > From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] > Sent: 20 August 2008 13:29 > To: Sklyar, Oleg (London) > Cc: [EMAIL PROTECTED] > Subject: Re: [Rd]

Re: [Rd] showMethods("plot", printTo=FALSE) fails if printTo set to FALSE

2008-08-20 Thread Prof Brian Ripley
On Wed, 20 Aug 2008, Sklyar, Oleg (London) wrote: Hi everybody, any idea why showMethods fails with the following error when printTo is set to false, i.e. to return the output as a character vector. It works fine if printTo is left default as seen below. The behaviour is consistent for any meth

[Rd] showMethods("plot", printTo=FALSE) fails if printTo set to FALSE

2008-08-20 Thread Sklyar, Oleg (London)
Hi everybody, any idea why showMethods fails with the following error when printTo is set to false, i.e. to return the output as a character vector. It works fine if printTo is left default as seen below. The behaviour is consistent for any method I tried. stdin() generally works fine on this syst

[Rd] Outdated dependencies and install.packages()

2008-08-20 Thread Peter Dalgaard
This looks like a buglet: > install.packages("lme4", depend=TRUE, lib="~/Rlibrary/") --- Please select a CRAN mirror for use in this session --- [...snip...] ** preparing package for lazy loading Error: package 'Matrix' 0.999375-4 was found, but >= 0.999375.11 is required by 'lme4' Execution halte

Re: [Rd] RNGkind() state (PR#12567)

2008-08-20 Thread Prof Brian Ripley
On Tue, 19 Aug 2008, [EMAIL PROTECTED] wrote: I sent this to R-devel early last month, but have received no response, so I guess it really is a bug. Or people were busy: I was away teaching a course, for example. This looks like a bug to me, and is a bit hard to describe, but easy to repro