Displaying 20 results from an estimated 9000 matches similar to: "proposal for new FAQ entry?"
2011 Feb 06
1
Psych can't load LaTeX entities file
Hi there,
I wanted to use RedCloth with my RubyOnRails 3 application, but it seems
that RoR uses 1.9.2''s Psych by default as the YAML parser if available,
and Psych fails to load the LaTeX entities file:
====================================================================
#ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]
irb(main):001:0> Dir.pwd
=>
2009 Jun 10
2
Merge data frame and keep unmatched
Hi,
With two data sets, one complete and another one partial, I would like to
merge them and keep the unmatched lines. The problem is that merge() dosen't
keep the unmatched lines. Is there another function that I could use to
merge the data frames.
Example:
completedf <- expand.grid(alpha=letters[1:3],beta=1:3)
partdf <- data.frame(
alpha= c('a','a','c'),
2008 May 05
2
Character entry mismatch in the console window
Dear R users,
I have just de-installed my old R 2.4.1 and installed R 2.7.0. I
downloaded this version from the South African mirror, as I am currently
working in South Africa.
When trying to paste any of my old analyses into the console (I keep
them in word-documents), I get an error when I first try to load the
data with the following line (example):
lap.long.dist <-
2014 Nov 20
2
logwatch reporting
I just launched a new mailserver that is using dovecot. My previous
mailserver used courier-mail. I am expecting better things with this
new server, but I was use to some login information in logwatch that I
am not seeing now. For example I would get:
[IMAPd] Logout stats:
====================
User | Logouts | Downloaded | Mbox Size
2008 Jun 27
1
use of quotation marks
Dear R Users. I just discovered today a problem in the use of
quotation marks when I'm doing some programs in R. I'm using windows
vista environment.
The programs that I wrote in the University, made in Windows XP
machines run perfectly, but when I run those in my laptop with VISTA,
there are many errors. Those errors are due to the type of quotation
marks.
In the university the quotation
2007 May 01
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9649)
On Mon, 30 Apr 2007 bill at insightful.com wrote:
> On Tue, 10 Apr 2007 timh at insightful.com wrote:
>
> > I've created a .Rd file (below), then converted that to .sgml using
> > R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml
> > The output (shown below) is missing some of the sections:
> > arguments
> > seealso
> > examples
> > If
2011 May 31
1
Comment on build and INSTALL
Greetings,
I have noticed two possible small glitches with build and INSTALL.
First, when I run R CMD build latticeDensity, I get the following message:
*excluding invalid files from 'latticeDensity'
Subdirectory R contains invalid file names:
R
However, all the files end up in the zip file (or tar) just fine, and
neither INSTALL
2005 Apr 30
3
How to extract function arguments literally
Dear all,
One of my friends asked me if it is possible to extract actual R
function arguments literally (precisely, as strings). The reason is
simple. He feels sometimes awkward to attach quotation marks :-). What
he actually wants is to pass R command arguments to XLisp subroutines
(He has been an enthusiastic XLisp user for a long time and still tends
to use R as a wrapper to XLisp). Is it
2012 Jun 06
3
Removing Double Quotations After Using Cbind
Hi,
I am trying to process genomics data and the presence of both
characters and integers in an array is giving issues. The following is
an example:
> a<-array(c(2,2,"X",1:3,2:4),dim=c(3,3))
> b<-cbind(a[,1],a[,2])
With the output being:
[,1] [,2]
[1,] "2" "1"
[2,] "2" "2"
[3,] "X" "3"
Is there any
2007 Apr 30
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9645)
On Tue, 10 Apr 2007 timh at insightful.com wrote:
> I've created a .Rd file (below), then converted that to .sgml using
> R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml
> The output (shown below) is missing some of the sections:
> arguments
> seealso
> examples
> If instead I convert to .d (below), the same sections are missing,
> and the "note"
2008 May 11
1
Finding unmatched data between two dataframe using several factors
Hi R users
I am trying to find unmatched data from two dataframes. I would like to
find unmatched data based on several factors. For the following data:
dat1 <- data.frame(x = paste("A", 1:6, sep=""),
y = c("andy","bob","ciaran","dan", "eion",
"fred"))
dat1
dat2
2006 Aug 17
6
what did I do to my app? (Superclass mismatch?)
It was working before (as far as I can tell), but I freezed_edge and
now...
The first time I load this page, it works fine, the second time I get
the superclass mismatch, the third time (and any subsequent times ) i
get undefined method.
I think this means my class is getting loaded twice?
my model looks like this:
class Quotation < ActiveRecord::Base
has_many :price_breaks
has_many
2011 Feb 28
1
Logwatch reporting spamassassin messages as unmatched entries
I've recently switched to using spamassassin via a sendmail milter,
rather than using procmail to invoke it. This means that I get a number
of messages appearing in my maillog, and then being reported by logwatch
as unmatched entries.
An example of such a messages is:
Feb 27 04:33:09 quail sendmail[24780]: p1R4X46P024780[2]: URIBL blacklist\n\t* [URIs: tablettoxicspillsrx.ru]\n\t* 1.5
2014 Dec 20
3
[Bug 87543] New: "unmatched output device 0x0103010201010100" when connecting to hdmi
https://bugs.freedesktop.org/show_bug.cgi?id=87543
Bug ID: 87543
Summary: "unmatched output device 0x0103010201010100" when
connecting to hdmi
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
2010 Sep 12
4
using read.table, removing extra quotation mark from a text field? (e.g. ""cat" )
I am using read.table to import a text file within R.
There are several "errors" in my text file. An "extra" quotation mark has
inadvertently been included within a few text fields.
e.g. for a pipe (|) delimited text file, I have something similar to this:
1|7|30| "dog"
2|6|25| ""cat"
3|4|20|""
4|5| 56| "mouse"
5|3|56|
2010 Dec 14
2
How to left or right truncate a character string?
Hi R-helpers,
I have a character string, for example:
"lm(y ~ X2 + X3 + X4)"
from which I would like to strip off the leading and trailing
quotation marks resulting in this:
lm(y ~ X2 + X3 + X4)
I have tried using gsub() but I can't figure out how to specify the
quotation mark using a regular expression.
Alternatively, I would like a function that lets me delete the leading
2011 Jan 07
3
When are Logwatch errors really errors
Hi All,
I don't know enough about when errors are *really* errors. So I google a lot to read and learn.
I have a few things in my Logwatch that I want to make sure I understand
1. smartd
**Unmatched Entries**
Problem creating device name scan list
Device /dev/sda: using '-d sat' for ATA disk behind SAT layer.
Device /dev/sdb: using '-d sat' for ATA disk behind SAT layer.
2019 Mar 21
1
imap ---- LIST "" * The returned mailbox does not display quotes
dovecot version
v2.2.29
v2.2.36
v2.3.5
LIST "" * The returned mailbox does not display quotes
dovecot version
v2.1.17
LIST "" * The returned mailbox shows quotation marks
Why is the quotation mark removed in the new version?
Is there any configuration option in the new version to add quotes?
Because I see a lot of big public mailboxes with quotation marks.
2013 Jul 17
1
On the mechanics of function evaluation and argument matching
Hello,
Section 4.3.2 of the R language definition [1] states that argument matching to formal arguments is a 3-pass process to match arguments to a function. An error is generated if any (supplied) arguments are left unmatched. Interestingly the opposite is not true as any unmatched formals does not generate an error.
> f <- function(x,y,z) x
> f(2)
[1] 2
> f(2,3)
[1] 2
Since R is
2006 Sep 04
3
opening files in directory
Hi there
I want to be able to take all the files in a given directory, read them in one at a time, calculate a distance matrix for them (the files are data matrices) and then print them out to separate files. This is the code I thought I would be able to use
(all files are in directory data_files)
for(i in 1:length(files))
+ {
+ x<-read.table("data_files/files[[i]]")
+