Displaying 20 results from an estimated 100 matches similar to: "Printing the loop number for each iteration"
2009 Feb 22
3
Error in var(x, na.rm = na.rm) : no complete element pairs
Hello all,
I'm trying to calculate the standar desviation and I'm using the function sd(x,na.rm=TRUE) and I have this error:? Error in var(x, na.rm = na.rm) : no complete element pairs . Why happen this?, What can I do to solve it?. x is list of three numbers which I have from a table.
Thanks so much from Spain
Carlos Morales Diego
2012 Feb 09
1
Constraint on one of parameters.
Dear all,
I have a function to optimize for a set of parameters and want to set a
constraint on only one parameter. Here is my function. What I want to do is
estimate the parameters of a bivariate normal distribution where the
correlation has to be between -1 and 1. Would you please advise how to
revise it?
ex=function(s,prob,theta1,theta,xa,xb,xc,xd,t,delta) {
expo1=
2005 Jul 25
1
Fortran function name not in load table
Using R 2.0.1 on Windows XP, I am getting an error
msg:
Error in .Fortran("conic", nxy = nxy, npt = npt, CP =
cp, EP1 = ep1, EP2 = ep2, :
Fortran function name not in load table
I am wondering if there is a way to see what function
names are in the load table? Maybe the function name
has been altered?
The first thing I do in my analysis script is to load
a DLL, conic.dll,
2015 Oct 08
3
PJSIP realtime: lots of problems
Hello,
I wonder if anybody is using PJSIP realtime in production environment?
I've started to play with it and encountered many problems.
Here's my config:
sorcery.conf:
[res_pjsip]
endpoint=realtime,ps_endpoints
extconfig.conf:
[settings]
ps_endpoints => pgsql,users,pjsip_endpoints_v
pjsip_endpoints_v is postgresql view.
1. The biggest problem: if I have small number of endpoints
2005 Aug 03
7
call fortran in R
Hello,
I used a mac G5, R.2.1.1, and G77 3.4.4 and I would like to use and
call a fortran subroutine.
The trouble is that it seems I am not able to correctly load the
compiled code.
Here is what I have done:
In the terminal this how I compiled my fortran code:
R CMD SHLIB ~/Desktop/Fortan_kmeans/kmeans3.f
There is the wrapper I have paste inside de kmeans3.f file:
c
2011 Dec 16
5
[Bug 8666] New: --debug=all9 fail
https://bugzilla.samba.org/show_bug.cgi?id=8666
Summary: --debug=all9 fail
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: chris at onthe.net.au
QAContact: rsync-qa at
2023 Aug 04
1
print only first level directory name when copying files
Fourhundred Thecat via rsync <400thecat at lists.samba.org> wrote:
> I am copying /mnt/foo to /mnt/bar/
>
> rsync --info=name1,del2 -rl /mnt/foo /mnt/bar/
>
> /mnt/foo contains deep directory structure, ie:
>
> /mnt/foo/aaa/
> /mnt/foo/aaa/somestuff/
> /mnt/foo/aaa/somestuff/file1
>
> /mnt/foo/bbb/
> /mnt/foo/bbb/someotherstuff/
>
2023 Aug 04
2
print only first level directory name when copying files
Hello,
I am copying /mnt/foo to /mnt/bar/
rsync --info=name1,del2 -rl /mnt/foo /mnt/bar/
/mnt/foo contains deep directory structure, ie:
/mnt/foo/aaa/
/mnt/foo/aaa/somestuff/
/mnt/foo/aaa/somestuff/file1
/mnt/foo/bbb/
/mnt/foo/bbb/someotherstuff/
/mnt/foo/bbb/someotherstuff/file2
I am not interested in details which individual files were copied, just
the main directory.
2002 Oct 30
1
restricting interfaces.
Hello,
I've got samba running on a FreeBSD box that has two interfaces, ep0
which is an external interface, and ep1 which is for internal use only. I
only want samba to listen on ep1 so if i'm ever portscanned port 137/139
will not show up as open on the external interface. I've added these
lines to the global section of my smb.conf file:
hosts allow=192.168.0.
2004 Aug 19
0
SIP reinvite code negotiation
Hi,
We're routing SIP calls through Asterisk and we want to
be able to reinvite calls without Asterisk performing
codec conversion.
We've performed the following test:
Asterisk has license for G.729 installed
sip.conf
[general]
context=default
autocreatepeer=yes
disallow=all
allow=alaw
allow=g729
canreinvite=yes
nat=no
We have configured two endpoints:
EP1, preferred codec order
2005 Mar 14
2
Install the RMySQL
Hi, I have some problem to install RMySQL package.
Could you help me?
I set up the path.
[root at ep2 library]# export PKG_CPPFLAGS="-I/var/lib/mysql"
[root at ep2 library]# export PKG_LIBS="-L/var/lib/mysql -
lmysqlclient"
[root at ep2 library]# R CMD INSTALL /home/younko/RMySQL_0.5-
5.tar.gz
I got this bunch of error message.
Please help me.
* Installing *source*
2023 Aug 04
1
print only first level directory name when copying files
Perry Hutchison via rsync <rsync at lists.samba.org> wrote:
> Fourhundred Thecat via rsync <400thecat at lists.samba.org> wrote:
>
> > I am copying /mnt/foo to /mnt/bar/
> >
> > rsync --info=name1,del2 -rl /mnt/foo /mnt/bar/
> >
> > /mnt/foo contains deep directory structure, ie:
> >
> > /mnt/foo/aaa/
> >
2011 Oct 05
4
SPlus to R
I'm trying to convert an S-Plus program to R. Since I'm a SAS programmer I'm not facile is either S-Plus or R, so I need some help. All I did was convert the underscores in S-Plus to the assignment operator <-. Here are the first few lines of the S-Plus file:
sshc _ function(rc, nc, d, method, alpha=0.05, power=0.8,
tol=0.01, tol1=.0001, tol2=.005, cc=c(.1,2),
2011 Apr 24
2
How to erase (replace) certain elements in the data.frame?
Hello R-world,
Please, help me to get round my little mess
I have a data.frame in which I'd rather like some values to be NA for the
future imputation process.
I've come up with the following piece of code:
random.del <- function (x, n.keeprows, del.percent){
n.items <- ncol(x)
k <- n.items*(del.percent/100)
x.del <- x
for (i in (n.keeprows+1):nrow(x)){
j <-
2009 Jul 21
1
Half Life 2: EP2 's not playable
I ran HL2 with Wine 1.1.26 by on OpenSolaris snv118. using P4C 2.4G, 2.5GB RAM, GF6200 (VRAM:256MB).
Compiling Wine with gcc-4.3.2 from these parameters:-O2 -march=native.
I had tried the settings to Win98, XP, 2K8; disable the audio driver(only OSS suppotts); Wine / MS DX; and Fullscreen / Window.
When I start the game, it response with a long time to my operation. the terminal mainly
2017 Jul 15
2
readLines without skipNul=TRUE causes crash
hello, the last line of the code below causes a segfault for me on 3.4.1.
i think i should submit to https://bugs.r-project.org/ unless others have
advice? thanks
install.packages( "devtools" )
devtools::install_github("ajdamico/lodown")
devtools::install_github("jimhester/archive")
file_folder <- file.path( tempdir() , "file_folder" )
tf <-
2017 Jul 15
4
readLines without skipNul=TRUE causes crash
hi, thanks Dr. Murdoch
i'd appreciate if anyone on r-help could help me narrow this down? i
believe the segfault occurs because there's a single line with 4GB and also
embedded nuls, but i am not sure how to artificially construct that?
the lodown package can be removed from my example.. it is just for file
download cacheing, so `lodown::cachaca` can be replaced with
`download.file`
2017 Jul 15
0
readLines without skipNul=TRUE causes crash
hi, i realized that the segfault happens on the text file in a new R
session. so, creating the segfault-generating text file requires a
contributed package, but prompting the actual segfault does not -- pretty
sure that means this is a base R bug? submitted here:
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17311 hopefully i am
not doing something remarkably stupid. the text file
2017 Jul 15
0
readLines without skipNul=TRUE causes crash
On 15/07/2017 7:35 AM, Anthony Damico wrote:
> hello, the last line of the code below causes a segfault for me on 3.4.1.
> i think i should submit to https://bugs.r-project.org/ unless others have
> advice? thanks
Segfaults are usually worth reporting as bugs. Try to come up with a
self-contained example, not using the lodown and archive packages. I
imagine you can do this by
2017 Jul 15
3
readLines without skipNul=TRUE causes crash
I am not able to reproduce this on a Linux platform:
#######################3
fn1 <- "/home/jdnewmil/Downloads/Microdados ENEM 2009/Dados Enem 2009/DADOS_ENEM_2009.txt"
sessionInfo()
## R version 3.4.1 (2017-06-30)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 14.04.5 LTS
##
## Matrix products: default
## BLAS: /usr/lib/libblas/libblas.so.3.0
## LAPACK: