Displaying 20 results from an estimated 3000 matches similar to: "how to use # in a rd doc in url address"
2007 Oct 14
1
Inconsistent behavior of sQuote and dQuote
Dear all
When comparing sQuote("text") and dQuote("text") on MacOS X and Linux FC4
I get an inconsistent behavior (using the new release version R-2.6.0):
sQuote: On Mac I get the correct result "'text'", but on FC4 the
incorrect result "`text?".
dQuote: On Mac I get the correct result "\"text\"", but on FC4 the
incorrect
2007 Sep 28
2
Event.observe doesn't work
Hi,
The following simple html doesn''t work with errors, why?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/
html4/strict.dtd">
<html>
<title>click</title> <head>
<h2>Click!</h2>
<script type="text/javascript" language="javascript">
2007 Apr 06
2
regular expression
Dear R-List,
I have a great many files in a directory and I would like to
replace in every file the character " by the character ' and in the same
time, I have to change ' by '' (i.e. the character ' twice and not the
unique character ") when the character ' is embodied in "....."
So, "....." becomes '.....' and
2005 Dec 14
1
Problem stopping default event in Safari
I''m going crazy here. I''m trying to stop a link from being followed
after it''s clicked. It works everywhere except Safari (using v. 2.0.2
on Tiger)
I''m using behavior.js to attach events based on a class or an id:
*******************************************************
function loadData(e) {
// load some data here based on the url of the a tag
2009 Oct 01
2
Rd.sty question: LaTeX expert needed
The Rd.sty LaTeX package is used when building the R manuals, and by the
LaTeX pages produced from the man pages.
I have tracked down some problems G?bor Cs?rdi was having recently (see
"Re: [R] preformatted and '#' in manual pages" in R-help) to a LaTeX
problem, and am trying to work out how to fix it.
Specifically, the .Rd file he was using had a structure like
\dQuote{
2009 Nov 24
1
How to interpret the name of an object literally?
Hi,
I can't seem to figure out how to tell R to stop expanding an object. I
would like to use the literal name rather than the expanded value.
The issue occurs in a function I've been writing. The problematic part looks
like this:
# "fund" is a matrix of open, high, low, close, and volume prices
returns <- function(fund)
{
p_12ago = as.vector(fund[nrow(fund)-252,6])
2020 Jul 21
2
trivial typo in ?Matrix::sparse.model.matrix.Rd
? "form" -> "from". Diff against latest SVN:
Index: sparse.model.matrix.Rd
===================================================================
--- sparse.model.matrix.Rd??? (revision 3336)
+++ sparse.model.matrix.Rd??? (working copy)
@@ -4,7 +4,7 @@
?\alias{fac2sparse}
?\alias{fac2Sparse}
?\description{Construct a sparse model or \dQuote{design} matrix,
-? form a formula
2009 Oct 22
1
Error in link in Rd file stops package installation
With a pretty recent version of R 2.11.0 (devel,unstable,
svn 50178) on Linux I could not install version 1.5-8 of zoo (the
current on on CRAN):
% R-devel CMD INSTALL -l Rlib3 zoo
* installing *source* package 'zoo' ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
converting help for package 'zoo'
finding
2011 Jun 05
1
tag \href not recognised in rd doc
Hi,
I have a trouble trying to use \href in a rd doc. See example below:
\references{
\href{http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2702787/}{Vaniscotte
A., Pleydell D., Raoul F., Quere J.P., Coeurdassier M., Delattre P., Li
T., Qian W., Takahashi K., Weidmann J.C., Qiu J., Giraudoux P. 2009
Modelling and spatial discrimination of small mammal assemblages: an
example from western
2005 Nov 30
1
\dQuote{} in \code{} not processed
Just wondering if this is the expected behaviour.
I was wanting to produce quoted text within \code{}, without manually
entering the '"'. \dQuote{} seems advisable after reading the Writing R
Extensions manual, so I tried \code{\dQuote{mytext}} expecting it to
produce "mytext" in monospace font (with ' ' round it in the R help
files) but it appears that
2009 Sep 04
3
How to print a variable with in double quotes
I want to print a variable with in double quotes.
For example
x = 10 ;
x ; #prints 10
"x" ; #prints x
\"x\" ; # Error: unexpected input in "\"
I want to the out put as '10' or "10"
Thank you
Sailu Yellaboina
2009 Jul 08
2
\dQuote in packages
I am in the process of submitting a package to CRAN. R CMD check ran successfully on the package on my local computer, using R version 2.1.1. However, on the computers for CRAN (with version 2.10.0), the following errors occurred:
Warning in parse_Rd("./man/predict.Rd", encoding = "unknown") :
./man/predict.Rd:28: unknown macro '\dquote'
*** error on file
2018 Mar 17
1
Inappropriate parens fix for Logic.Rd
Logic.Rd has been changed again in r74377. After change:
? \item{x, y}{raw or logical or \sQuote{number-like} vectors (i.e., of
? ? types \code{\link{double}} (class \code{\link{numeric}},
? ? \code{\link{integer}}) and \code{\link{complex}}), or objects for
It is still inappropriate. As I said before, integer is not double.
Right: numeric includes double and integer
Wrong: double includes
2011 Nov 25
1
Problem with & question about \preformatted in .Rd
Hi,
The "\preformatted" environment in Rd files doesn't seem to escape
long sequences of backslashes properly when converted to pdf (LaTeX)
documentation. I'm running R version 2.14 (from subversion, revision
57751) on Linux (RHEL). Here's an example from the command line:
echo
2006 Nov 15
1
simple mainmenu ivr tones not recognized
I'm trying to setup a VERY simple mainmenu ivr but can't seem to get the
tones to be recognized during the background( ) the playback and background
files play, but asterisk doesn't do anything when I start pushing keys -
I've tried it from softphones and pstn line phones
Can anyone tell me what I'm doing wrong? Required contexts Exentions.conf
below
[from-broadvoice]
2004 Nov 25
3
Searching for a string in RSQLite
I'd like to search for a particular string in an SQLite database using
RSQLite, but I'm running into problems constructing the query
properly, because of embedded quotes and parens in the string.
Is there a function that escapes these for me, or some other fixup
that would let me do the queries below? In the real situation I don't
have control over what strings get searched for.
2005 Nov 16
1
update R packages in local repos
I try to update R packages via my local repository.
I put all R packages in g:/myFolder/myRepository, I do like
> library(tools)
> write_PACKAGES("g:/myFolder/myRepository")
> options(repos=c(LocalR="file://g:/myFolder/myRepository"))
> getOption("repos")
LocalR
"file://g:/myFolder/myRepository"
>
2006 Feb 15
6
error_messages_for trouble
I am trying so learn how to do custom validations.
The validation works as expected, but I can''t get "error_messages_for"
to display.
How is the name of the object supposed to be formated?
Where is this object created, the model or controller?
What am I doing wrong here?
#### Model ########################
class MyFolder < ActiveRecord::Base
def validate
# validation
2007 Oct 03
2
Scroll to anchor from RJS
Is there an way to tell the browser to scroll to a certain anchor from
an RJS template?
I''m doing a page update, adding stuff at the bottom and want to
browser to go there after it''s been added.
Thanks,
Helzer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2009 Jan 31
2
Strange behaviour with rsync and mounted truecrypt volume
Hello,
when i mount a truecrpyt volume with truecrypt 5.1a and
synchronize data locally with rsync (version 2.6.9 protocol version 29) like this way:
$ truecrypt myvolume.tc
$ rsync -av /home/oliver/myfolder /media/truecrypt
The myfolder is copied to /media/truecrypt like it should.
But when i dismount the truecrypt volume
and mount it again:
$ truecrypt -d /media/truecrypt
$ truecrypt