Displaying 20 results from an estimated 6000 matches similar to: "Stuck in the Rd"
2006 Jan 16
5
A function that return a link_to, Possible ?
Hello, I try this :
in application_helper.rb
-----------------------
def lnk bla
return link_to bla, { :controller => bli , :action => "blo" , :id
=> "blu" }
end
in file.rhtml
-----------
<%= lnk "yo!" %>
This return an error. There is a way to do this or something similar, or
this is completly impossible ?
Thanks
2010 Sep 01
0
[LLVMdev] Assertion failure in tablegen: rationale ?
On Sep 1, 2010, at 4:35 AM, Amaury Pouly wrote:
> Hello,
> I was fiddling with TableGen (for a use that has nothing to do with a compiler but it's doesn't matter) and TableGen triggers an assertion failure on this code (I reduced the case to the minimum, it's a parsing bug):
David, can you take a look? This is related to your lisp interpreter :)
-Chris
>
> class
2010 Sep 01
3
[LLVMdev] Assertion failure in tablegen: rationale ?
Hello,
I was fiddling with TableGen (for a use that has nothing to do with a
compiler but it's doesn't matter) and TableGen triggers an assertion failure
on this code (I reduced the case to the minimum, it's a parsing bug):
class Bli<string _t>
{
string t = _t;
}
class Bla<list<Bli> _bli>
: Bli<!car(_bli).t>
{
}
#0 0x00007ffff6ebda75 in *__GI_raise
2008 Feb 05
1
Compile Rd file
Hello,
I am trying to compile a file .Rd into .html using R CMD Rdconv -t=html
/file.rd/>/file.html./ It seems that the process works ok but instead of
having for example loo.cv(NMRTools) at the top of the html file I have
loo.cv{unknown}. Any ideas on how to solve this?
Best,
Dani
//
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la
2002 Jul 13
2
Fail to convert any .Rd file
Hello, experts!
I've tried to convert MASS.Rd, for instance:
R CMD Rdconv -t txt MASS.Rd -o MASS.txt 2>MASS.log
Comp was thinking for a long, about 30s on Linux 600MHz/128M,
but after that R didn't produce the result MASS.txt file, but
very large log. Here is its header:
******* Syntax error: mismatched or missing brackets in
/-----
\name{Aids2}
\alias{Aids2}
\title{
2004 Mar 10
2
Writing Rd files dor package
Hi all,
I have some problems to write help files for a package. I don't
understant how to include help
files in a package that I develop.
I have written the Rd files that I have put in a man directory. So after
this, I built the package with the command
R CMD build (for linux) and I obtained my package (I have also used the
commands R CMD Rdconv -t txt and
R CMD Rdconv -t html to convert
2003 Sep 09
4
How to convert a Rd file into multi html files?
Hi,
I wrote all documents for each objects in my package in one .Rd file. Now I can't convert the .Rd file into multi html files such that a html file corresponds a object in package.
The command I used was ' R CMD Rdconv -t html foo.Rd'. It just converted the document of first object in .Rd into html format.
I had to write a perl script to satisfy myself. But is there a more direct
2003 Jul 04
2
(PR#3400)
Martin Maechler asked me to restate my problem.
Compiling the file (slightly modified w.r.t. the formerly
attached file) that can be found at
http://www.geo.uni-bayreuth.de/~martin/filetransfer/xswms2d.Rd
terminates with the error message
******* Syntax error: mismatched or missing brackets in
/-----
.....
\-----
when compiled by
R CMD Rdconv -t txt xswms2d.Rd
However, the file does
2011 Aug 03
4
Convert matrix to numeric
I have a matrix that looks like this:
structure(c("0.0376673981759913", "0.111066500741386", "1", "1103",
"18", "OPEN", "DEPR", "0.0404073656092023", "0.115186044704599",
"1", "719", "18", "OPEN", "DEPR", "0.0665342096693433",
2008 Nov 23
1
Help in Programming using Methods
I WROTE THIS FUNCTION BELOW
test <- function(x, ...) UseMethod('test', x)
test.data.frame = function(x, model, which, error, ...)
{
av <- aov(formula(model), data = x)
res <- test.aovlist(av, which = which, error = error)
return(res)
}
test.aovlist <- function(x, which, error, ...)
{
mm <- model.tables(x, "means")
tabs <- mm$tables[-1]
2011 Oct 12
3
trace an Rd conversion error in R cmd check
Hi All,
Apologies if this is a very naive question. Is there a way to see the
particular Rd file being processed right before a warning/error
occurs? As far as I can tell, all my .Rd files use have names and
titles and they are unique between Rd files (sometimes in a file I use
something like \name{foo} \title{Foo}). I seem to be able to convert
files to latex using: R CMD Rdconv --type=latex
2005 Jan 13
1
how to use solve.QP
At the risk of ridicule for my deficient linear algebra skills, I ask
for help using the solve.QP function to do portfolio optimization. I
am trying to following a textbook example and need help converting the
problem into the format required by solve.QP. Below is my sample code
if anyone is willing to go through it. This problem will not solve
because it is not set up properly. I hope I
2008 Feb 20
3
Rd to latex
Hello,
I would like to convert an Rd object to a latex file, so that I can put
it in my thesis. How can I do it? I tryed latex(), but it only works for
code...
Best,
Dani
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la Universitat Aut?noma de Barcelona
Edifici V, Campus UAB
08193 Cerdanyola del Vall?s- SPAIN
Centro de Investigaci?n Biom?dica en
2001 Mar 09
1
bringing up R documentation for my functions
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I want to documnet a function I've written. I used
prompt(function.name)
to create an ascii R documentation file. I moved the .Rd file into a
subdirectory called
rw1022/library/my.functions/man
Now I want to load the help using
2005 Sep 15
4
Rd and guillemots
First of all, thanks to those who've set up R to work so smoothly with
Miktex-- even a total Latex bunny like me got it to work instantly, so
that for the first time I'm able to run my Rd files through the Latex
side of RCMD CHECK.
Now the question/buglet. One of my Rd files contains the following:
\code{mlazy( <<objname1>>, <<objname2>>, <<etc>>)}
2005 Mar 22
1
Writing R documentation
Greetings,
I used latex type code in my Rd files.
The pdf version using
R CMD Rd2dvi --output=PKtools.pdf --pdf --title="PKtools" PKtools man
came out quite nice.
However, my current HTML version does not tex the latex so there is
latex code in the files and looks bad.
example problem code:
AIC$_c$
or
\begin{itemize}
\item NLME:
\begin{itemize}
\item population level:
2005 Jul 27
1
how to generate 00Index.html from Rd or html
I'd like to generate 00Index.html for a bunch of libraries for my
R search page. I have now almost all the html help files for
individual functions, even for packages that won't install on my
computer (e.g., because they are specific to Windows). I made
these using Rdconv. But that won't make the 00Index file, and
neither will Rdindex, which makes a text file. I'm probably
2000 Oct 20
1
How to convert .Rd format in windows
Thanks for everyone who answered my query.
I put an extra line in AUTOEXEC.BAT to specify the R_HOME variable.
And the Rdconv command works perfectly if I execute the AUTOEXEC
from DOS prompt. However, if I execute the AUTOEXEC from inside windows
system the command does not work.
Thanks,
Agus
------------------------
Agus Salim
PhD student
Dept. of Statistics
University College Cork,
Ireland
2003 Dec 11
1
Using \leq for <= in Rd files
Hi,
When writing formulae in Rd files I use \leq to get a less-than-or-equal-to
sign, as this is what the LaTeX references I consulted suggested. This works
correctly for the PDF output (Rcmd Rd2dvi.sh --pdf), however when the Rd
file is converted to text or html this command is converted to "<=q".
A workaround is to use \le instead of \leq which works with my LaTeX
distribution
2010 Sep 01
1
[LLVMdev] Assertion failure in tablegen: rationale ?
While I'm at it, I noticed a behaviour which is not exactly related but
similar. To put it simply, you can 't do T.V.W, you need to do
!cast<Bla>(T.V).W
Example:
class Bla<string t>
{
string blu = t;
}
class Bli<Bla t>
{
Bla bla = t;
}
def a : Bli<Bla<"">>;
def b : Bla<!cast<Bla>(a.bla).blu>; // works
def b :