Sorry, I made a mistake while writing the code. The declaration of Data
should have been first.
I still have some doubts:
When you say calloc and realloc are you talking about R's C interface Calloc
and Realloc or the regular calloc and realloc?
I want to feed data directly into a R matrix and g
On 10/23/2009 8:27 AM, Duncan Murdoch wrote:
On 10/22/2009 7:21 AM, Erich Neuwirth wrote:
Using todays freshly downloaded compiled version of R-2.10.0 beta
let me pose this question once again:
myconn<-textConnection("print(11*11)")
source(myconn)
produces
[1] 121
Warning message:
In source(
More generally, the accuracy and working range of psigamma(x,deriv) can be
improved by having it return the leading term of the asymptotic expansion
(-1)^(deriv-1)*factorial(deriv-1)/x^deriv
whenever deriv>=1 and x>=1e15
[[alternative HTML version deleted]]
_
On Fri, Oct 23, 2009 at 9:23 AM, Douglas Bates wrote:
> On Fri, Oct 23, 2009 at 8:39 AM, Abhijit Bera wrote:
>> Hi
>>
>> I'm having slight confusion.
>
> Indeed.
>
>> I plan to grow/realloc a matrix depending on the data available in a C
>> program.
>
>> Here is what I'm tried to do:
>
>> Data=al
On Fri, Oct 23, 2009 at 8:39 AM, Abhijit Bera wrote:
> Hi
>
> I'm having slight confusion.
Indeed.
> I plan to grow/realloc a matrix depending on the data available in a C
> program.
> Here is what I'm tried to do:
> Data=allocMatrix(REALSXP,3,4);
> SEXP Data;
Those lines should be in the oth
Hi
I'm having slight confusion.
I plan to grow/realloc a matrix depending on the data available in a C
program.
Here is what I'm tried to do:
Data=allocMatrix(REALSXP,3,4);
SEXP Data;
REAL(Data)[8]=0.001123;
REAL(Data)[20]=0.001125;
printf("%f %f\n\n\n\n",REAL(Data)[8],REAL(Data)[20])
On 10/22/2009 7:21 AM, Erich Neuwirth wrote:
Using todays freshly downloaded compiled version of R-2.10.0 beta
let me pose this question once again:
myconn<-textConnection("print(11*11)")
source(myconn)
produces
[1] 121
Warning message:
In source(myconn) : argument 'encoding = "native.enc"' w
On 10/22/2009 11:03 PM, William Dunlap wrote:
The following patch seems to get the warning message right
Thanks, I'll put this in if nobody else gets there first.
Duncan Murdoch
lag.zoo html
Rd warning: ./man/lag.zoo.Rd:54: file link 'diff' in package 'st
> "JL" == Jerry Lewis
> on Thu, 22 Oct 2009 04:20:13 +0200 (CEST) writes:
JL> Full_Name: Jerry W. Lewis
JL> Version: 2.9.2
JL> OS: Windows XP Professional
JL> Submission from: (NULL) (96.237.55.233)
JL> trigamma(x) returns 0 for x>1e152, yet
JL> trigamma <- f
Hi,
I am getting an error from one of the test files
tests/reg-tests-1.R using the unstable version (r50179).
(i've learned my lessons; this is a clean build.) The tail
of reg-tests-1.Rout.fail is
Loading required package: myTst
building package pkgA ...
installing package pkgA using file pkgA_1.
10 matches
Mail list logo