Displaying 20 results from an estimated 2108 matches for "blah".
2009 Apr 21
1
line wrap in R console under windows
...do so, even though I have used the Rgui Configuration
Editor to set the Console cols at 80 and the Pager cols at 80.
Please tell me how to set it up so I have word wrap.
Just to be clear: in older/other R versions, console input is wrapped
at 80 cols and so you have something that looks like
> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah
Instead of what I see, which is
> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah b...
2011 Aug 25
2
replicate lines of data frame
...am trying to figure out how to accomplish this. I think that I need
to use rep(my.df, each=6) but it does not quite work.
This is the sample data frame
"col1" "col2" "col3" "col4" "col5" "col6" "col7"
foo bar 1 blah blah blah blah
foo bar 2 blah blah blah blah
foo bar 3 blah blah blah blah
......
......
I need to change it into this:
"col1" "col2" "col3" "col4" "col5" "col6" "col7"
foo...
2013 Apr 04
6
replacing mkdir -p
...instead you use an exec resource and call mkdir -p.
Using an exec resource does not generate an File resources so autorequire
does not work.
I didn''t like this, I wanted to be able to once specify a path and have
puppet do that autorequire as needed.
Something like:
path {"/blah/blah/blah/and/blah":
}
In order to make this happen I would have to manually define each file:
file {"/blah/":
ensure => directory,
}
file {"/blah/blah/":
ensure => directory,
}
file {"/blah/blah/blah/":...
2009 Jan 12
1
Is -R --link-dest really hard to use, or is it me?
...st are different (since, again,
in real life, they're on different filesystems), but that all copies
of foo in either src or dst (so far) share the same inode. The A, B,
and C directories correspond to individual hosts.
18:45:42 ~/H$ find . -name "foo" -ls
84420 4 -rw-r--r-- 2 blah blah 4 Jan 11 18:43 ./src/a/1/foo
84420 4 -rw-r--r-- 2 blah blah 4 Jan 11 18:43 ./src/a/2/foo
84426 4 -rw-r--r-- 1 blah blah 4 Jan 11 18:43 ./dst/a/1/foo
18:45:46 ~/H$ ~/rsync-3.0.5/rsync -aviH --link-dest=../1 src/a/2/ dst/a/2/
sending incremental...
2007 Jun 22
11
Nicer failure message formatting
...y tools around that make rspec''s failure messages easier
to read?
unit_diff from ZenTest doesn''t seem to work - unless I missed something.
A simple but very helpful improvement would be to use more line-
breaks, e.g.
Current output:
expected "this is a very long string blah blah", got "this is a very
very long string blah blah" (using ==)
Easier to read:
expected:
"this is a very long string blah blah"
got:
"this is a very very long string blah blah"
(using ==)
Comments?
Tom
2006 Mar 13
3
"./blah/blah" vs. "/blah/blah"
Hello,
Earlier in my rails application, I was using the convention of writing the
following to refer to templates and/or views in the view folder.
"./blah/blah"
But in the Edge rail, it doesn''t work and the page doesn''t shows any output
there is no error in the development log as well. But changing the above to
"/blah/blah" seems to fix things.
Was I wrong in using the earlier convention or is something else amiss?...
2008 Jun 05
5
vector comparison
..., but I must have somehow missed it in the
manuals.
I have two vectors, often of unequal length. I would like to compare
them for identity. Order of elements do not matter, but they should
contain the same.
I.e: I want this kind of comparison:
> if (1==1) show("yes") else show("blah")
[1] "yes"
> if (1==2) show("yes") else show("blah")
[1] "blah"
>
Only replace the numbers with for instance the vectors
> a = c("a")
> b = c("b","c")
> c = c("c","b")
Now, I realize...
2003 Dec 06
2
unixODBCget/put/del/deltree
-- Executing unixODBCput("SIP/10-cc1b", "BLAH/blah=bkw") in new stack
-- unixodbcput: family=BLAH, key=blah, value=bkw
-- Executing unixODBCput("SIP/10-cc1b", "BLAH/blah=bk2") in new stack
-- unixodbcput: family=BLAH, key=blah, value=bk2
-- Executing unixODBCget("SIP/10-cc1b", "testingget=BLAH/blah"...
2010 Feb 19
2
Problem with assert_redirected_to
...ng to get the tests to run.
In the functional test every time the assertion ''assert_redirected_to'' is
called I get the following error:
test_should_update_venue(VenuesControllerTest):
NoMethodError: undefined method `[]'' for
#<Enumerable::Enumerator:0x102f747e0>
/blah/blah/blah/project/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/string/access.rb:43:in
`first''
/blah/blah/blah/project/vendor/rails/actionpack/lib/action_controller/assertions/routing_assertions.rb:131:in
`recognized_request_for''
/blah/blah/blah...
2009 Feb 24
2
Displaying line breaks & paragraphs using 'simple_format' ?
Hi there,
I need to:
1. STORE a text of the below format in a (MySQL) database (using a
''textarea''), and then
2. RETRIEVE & DISPLAY it in exactly the same format (meaning: keeping
all paragraphs/line breaks).
The intended text format looks like this:
***
Blah blahblah blah blah blahblah blah blah
blahblah blah blah blahblah blah, blah
blahblah. <- NEW PARAGRAPH
Blah blahblah blah blah. <- LINE BREAK
Blah blahblah blah blah blahblah blah blah
blahblah blah blah blahblah blah, blah
blahblah.
***
Until now:
- the text is stored in exa...
2008 Aug 12
1
sieve - Sendmail process terminated abnormally, exit status 70
...once a day to a same sender
:days 1
:subject "Out of office reply"
# List of recipient addresses which are included in the auto replying.
# If a mail's recipient is not on this list, no vacation reply is
sent for it.
:addresses "user at example.com"
"blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah
blah blah blah,
user at example.com";
-------------------------------------
If I comment out the "include :personal...
2010 Feb 22
3
gsub patterns from vector elements w/out loop?
Dear list,
I have two vectors:
x <- c("one","two")
y <- paste(rep(x,2),"blah")
I want to replace all occurrences of each element of x in y with
something else, so that y looks like this:
y
[1] "something else blah" "something else blah" "something else blah"
[4] "something else blah"
I can do this using a loop:
for ( i in 1:l...
2008 Aug 15
1
Constructor blah() vs. as.blah()
When should we use one versus the other? If I'm designing an S3 class
"blah", should I just implement
blah <- function(x, ...) UseMethod("blah")
and then a bunch of blah.whatever() functions, including blah.default()?
Or should I do
as.blah <- function(x, ...) UseMethod("as.blah")
with a bunch of methods for it? Or do both?
Jeff
2010 Jun 22
4
seek() and gzfile() on 32-bit R2.12.0 in linux
...t; zz <- file("ex.data", "w") # open an output file connection
> cat("TITLE extra line", "2 3 5 7", "", "11 13 17", file = zz, sep =
"\n")
> cat("One more line\n", file = zz)
> close(zz)
> blah = file("ex.data", "r")
> seek(blah)
[1] 0
>
> zz <- gzfile("ex.gz", "w") # compressed file
> cat("TITLE extra line", "2 3 5 7", "", "11 13 17", file = zz, sep =
"\n")
> close(zz)
&...
2009 Oct 13
2
Single Table Inheritance (STI) Broken: NameError
...ow I''m getting NameError: uninitialized constant when accessing a
child models that inherits form the parent model. However, if I access
the parent model first, then the child model is resolved.
What am I doing wrong? My steps are below...
Thanks,
Francis.
> ./script/generate model Blah type:string
class CreateBlahs < ActiveRecord::Migration
def self.up
create_table :blahs do |t|
t.string :type
t.timestamps
end
end
def self.down
drop_table :blahs
end
end
> rake db:migrate
== CreateBlahs: migrating
=========================================...
2005 Mar 01
1
Two problems building a package
...tails section of one of my .Rd files and would like to
check that I've coded them correctly in the documentation before submission.
So far, my html and latex docs don't contain a details section, even though
they contain all other recent changes. My detail section looks like this:
\details{blah blah blah
\deqn{blah = Blah}{%
blah = Blah}
where \eqn{blah}{%blah} = frequency of \emph{b} in Blah.
Blah blah blah.
}
Any help would be greatly appreciated.
Cheers,
Kurt Wollenberg, PhD
Tufts Center for Vision Research
New England Medical Center
750 Washington St, Box 450
Boston...
thunderbird not receiving new incoming mail: Timeout while waiting for lock for transaction log file
2011 Jun 12
2
thunderbird not receiving new incoming mail: Timeout while waiting for lock for transaction log file
...1.10 for OSX 10.6.7
and I am finding that new imap mail is not coming into my INBOX folder
on thunderbird.
there is an error message "Timeout while waiting for lock for
transaction log file" in the syslog
here is my INBOX .imap dir
~/mail/.imap/INBOX$ ls -l
total 75100K
-rw------- 1 blah blah 1462024 Jun 11 20:17 dovecot.index
-rw------- 1 blah blah 75153408 Jun 11 20:17 dovecot.index.cache
-rw------- 1 blah blah 1464 Jun 11 20:17 dovecot.index.log
-rw------- 1 blah blah 195812 Jun 11 17:23 dovecot.index.log.2
what is the best way to troubleshoot this problem? what else ca...
2000 May 18
2
SSH v2 known-hosts problem.
When I connect from machine A to machine B, using ssh protocol 2, both
running openssh2.1.0, there is a problem with comparing server DSA
public keys to ~/.ssh/known_hosts2.
The first time, it says
The authenticity of host 'B' can't be established.
DSA key fingerprint is blah-blah-blah
Are you sure you want to continue connecting (yes/no)?
If I type 'yes', it gets added to ~/.ssh/known_hosts2.
(as it should). An entry gets added like:
B,1.2.3.4 ssh-dss blah-blah-blah
However, if I disconnect and connect again, it still says:
The authenticity of host 'B...
2006 Jan 04
7
<% if ... -%> What is this?
I seen some RoR code that went like this:
<% if ...blah, blah... -%>
.. blah, blah
<% end -%>
What are the minus signs for in the if statement? Cannot seem to find
anything about this, and searching on "-" in this context is hard to get
anything meaningfull back.
Thanks,
- Mark
--
Posted via http://www.ruby-forum.com/.
2009 Apr 22
2
Exporting objects plotted with plot3d() - rgl package
...Configuration
> Editor to set the Console cols at 80 and the Pager cols at 80.
>
> Please tell me how to set it up so I have word wrap.
>
> Just to be clear: in older/other R versions, console input is wrapped
> at 80 cols and so you have something that looks like
>
>> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
>>
> blah blah blah blah blah blah blah blah blah blah blah blah blah blah
> blah blah blah blah
> Instead of what I see, which is
>
>> blah blah blah blah blah blah blah blah blah...