Skip to content

\code{x[ind,,]} -- Including spaces does not work

5 messages · Chris Wild, Brian Ripley, Agustin Lobo

#
Putting a space between the commas makes no difference when I try it.
-- Chris Wild
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Mon, 30 Jul 2001, Chris Wild wrote:

            
\code{x[ind, , ]}

does work for me, and furthermore it is how R itself formats the code:
function ()
{
    x[ind, , ]
}

so it's not ugly, it is correct.  I do wish posters to R-help would
make use of spaces in the way R itself does.

That's not to say that Rd.sty does not need to protect against this.

  
    
#
On Mon, 30 Jul 2001, Prof Brian D Ripley wrote:

            
It's a quirk of using ae.sty, and \code not being a proper verbatim
environment.

,, is the notation for a quotation mark for a European language.  As that
does not exist in typewriter font, it is mapped to a black square by the ae
package.

A TeX workaround is needed ....

  
    
#
On Mon, 30 Jul 2001, Prof Brian D Ripley wrote:

            
auk% diff Rd.sty /ext/R/R-patched/share/texmf/
179c179
<     \Rd at code}}
---
fixes this.

  
    
#
Hi!

I have an slow process in R because
I'm using an laply() with a long list.

The process is very slow now, but I'm
using a very old machine with only 64k of
RAM. I want to buy a new machine but
I would like to calculate, at least as 
an approximation, how long would
my process take for different RAM 
configurations, so that I can take 
a decision based on cost/speed information.

Could anyone tell me how I could estimate
the gain in CPU time for increasing RAM? I
understand that the key variable is the relative
size of the memory that has to be allocated vs.
the RAM: if all can be fit in RAM, then the process
will be very fast. Perhaps I should just calculate
the size of the memory that the process allocates?

Thanks

Agus


Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._