Displaying 20 results from an estimated 2000 matches similar to: "loop, pipe connection, output objects"
2006 Aug 02
1
loop, pipe connection, quote/unquote
Hi all,
I have the following problem.
Inside R, I am trying to run a loop on several files.
The data are stored in these files in a peculiar way, thus, at the same time I load the data, I would like to invoke a utility. I do this with "pipe". (The utility I am using is gbget from the package gbutils. It works correctly from shell, and it is not the problem.)
The problem is that from
2005 Oct 13
6
shell scripts in R
Hi,
How can I execute some scripts from within R.
I have a large data file which I process (for instance with gawk, but not
only) before performing some statistics.
I would like to do this in R, so that I do not have to save many data files
and then making analysis on them (which proved to be unefficient)
Thank you
Marco Grazzi
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:
2010 Jun 16
2
error message stops "for" command
Hello all,
I am using a for statement to run a loop in R but I get an error message and
the loop stops. I need that the loop continues til the end. I know I can use
the NEXT command but I don“t know how the sintax woul be for this particular
situation.
Any suggestions?
Thanks,
Diana Buitrago
[[alternative HTML version deleted]]
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
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
2006 Apr 07
1
transfer call after advise
i am developing a web application to manage callcenter, i will shortly
release it on sf.net
this is my problem:
i will grant to users the possibility to transfer calls to other users
using a web interface,
for example if SIP/200 is talking with SIP/400 who wants to transfer
the call to SIP/500 i use this commands with manager API:
Action: Redirect\r\n
Channel: SIP/200-sads\r\n
ExtraChannel:
2004 Dec 26
1
Bug in miniR installation (PR#7448)
While installing the windows miniR programm the setup wizard looks for
the MINIR-1.bin, but the downloaded file is named MINIR_1.bin. In
consequence installation aborts. The user can fix this bug by changing
manually the dash of the file name. Please, make sure that both the
setup wizard and the .bin refer to the same sintax.
Thanks!
Luis Frank
2009 Aug 20
1
problems with RODBC, sqlQuery
Hello,
Im trying to get a Oracle database to R, but I'm having problems with most
of SQL sintax. Suppose that Im trying to bring a table "TABLE" with columns
"COL1","COL2",.. from schema "SCHEMA". What am I doing wrong?
library(RODBC)
channel<-odbcConnect("xxx",uid="xxx",pwd="xxx")
sqlQuery(channel, "select * from
2010 Nov 02
1
subset a data.frame
Hello List,
this should be simple, but cannot figure it out. I am trying to subset a data.frame like this:
> data4
users time
1 user5 2009-12-01 14:09:58
2 user1 2009-12-01 14:40:16
3 user8 2009-12-04 08:18:37
4 user6 2009-12-04 08:18:37
5 user83 2009-12-04 08:18:37
6 user82 2009-12-04 08:18:37
7 user31 2009-12-04 08:18:37
8
2008 Jan 18
2
validate mac address field
Hi to all,
i''d like to insert a validation inside my model about a mac address
field.
I''ve used this sintax but it''s not working.
validates_format_of :mac_address, :with =>
/^((?:[-a-f0-9])+(?:[-a-f0-9])+(?:[-a-f0-9])+(?:[-a-f0-9])+(?:[-a-f0-9])+(?:[-a-f0-9]))$/i,
:on => :create,
2006 Jul 13
6
Migrations + foreign keys
Hi all,
In the AWDR author use the execute method to declare foreign keys:
execute "alter table.... add constraint.... foreign key...."
Is there a ruby sintax to declare a foreign key in a migration class?
--
Posted via http://www.ruby-forum.com/.
2008 Jul 15
2
Row Sum, exclude positive values
Hello,
I'd like to sum the values of a row from the first negative number (FN) to
the last negative number (LN), but not add any positive values to the sum.
Then apply this to each row of the data frame.
For example if I have a dataframe with Row 1 values
DF = (4, 3, 2, 1, 0, -1, -2, -3, -2, 2, 1, -1, -2, -3, -2, -1, 1, 2)
I would like to sum the numbers from column 6 to column 16, but not
2003 Jan 28
5
pam_mkhomedir.so
where and how can i call this module ?
is it in /etc/pam.d ? how is the sintax ?
i'm a suse linux user..
thanx !
2004 Sep 11
1
help in building a function
hello,
i'm new in writting functions in R. I read the R-help manuals but still
couldn't get it right.
The problem is:
I have data on 16 categorical variables for 335 individuals. the data are
lines for individuals and columns for variables.
I want to calculate the correlation between two variables using a formula
given by Agresti for ordinal categorical variables.
I have to calcule the
2002 Jul 03
1
Samba with revalidate, posibile bug!
Hello Samba experts,
I have a simple problem: i tried to use according to ch06_03.html manual
page, directive revalidate in smb.conf config file.
In smb.conf, i use directive security = share, but for a particular
share (grant aces with user and pass) i want to use revalidate = yes
option. The problem is that this feature is not working!
1. i used testparm to check the smb.conf file, and it