Displaying 20 results from an estimated 180 matches similar to: "integrate() (PR#1754)"
2002 Jul 08
3
integrate() (PR#1755)
Full_Name: Travis Porco
Version: 1.5.1 (6/17/2002)
OS: Suse Linux 7.1
Submission from: (NULL) (66.81.124.235)
This happens:
> integrate(function(x)1,0,1)
Error in integrate(function(x) 1, 0, 1) : evaluation of function gave a result
of wrong length
> integrate(function(x)x^2,0,1)
0.3333333 with absolute error < 3.7e-15
> integrate(function(x){cat(x);1},0,1)
0.5 0.01304674 0.9869533
2009 Dec 18
1
Numerical Integration
Dear @ll. I have to calculate numerical integrals for triangular and trapezoidal figures. I know you can calculate the exactly, but I want to do it this way to learn how to proceed with more complicated shapes. The code I'm using is the following:
integrand<-function(x) {
print(x)
if(x<fx[1]) return(0)
if(x>=fx[1] && x<fx[2]) return((x-fx[1])/(fx[2]-fx[1]))
2010 Apr 11
6
[Bug 1754] New: Can not copy from directories with space.
https://bugzilla.mindrot.org/show_bug.cgi?id=1754
Summary: Can not copy from directories with space.
Product: Portable OpenSSH
Version: 5.1p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: scp
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy:
2005 Feb 24
1
Compilation problem
Hello. I am trying to compile samba 3.0.11 on OpenBSD 3.6. At first i
tried the ./configure with a number of switches, but when the make
failed, i redid it with just plain "./configure && make". The configure
works fine. The make runs for awhile but dies with this:
Linking bin/swat
/usr/local/kerberos/lib/libkrb5.so.3.2: warning: mktemp() possibly used
unsafely; consider
2005 Feb 15
3
3.0.11 client/clitar.c Fails to Compile on RedHat and AIX
Nearly identical results on AIX 5.2 and RedHat 7.3. In both cases:
./configure --with-winbind --with-ads --with-ldap --with-krb5
AIX 5.2:
Compiling client/clitar.c
client/clitar.c:91: error: parse error before '*' token
client/clitar.c:91: warning: data definition has no type or storage class
client/clitar.c: In function `tar_parseargs':
client/clitar.c:1754: error: `regex_t'
2003 Oct 02
1
User unable to log into Solaris when password has been expired by root
I have a question.
Our process for creating a new user account on our Solaris systems is to
force expire (passwd -f) the user's password so they have to chose their own
when they log in. However, since building OpenSSH 3.7.1p2 I find that new
users are unable to log in with the following syslog messages:
Oct 2 12:37:42 hostname sshd[1754]: User tester password has expired
(root forced)
2000 Jul 08
1
sshd Pam problem for Redhat 6.2
Hi,
There was another message about this from Darren Evans. I am hoping that
the logs from below might shed additional light on this problem (kernel
version 2.2.14). I'm running Redhat 6.2, openssh-2.1.1p2.tar.gz,
openssl-0.9.5a.tar.gz.
I haven't tried to recompile with /usr/src/linux pointing to 2.2.12 per
Darren's solution - that's my next thing to do, or perhaps compile
2005 Feb 09
1
Samba 3.0.11 won't compile on Solaris 8
Samba 3.0.11 won't compile on my Solaris 8 machine. It keeps getting
compile errors in clitar, although I am using exactly the same
configuration options as in Samba 3.0.10.
Here is the basic configuration from config.log
$ ./configure --with-ldap --with-ads --with-acl-support --with-pam
--with-krb5=/usr/local --enable-shared --without-gnu-ld
--with-mysql-prefix=/usr/local/mysql
2005 Feb 09
1
build error on samba 3.0.11 to be domain member w/ W2k ADS
I am trying to build a linux file server as a domain
member w/W2K-ADS .
I have: Slackware 10.1 freshly loaded
KRB5 1.4
Sleepycat DB 4.3.7 (needed for openLDAP build)
OpenLDAP 2.3.23
When building Samba 3.0.11, I recieve the following
errors.
Using FLAGS = -I/usr/local/include -O -Iinclude
-I/usr/local/samba-3.0.11/source/include -I/usr/local
/samba-3.0.11/source/ubiqx
2024 Oct 31
2
Error compiling 87283 on Windows 10 using Rtools4.4 6335-6327
When compiling R, the build fails after byte compiling grDevices with
the following error:
byte-compiling package 'grDevices'
make[4]: *** [../../../share/make/lazycomp.mk:9:
../../../library/grDevices/R/grDevices.rdb] Error 139
make[3]: *** [Makefile.win:23: all] Error 2
make[2]: *** [Makefile.win:34: R] Error 1
make[1]: *** [Makefile:18: all] Error 2
make: *** [Makefile:392:
2016 Sep 24
2
RFC: Implement variable-sized register classes
On 9/24/2016 7:20 AM, Alex Bradbury wrote:
> My concern is that all of the above adds yet more complexity to what
> is already (in my view) a fairly difficult part of LLVM to understand.
> The definition of MyRegisterClass is not so bad though, and perhaps it
> doesn't matter how it works under the hood to the average backend
> writer.
I agree with the complexity, but I would
2007 Dec 16
1
Extracting Year (only) information from Non-Standard Dates
I have some data whose date column consists of two types of date entries:
(a) year-only entries (eg "1983") and
(b) full date info (eg September 12, 1962).
Here's what the non-standard date info looks like:
> mode(non.standard.dates)
[1] "numeric"
> head(non.standard.dates)
[1] July 15, 1925 February 13, 1923 July 10, 1988 February 24, 1931
[5] 1952
2013 Apr 07
2
group data in classes
Hello all!
I have a problem to group my data (years) in 10 years classes. For example
for year
year decade
1598 1590-1600
1599 1590-1600
1600 1590-1600
1601 1600-1610
---
my is like this>
[1] 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611
1612
[16] 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626
1627
[31] 1628 1629 1630 1631 1632 1633
2006 Dec 05
1
Surveys ans missing values
Hello,
I still apologise if the question i ask is naive. I would like to use R
instead of usual softs (SAS, Stata) or at list to do things that the others
do not. As a consequence I am trying to get familiar with R, and i am
astonished because it does not seem to do things that are easy to do on
other softs.
I have got data with missing values (I am working on a questionnaire filled
by students)
2008 Jun 09
1
FX ruby program error EOF
Since a week or so I am getting this error in a program which has been
running fine for 6 months or so.
I have a hard time running debug on this error and finding the cause. As
it seems that the error is in the middle of fxruby and not in my
application.
I click on button1 - the first time every works perfect. Handling the
next record, pressing button1 leads to this error.
Any help is
2006 Oct 18
1
lmer- why do AIC, BIC, loglik change?
Hi all,
I am having issues comparing models with lmer. As an example, when
I run the code below the model summaries (AIC, BIC, loglik) differ between
the summary() and anova() commands. Can anyone clear up what's wrong?
Thank you!
Darren Ward
library(lme4)
data(sleepstudy)
fm1<-lmer(Reaction ~ Days + (1|Subject), sleepstudy)
summary(fm1)
fm2<-lmer(Reaction ~ Days +
2010 Nov 25
1
coxph strange result
The following fit does not make sense to me, please, correct me if I have a logical error.
> moddowsn
Call:
coxph(formula = Surv(start, stop, resp) ~ sn + matfac2, data = coxsn1,
method = "efron")
coef exp(coef) se(coef) z p
sn2 0.0497 1.051 0.02030 2.450 1.4e-02
sn3 -0.0532 0.948 0.02038 -2.610 9.0e-03
sn4 -0.0410 0.960
2010 Aug 20
1
Surface generated as product of two curves
I have the following data table:
[,1] [,2] [,3] [,4] [,5]
[1,] 2575 1927 1754 581 354
[2,] 1156 810 730 541 237
[3,] 417 297 199 125 110
[4,] 281 132 132 47 58
[5,] 152 84 87 54 19
Each column represents a time interval expressed in nano-seconds
Each row represents an energy interval expressed m=n MeV
Each table value represents the average gamma rays intensity
2008 Aug 12
3
aligned memory allocation in C
Hi,
I'm currently R porting SF Mersenne Twister algorithm of Matsumoto and
Saito. To get the full power of their code, I want to use their
fonction fill_array32 which need aligned memory. That is to say I need
to use the C function memalign on windows, posix_memalign on linux and
classic malloc on Mac OS. In 'writing R extenstion', they recommand to
use R_alloc function to
2008 Aug 12
3
aligned memory allocation in C
Hi,
I'm currently R porting SF Mersenne Twister algorithm of Matsumoto and
Saito. To get the full power of their code, I want to use their
fonction fill_array32 which need aligned memory. That is to say I need
to use the C function memalign on windows, posix_memalign on linux and
classic malloc on Mac OS. In 'writing R extenstion', they recommand to
use R_alloc function to