Displaying 20 results from an estimated 3000 matches similar to: "How to define a multi line comment"
2008 Feb 21
4
undefined method `save' for :Array
hi all
when i m trying to save my tags.this error s cmng........cn anybody
help me to how to save the array
error depicting = undefined method `save'' for []:Array
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2011 Feb 23
3
Using string to call/manipulate an object
I am using getSymbols function from quantmod package to get price data from
internet.
Currently I have:
my.ticker <- "IBM"
getSymbols(my.ticker,src="google")
This creates an xts object named my.ticker which contains historical price
data for IBM.
How can I call and manipulating this xts object using my original string
my.ticker?
I want to do:
colnames(my.ticker) <-
2011 Mar 10
2
using lapply
I have a function with the follow signare:
apply.strategy(instr, strat)
where instr and strat are both objects of classes instrument and strategy
respectively.
I want to apply this function to a list that holds objects of the class
instrument.
Currently I am doing this by explicit looping:
for(i in length(instr.list) ) {
apply.strategy(instr.list[[i]], my.strat)
}
Is it possible to
2006 Feb 28
6
File_column, RMagick, and watermarking
I''m working on a photo gallery and I''m using File_column to handle the
uploads of the files and create my thumbnails, but does anyone here have
any idea how to have a watermark (opaque text maybe) placed over one of
the versions? Any ideas on how to go about this would be great. Even if
it''s just straight RMagick code, that would be fine too.
Thanks in advance for the
2006 Aug 04
2
Sweave special token \\ from R to latex
Dear helpeRs,
I would like to specify a newline command in R and pass it to latex
via Sweave such that it corresponds to latex' \\ command. But that
doesn't seem to be possible. If I Sweave the \n character, it just
makes a new line in latex but not the \\ command.
Is there a way such that the following code would result in latex in
blablabla \\ blablabla on different line
2007 Feb 20
5
Create a hyphen-separated set of letters derived from a string - How to?
Hi,
This is such a trivial programming issue, but I can''t find a way to
transform, say ''abc'' to ''a-b-c'' without using pattern matching.
Any ideas?
Thanks in Advance,
Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post
2011 Feb 24
2
if statements on vectors
I have two vectors: both have possible values of 1,-1, or 0
trend1 <- c(1,1,1,1,1,1,-1,-1,-1,-1,-1,-1)
trend2 <- c(1,1,1,1,1,1,1,1,1,1,1,1,1,1,)
i want to create a third vector that is conditional upon these two vectors:
if (trend2 == 1 && trend1 == 1) {position <- 1}
elseif (trend2 == -1 && trend1== -1) {position <- 1}
else {position <- 0}
based on this two
2004 Nov 27
3
Problem with voicemailsystem
Hi!
First of all, Im posting from Austria. Alle respondes of my server are
translated to german, and if my question ist not in good english please
forgive me. :-)
Were runnig an asterisk und searching for a way to fix a
question from one of our clients.
After calling the number and no response of our client the voice-box
gives response. Thats ok... but after the voice-box, which ist self-
2005 Jun 15
1
source() chdir does not work (PR#7940)
Full_Name: Alex Galakhov
Version: 2.1.0
OS: Linux (Debian)
Submission from: (NULL) (195.19.131.68)
After software upgrade source() does not work properly anymore. It completely
ignores the chdir= parameter. This is because is.character(file) is always false
after the assignment file<-file(file).
The fix is (written by hand in diff-like syntax, hopefully, you'll understand
it):
2003 Apr 24
1
intermittant problem with samdump and vampire
Hello
I am running a net work with a NT4PDC a NT4 BDC and attent to add samba
BDC.
I am following the brief section 28 of the Samba-Howto collection for
samba head/3.0.
* Adding the samba server as a BDC from NT server manager seems OK
* Getting, recording domain sid is ok (see below)
> rpcclient NT4PDC -U Administrator
password:
> lsaquery
domain IMAGERIE has sid blablabla
> net
2017 Aug 28
2
SSL Cert Woes
> > > > > > > > Hi Folks,
> > > > > > > >
> > > > > > > > I’m having a problem getting a the SSL cert file formatted
> > > > > > > > just like icecast wants… I’m running 2.4.2 … and it
> > > > > > > > doesn’t seem to want to use my combined key + cert chain
> > > >
2016 Aug 30
3
AD, ACLs on LDAP objects not replicated?
Hi all,
Playing with delegation today we delegated rights to some user on some OU
and its contents for it can modify users inside that OU and children.
We used "advanced view" in ADUC then "properties" on our delegated OU, then
"security" tab, and finally we gave rights to our user.
Perhaps this process is not correct but we believe it is a valid process to
delegate
2017 Aug 28
2
SSL Cert Woes
> > > > > > > > > > Hi Folks,
> > > > > > > > > >
> > > > > > > > > > I’m having a problem getting a the SSL cert file
> > > > > > > > > > formatted just like icecast wants… I’m running 2.4.2 …
> > > > > > > > > > and it doesn’t seem to want to use
2005 Jul 20
1
how to define a port range?
hi,
i´am new in tcc (tcng). i try to define my qos for VoIP-Services.
For this i wantto define a class for a port range 10000 till 15000.
how is the right way?
this down works:
class (<$voip>) if tcp_sport => 10000 || tcp_sport <= 10000 ;
are there any examples of real installations - maybe including VoIP,
HTTP and P2P services?
regards
thorsten gehrig
2009 Oct 15
1
"Complex?" import of pdf files (criminal records) into R table
Hi there,
I'm facing the decision if it would be possible to transform several
more or less complex pdf files into an R Table-Format or if it has to be
done manually. I think it would be a impudent to expect a complete
solution, but I would be grateful if anyone could give me an advice on
how the structure of such a R-program could look like, and if it's
possible in general.
Here
2004 Jan 01
1
.ssh/: Is a directory
I'm depending on scp to create the .ssh directory (which is does) but it
can't use the directory it just created in the current session thus the
"error" message. I would like to run the command just once if possible :)
Is it possible I could get a patch if this is changed?
[root /root]# ls -la
total 84
drwxr-x--- 9 root root 4096 Dec 17 19:18 .
drwxr-xr-x 16
2017 Aug 28
3
SSL Cert Woes
> > > > > > Hi Folks,
> > > > > >
> > > > > > I’m having a problem getting a the SSL cert file formatted
> > > > > > just like icecast wants… I’m running 2.4.2 … and it doesn’t
> > > > > > seem to want to use my combined key + cert chain no matter in
> > > > > > what order I put it.
>
2011 May 05
3
What does Markdown do with HTML comments? Recommendation on Markdown file extension?
Hi there!
(1.)
It may sound awkward, but I would like to use comments in Markdown texts.
According to the rule that proper HTML works as HTML, I should be able to
use
<!-- blablabla -->
But the converters I use do strange things with comments. Is there an
official rule about that?
(2.)
I wonder if there is a recommended standard file extension for Markdown
source files.
For my
2017 Jan 17
2
Dynamic autoexpunge for IMAP folders
So, returning from the LDAP userdb does not change situation.
As I said, I would to set folder names dynamicaly, without setting
up a mailbox in advance.
Here the problem is discussed
http://www.dovecot.org/list/dovecot/2013-August/092023.html
but no solution is found apart from defining the namespace in the
static config, see here
http://www.dovecot.org/list/dovecot/2013-August/092053.html
As
2018 Jan 24
2
Quota plugin creates IMAP folder
Well, I have to scrub most data from the output, but it is what I
would have expected
# doveadm user <user>
field value
...
home /path/to/home
mail maildir:~/Maildir
...
On Wed, Jan 24, 2018 at 12:30 PM, Sami Ketola <sami.ketola at dovecot.fi>
wrote:
>
>
> > On 24 Jan 2018, at 13.21, Thorsten Hater <thorsten.hater at gmail.com>
> wrote:
> >
>