Displaying 20 results from an estimated 300 matches similar to: "extraction of sub-matrix by name"
2009 Sep 04
3
asking for suggestions: interface for a C++ class
Dear All,
I would like to have an advice for designing an R library, and thought
that R-devel may be the best place to ask given so many people who are
highly expert in R are around.
We are at an early stage of designing an R library, which is
effectively an interface to a C++ library providing fast access to
large matrices stored on HDD as binary files. The core of the C++
library is
2007 Sep 21
11
given_it
Hello,
Just decided to check whether I am doing something that makes sense
or not. I was thinking about how cool would it be to re-use examples
(just like we reuse story scenarios with GivenScenario). I was not
sure if this possibility already exists in rspec (and, honestly, was
lazy to check), so I have created this helper:
def given_it(name)
example_definition =
2007 Mar 27
1
Aspects
I''ve become very fond of Yurii Rashkovskii''s "aspects". For such a
simple change they make it a LOT easier to navigate, read and verify
specs. Are there any plans to include something like this in RSpec?
Ashley
2011 Jan 28
1
generating HTML help pages
Dear All,
I need to convert all Rd help pages for my package to HTML format in
order to serve these on our web-server. Ideally, I would like to do that
as "all docs in single page" and also index page + one html page per Rd
file.
Looking through documentation the only clues I could find were
* R CMD Rdconv --type=html FILE, which does not produce cross-links,
does not
2007 Jul 26
6
response.should_not redirect_to
Hey,
May be it is just too deep night over here and I''m missing something
though I got this failure on {{{response.should_not redirect_to}}}:
''QueuesController should allow authenticated user to access ''show''''
FAILED
Matcher does not support should_not.
See Spec::Matchers for more information
about matchers.
Also I''ve found this in
2019 Apr 21
5
Close PRs on GitHub repo
There is already 10 PRs sent to GitHub repo.
But they all are useless, in every PR people are being informed
that they should send patches to http://reviews.llvm.org/
2007 May 02
13
RSpec 0.8.2 pain, missing spec/rails?
Hi. I''m upgrading a project from an 0.8.0 pre-release gem to 0.8.2.
I''ve installed the 0.8.2 gem, and the rspec_on_rails 0.8.2 plugin:
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_8_2/rspec
When I try to run my specs though, I get the below error. It''s as if the
spec_helper cannot find "spec/rails". I''ve noticed that
2010 Mar 14
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* apcluster (1.0.1)
Ulrich Bodenhofer
http://crantastic.org/packages/apcluster
The apcluster package implements Frey's and Dueck's Affinity
Propagation clustering in R. The algorithms are analogous to the
Matlab code published by Frey and Dueck.
* BioPhysConnectoR (1.6-1)
Franziska Hoffgaard
2007 Feb 16
0
rspec-ext 0.0.1
Hello,
I''ve just released rspec-ext 0.0.1 (http://rubyforge.org/projects/
rspec-ext/)
It is gem-installable (rspec-ext gem)
It is simply two _experimental_ (and may be not well tested)
extensions of rspec as for now:
* specify_negatively (http://rashkovskii.com/articles/2007/1/25/rspec-
specify_negatively, http://rashkovskii.com/articles/2007/2/3/
specify_negatively-updated)
*
2007 Jan 02
0
acts_as_authenticated plugin rspecs
Hello,
Just thought it could be interesting for some of you. I''ve written
rspecs for acts_as_authenticated plugin.
http://rashkovskii.com/articles/2007/01/01/rspec-on-rails-
acts_as_authenticated
I''m not sure they are 100% ok, but they seem to be :)
Thank you,
Yurii.
2007 Jan 25
0
specify_negatively
Hello,
I have played a bit on a negative specification idea:
http://rashkovskii.com/articles/2007/1/25/rspec-specify_negatively
What do you think about it?
Yurii Rashkovskii
Technology Director
Railsware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070125/12c4f473/attachment.html
2007 Jun 23
4
inverse examples? (should fail)
The new "pending" example feature reminds me of a feature I''ve been
bouncing around in my head, to aid in refactoring. Often, when I''m
changing existing behaviour, I know that certain aspects of the old
behaviour should change. Imagine changing the "it" method to perhaps
"not" or "old" or "removed"... The behaviour would be to
2013 Jan 10
1
how to generate a matrix by an my data.frame
Dear All
It is a little hard to give a good small example of my question,so I
will show the full data on the bottom and the attachment.Maybe some
one could tell me an appropriate way
to show it.I'm sorry for the inconvenience.
Q:How to generate a 53*53 diagonal matrix by my data
Some problems confused me are that:
1.Since it is a diagonal matrix,I have tried to transform col1 and
col2 to
2005 Feb 11
8
chan_capi and asterisk
Hello, list a have a problem i can start asterisk, i get
the fowlling error:
[chan_capi.so] => (Common ISDN API for Asterisk)
== Parsing '/etc/asterisk/capi.conf': Found
Feb 11 13:50:36 NOTICE[2535]: chan_capi.c:2636 load_module:
CAPI not installed!
Feb 11 13:50:36 WARNING[2535]: loader.c:345
ast_load_resource: chan_capi.so: load_module failed,
returning -1
Feb 11 13:50:36
2005 Jan 05
8
Replacing all NA values in a matrix
OK, dumb question, and it is probably in the docs somewhere, but after
12 months working with R and quite a while looking at the docs, I still
don't know (or have forgotten) how to replace all NA values in a matrix
at once with some other value. I can do it column by column using
is.na(), but I can't figure out how to do it for the whole matrix. My
apologies, I am ashamed ;-)
Michael
2016 Feb 01
2
[Bug 2535] New: Undefined behaviour of *printf in DISPLAY handling code
https://bugzilla.mindrot.org/show_bug.cgi?id=2535
Bug ID: 2535
Summary: Undefined behaviour of *printf in DISPLAY handling
code
Product: Portable OpenSSH
Version: -current
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
2004 Nov 16
3
Simple plot() question
Hi
First a simple question to do with plot(). How do I change the x-axis
labels on a plot?
For example, I am plotting each row of a matrix, and I want each row to
be a line on my graph. Simple really. Eg:
plot(sg[1,], type="l")
When I do this, the x-axis is labelled 1:38, as I have 38 columns in my
matrix. When I do:
plot(sg[1,order(sg[1,])], type="l")
Ideally I would
2011 May 31
2
Samba serving sshfs shares: can't delete files
Hello!
I have samba share on my sshfs-mounted folder. All works just fine
except I can't delete files from sshfs unless they are in 0777 chmodded
directory. Even if that files were putted trough smbclient. I can read
files, write files (regardless their directory permissions) but not
delete them.
Here is my share config:
[myshare]
comment = shre over sshfs
path = /home/kli/work/remotes/dev
2005 Jan 25
2
Rd problems when converting DVI version
Hi
Running R v2.0 on SuSe linux 8.2.
I'm trying to build a package (which built perfectly on Windows...) on
Linux, and I ran:
R CMD check mypackage
I got:
* checking mypackage-maual.tex ... ERROR
LaTeX errors when creating DVI version
This typically indicates Rd problems
OK, there are no problems with my Rd - I got 3 warnings but they were
all expected, and the whole package builds find
2006 Aug 24
1
Strange permissions problems
I had this problem some last year and never got it figured out. Now it
is bugging me. It seems that sometimes when a student writes his/her
file to a directory, it will not keep the correct group. It puts
his/her main group as the group owner and that fouls things up. Here is
what I have.
Unix Permissions
/school 3777 admin.teacher
/school/bhs 3777 admin.teacher
/school/bhs/reese