search for: cm

Displaying 20 results from an estimated 1274 matches for "cm".

Did you mean: com
2010 Sep 11
2
Latex fonts in R graphics
Hello, R users. I am trying to embed Computer modern fonts to an R plot and I get the following error. CM <- Type1Font("CM", + c(paste("cm-lgc/fonts/afm/public/cm-lgc/", + c("fcmr8a.afm", "fcmb8a.afm", "fcmri8a.afm", "fcmbi8a.afm"), sep=""), + "./cmsyase.afm")) > pdf("cm.pdf", width=3, heig...
2009 Nov 17
3
CM Fonts in PDF output
Hi! On Linux I try to produce pdf graphs with computer modern fonts so that they look nice in LaTeX documents. I run for example: ------ CM <- Type1Font( "CM", c("/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmr8a.afm", "/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmb8a.afm", "/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmri8a.afm", "/usr/share/texmf-texlive/fonts/afm/pub...
2009 Aug 30
3
Computer Modern Fonts in R graphic
Hello all, I am trying to use computer modern fonts in my r grahics. I tried to do, as described here: http://www.stat.auckland.ac.nz/~paul/R/CM/CMR.html but unfortunately, it does not work. First of all I downloaded the cm-lgc package and the AFM and PFB-files from the page and put them in my R working directory, so far, so good. Then I tried to run the following code: > sn <- seq(1,7,length=100) > sm <- seq(0,4,length=100...
2007 Mar 19
2
sorting with criteria that are "out of order"
I try to sort this dataframe: [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,] "CM" "BARBY" "INCREASED" " 0" " 2" " 0" " 1" " 1" [2,] "CM" "BARBY" "REDUCED" " 0" " 1" " 2" " 2" " 5" [3,] "CM" "...
2015 Oct 19
1
R 3.2.2 - make check and install package hang
Below is the output. Thanks for the help. > Sys.getenv() BASH_FUNC_module() () { eval `/cm/local/apps/environment-modules/3.2.10/Modules/$MODULE_VERSION/bin/modulecmd bash $*` } COLUMNS 152 CPATH /cm/shared/apps/uge/8.2.1/include CVS_RSH ssh DISPLAY localhost:10.0 EDITOR vi G_BROKEN...
2011 Feb 15
2
Sweave doesn't hand on width of special characters of Computer Modern fonts to LaTeX
Hello R users, Using R, Sweave and the cmsyase.afm font it is possible to write LaTeX documents including R figures with text in the Computer Modern Fonts: \documentclass{article} \usepackage{Sweave} \begin{document} <<echo = false, results = hide>>= CM <- Type1Font("CM", c(file.path("C:/texlive/2009...
2005 Feb 23
3
filling columns in frame according to another column frame
R-help, I have a frame which I want to fill up conditioning to another data frame column. The one I want to fill up is as follows (basically an empty one): > test2 cm 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 4 4 4 4 4 4...
2010 May 31
1
Suggested tidying up
Package grDevices has a function cm() to convert from inches to centimeters. Its definition is: cm <- function(x) 2.54*x As far as I can tell, the function is not used anywhere in the R sources (I grepped for "cm(", "cm)" and ", cm".) I did not check for all packages on CRAN, though. May I propose...
2007 Jan 10
1
Compiling R-devel under Windows
.... R-devel compiles fine but when it starts to make PDF documentation it generates the following (tail of the "make distribution" output): ! pdfTeX warning (dest): name{Rfn.survival} has been referenced but does not ex ist, replaced by a fixed one <C:/local/MiKTeX/fonts/type1/bluesky/cm/cmti10.pfb>{8r.enc}<C:/local/MiKTeX/fon ts/type1/urw/times/utmbi8a.pfb><C:/local/MiKTeX/fonts/type1/bluesky/ams/cmbsy7. pfb><C:/local/MiKTeX/fonts/type1/bluesky/cm/cmbx10.pfb><C:/local/MiKTeX/fonts/t ype1/bluesky/cm/cmmib10.pfb><C:/local/MiKTeX/fonts/type1/bluesky/cm/c...
2013 Sep 13
3
Problema con el tamaño de las letras en R en gráficos multiples
...do Javier ############################################################################################### # Scritpt ############################################################################################### ######################### # Una ventana, todo bien ######################### W = 12/cm(1) # Por defecto está todo en inch, con lo que paso cm a inch cada vez H= 12/cm(1) LAS = 1 LWD = 2 MFROW = c(1,1) MAR = c(2.5,4,1,1) POINTSIZE = 12 x11(width= W, height=H, pointsize= POINTSIZE) par(las= LAS, lwd = LWD , mfrow= MFROW, mar= MAR, ps= POINTSIZE ) plot(1) title(paste("Con una...
2010 Apr 23
1
Path simple menu integrated progress indicator
...&& *s != ' ' && *s != '\t') s++; + + return s; +} + +/* Search for a boolean argument; return its position, or 0 if not present */ +static int find_boolean(char **argv, const char *argument) +{ + char **arg; + + for (arg = argv; *arg; arg++) { + if (!strcmp(*arg, argument)) + return (arg - argv) + 1; + } + + return 0; +} + +/* + * Find the last instance of a particular command line argument + * (which should include the final =; do not use for boolean arguments) + * Note: the resulting string is typically not null-terminated. + */ +co...
2008 Jan 06
1
Is crc32 adequate to detect real-life data corruption in filesystem's blocks?
What about multiple errors detection with crc32? Is it work? Thanks.
2009 Aug 17
1
[menu] Bug: 'cm' is used before it is initialized
Hi, I'm seeing a problem on my system where the PXELINUX (and also the ISOLINUX) keep on prompting me the "Initial menu has no LABEL entries!" message, when vesamenu.c32 or menu.c32 is executed. After some investigation, I found that the global cm used in menu_main before it is initialized, and hence it carries a NULL value. I manage to get my system to display the menu after I bypass the code checking !cm->nentries (shown below). Note that not all system will see the same problem because it depends on what the content of cm->nentries...
2015 Oct 17
3
R 3.2.2 - make check and install package hang
Hello Everyone, After trying several ways to compile R 3.2.2 without luck, I?m reaching out for help. The ?make check? does not hanges for some reason and when trying to install a package it cannot list the download sites (see below). What could be the problem? ./configure --enable-R-shlib --enable-BLAS-shlib hostname = test uname -m = x86_64 uname -r = 2.6.32-573.7.1.el6.x86_64 uname -s =
2014 Jun 06
1
Patch: Ciphers, MACs and KexAlgorithms on Match
...================================================== RCS file: /cvs/src/usr.bin/ssh/sshd_config.5,v retrieving revision 1.173 diff -u -p -u -r1.173 sshd_config.5 --- sshd_config.5 28 Mar 2014 05:17:11 -0000 1.173 +++ sshd_config.5 6 Jun 2014 08:04:06 -0000 @@ -896,6 +896,7 @@ Available keywords are .Cm AuthorizedPrincipalsFile , .Cm Banner , .Cm ChrootDirectory , +.Cm Ciphers , .Cm DenyGroups , .Cm DenyUsers , .Cm ForceCommand , @@ -905,6 +906,8 @@ Available keywords are .Cm HostbasedUsesNameFromPacketOnly , .Cm KbdInteractiveAuthentication , .Cm KerberosAuthentication , +.Cm KexAlgorithm...
2009 Aug 04
1
Sweave, cm-lgc and minus signs
...R uses different encodings for minus signs, which are put "by hand" and which are plotted from a variable with negative value. ### As a fast example everybody can retrace immediately, there is the nice example of Paul Murrell which can be found at: http://www.stat.auckland.ac.nz/~paul/R/CM/CMR.html Essentially, what I need from this page are the following 4 files for creating my final pdf: http://www.stat.auckland.ac.nz/~paul/R/CM/cmTutorial.Rnw This example needs the according Tex-package and the files for the symbol faces found at: http://www.ctan.org/tex-archive/help/Catalogu...
2006 May 20
1
General compiz questions
...t compiz stormed (sic!) my defences. Now for my questions: 1. compiz is a composite *and* a window manager. >From that perspective I'd like to ask why compiz has to be yet another WM. There are lots of good, mature WMs out there and there are some more or less powerful composite managers (CM) as well. I would feel more comfortable, if I could use both a WM and a CM of my choice. So basically my question is: What parts (plugins) of compiz are part of the WM and which are "just" the CM? Which of the compiz features, i. e. the cube and its rotation, could be handled separately...
2005 Apr 07
2
newline in lattice axis label
Hi, I have a 3 panel xyplot with different variables in the y axis. I'm trying to insert a newline after "Width (cm)," in the ylab argument as in the example below. My goal is to have the y axis label broken into two lines, split after the string just mentioned. plotfun <- function() { fakedf <- data.frame(A = sample(1:100, 50), B = rnorm(50), C = rnorm...
1999 Aug 09
1
cm.colors bug (PR#244)
Full_Name: David M. Potter Version: 0.64.1 OS: solaris 2.6 Submission from: (NULL) (12.18.36.220) cm.colors() returns an extra element "1": > cm.colors(10) "#7FFFFF" "#99FFFF" "#B2FFFF" "#CCFFFF" "#E5FFFF" "#FFE5FF" "#FFCCFF" "#FF...
2012 Jun 12
6
[RFC] net/sched/em_canid: Ematch rule to match CAN frames according to their CAN IDs
...Extracts Can ID out of the sk_buff structure. + */ +static canid_t em_canid_get_id(struct sk_buff *skb) +{ + /* CAN ID is stored within the data field */ + struct can_frame *cf = (struct can_frame *)skb->data; + + return cf->can_id; +} + +static void em_canid_sff_match_add(struct canid_match *cm, u32 can_id, u32 can_mask) +{ + int i; + + /* Limit can_mask and can_id to SFF range to + protect against write after end of array */ + can_mask &= CAN_SFF_MASK; + can_id &= can_mask; + + /* single frame */ + if (can_mask == CAN_SFF_MASK) { + set_bit(can_id, cm->match_sff); + return; +...