Displaying 20 results from an estimated 4000 matches similar to: "error message stops "for" command"
2009 Sep 03
1
Export objects
<r-help@r-project.org>
Hi, R users,
How can I export an R object as a .txt file? As an example I have the result
from a regression and I need to save this object in a .txt file
ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14)
trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69)
group <- gl(2,10,20, labels=c("Ctl","Trt"))
weight <- c(ctl,
2007 Jun 12
4
write some custom values to CDR table
Hi,
I write the CDR of my Asterisk 1.2.17 server in MySQL database
using cdr_addon_mysql.so.
Now I'm trying to write some custom values to userfield column by
the SET(CDR(USERFILED)=SOME_TEXT) sintax, but nothing gets writeen in
MySQL cdr table!!
Why? I'm I skeeping something or what?
Taking a look at the URL:
2006 Oct 13
2
loop, pipe connection, output objects
Hi all,
I have the following -newbye- problem.
Inside R, I am trying to process a file and creating from it many files.
The file is organized in different columns, the second containing a code. I want to create as output objects, which contain only entries in a certain code range, and whose name contain the code itself.
Here is my attempt
indice <- (201:399)
for(i in indice){
data.i <-
2014 Jul 30
2
Fwd: SMB question
Hi, I sent you an email but now when I read it again, it looks like there
were some mistakes in it... Please ignore that and address only the
following message:
Hi,
I don't know if this is the right place to ask, but I really couldn't find
it anywhere on the web and if you could only provide me with a quick hint,
it would be really helpful!
I'm experiencing the following problem
2009 Aug 11
3
Problem with modifying a data frame
Hi All,
this could be a simple question but I am looking into modifying a data frame
using a "condition" without the need to loop over that data, would that be
possible?
I have tried the following
> x<-c(4,5,6,6,8)
> y<-c("a","b","b","b","c")
> data<-data.frame(x,y)
> data
x y
1 4 a
2 5 b
3 6 b
4 6 b
5 8 c
if
2004 Nov 16
2
help on EM Algorithm for bivariate normal
Hi,
I woul like to know if it is possible to have a "R code" to generate EM
Algorithm for a normal bivariate mixture.
Best regard,
S.F.
2003 Sep 24
3
Call transfert with dial plan
Hello,
As I have problems getting transfert call working with my grandstream
SIP Phones, I woul like to know if it is possible to do it with a proper
dial plan in exten.conf.
I haven't found any information about that in the docs.
Regards,
Daniel ANDRE
--
Daniel ANDRE (mailto:dandre@iris-tech.fr)
IRIS Technologies - http://www.iris-tech.com
Serveur kwartz - http://www.kwartz.com
2009 Jan 01
2
Ruby on rails API website suggestion
I would like to request a feature.. like: http://rubyonrails.org/function
and it
will search inside http://api.rubyonrails.org for the function and
show it.
Like PHP has.. http://php.net/basename
Example: http://rubyonrails.org/truncate and it will points to
http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#M001541
That woul be cool.
Thanks
2009 Jan 01
2
Ruby on rails API website suggestion
I would like to request a feature.. like: http://rubyonrails.org/function
and it
will search inside http://api.rubyonrails.org for the function and
show it.
Like PHP has.. http://php.net/basename
Example: http://rubyonrails.org/truncate and it will points to
http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#M001541
That woul be cool.
Thanks
2007 Oct 28
3
tc filter question
Dear all,
I have big question in my mind about "tc filter" sintax. If I give "tc -s -d
filter sh dev eth0" command, then the output is like below :
filter parent 1: protocol ip pref 1 u32
filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800 bkt
0 flowid 1:2 (rule hit 21553629
success 37907)
2003 Oct 21
3
BEGINNER: please help me to write my VERY simple function
Hi.
1)I have two variables: call a<-c(e.g.0,3,6,7...)
b<-c(e.g.6,8,3,4...)
I want to create a third vector z wich contain the
pairs values z<-c(0,6,3,8,6,3,7,4....and so on for each
pairs (a,b)).
There is a specific function?
How can i write my own function?
2)When i try to write a function and then i save it
like "function.R" file, i try to
2008 Jun 26
2
Read sas7bdat
Hi,
I was reading e-mail about one doubt that you were when you read files
.sas7bdat in R.
Now, I am with the same problem. But I don?t know how can i do that. I have
download de Sas Viewer and i am using this sintax in r:
> read.ssd("X:\\users\\Anresc07","que0411.sas7bdat")
SAS failed. SAS program at
C:\DOCUME~1\leandro\CONFIG~1\Temp\RtmpXR1Tid\file3d6c4ae1.sas
The log
2012 Aug 30
2
Which BUGS should one use?
Hello ALL!
Some times ago I started to learn and play with Bayesian stuffs. Many
advice use of WinBUGS for Bayesian inference Using Gibbs Sampler.
However, WinBUGS is discontinued, and now, development is under
OpenBUGS. I wasn't lazy, so I installed both and tried out. In more than
90% of cases they give comparable outcome. But in few cases I got
substantial differences. Recently, I read nice
2003 May 11
1
NLME - multilevel model using binary outcome - logistic regression
Hi!
I'm pretty raw when working with the R models (linear or not).
I'm wondering has anybody worked with the NLME library and dichotomous
outcomes.
I have a binary outcome variable that I woul like to model in a nested
(multilevel) model.
I started to fit a logistic model to a NLS function, but could not suceed. I
know there are better ways to do it in R with either the LRM or GLM wih
2012 Aug 09
1
maildir to sdbox offline conversion
Hi all. I've just installed dovecot v2.1 in a multihomed, multiinstance
setup, It took me two days to convert the old v1.1 configs, now everything
works like charm! But. :)
I have several maildir mailboxes, I decided to use the sdbox storage type
instead.
I ran into difficoulties using the dsync util.
My virtual users are in an OpenLDAP DB on a differnet machine, and I do not
have access
2014 Jul 30
1
Smb question
Hi,
I don't know if this is the right place to ask, but I really couldn't find
it anywhere on the web and if you could only provide me with a quick hint,
it would be really helpful!
I'm experiencing the following problem with the SMB file share protocol:
1. User1 logs into windows.
2. User1 loads a file (from a network share) and works on it
3. User2 logs into windows on a different
2006 Oct 24
1
exclude directory with wildcard ...
I want to exclude a directory including wildcards.
i.e.:
On my origin server I have a backup-dir
in
/data/web/backup-root-2006-10-10/
under which I have a backup of root
and I want to exclude this dir from being backed up.
what do I have to put in my "backup-excludes-file"
what i woul like is:
/data/web/backup*/
so if i make a new backup of my root called
2006 Apr 27
1
Find a word
Dear R users,
I have the following problem: I have an array with pasted words and I woul like to know the position of the vector that have another especific word.
Let make an example:
This tis the array:
words.array<-c("RedBall","PinkBall","YellowTable","BlueBall")
And I would like to know the positions its (words.array) that have the word
2009 Aug 14
1
Fwd: Re: rsyncd.conf chroot yes problem with symlink-ing
Ok it's now Solved !
In spite of trying all day long to figure it out what's wrong in my sintax
i could find, ...using a pencile and a pice of paper, combining all
commands parameters invoked so far and, came to the conclusion that -L does
not stand with -l , think that i couldn't find in any docs or faq so far.
Now, symlinks are being copied without a trouble.
Tnks Paul for
2005 Jun 04
1
How to quickly replace ',' with '|' in dialplans?
Finally I decided to rewrite my dialplans according to the right sintax,
that is
exten => someexten,priority,application(arg1,arg2,...)
should be
exten => someexten,priority,application,arg1|arg2...
Isn't there anybody skilled enough in regular expressions that could write
a quick Search 'n' Replace vi command, please?
TIA,
Alex