similar to: Computer Modern Fonts in R graphic

Displaying 20 results from an estimated 1000 matches similar to: "Computer Modern Fonts in R graphic"

2013 Jun 25
1
Correct scaling of axis in persp3d plot
Hi, I want to format my axis in my persp3d plot. With my data, which I attached I created a persp3d plot with the following code, which I summarized from different code snippets I found: library(rugarch)library(rgl)library(fGarch)fd <-as.data.frame(modelfit,which ='density')color <-rgb(85,141,85,maxColorValue=255)x <-seq(-0.2,0.2,length=100)y <-c(1:2318)f
2009 Sep 01
1
Logistic Politomic Regression in R
Hi everyone,   I'm trying to do an Logistic Politomic Regression in R. Because I have my resposes variables and the aswer is 0 and 1 in 3 bacterial genes. Somebody know how to do this in R in a easy way?   Thank so much,   José Bustos Facultad de Ciencias Universidad Catolica Ssma. Concepcion Chile --- El lun, 31/8/09, r-help-request@r-project.org <r-help-request@r-project..org>
2011 Mar 18
0
keep color range constant across three persp() graphs
Hi All. I have created two, 3-D, color graphs using persp(). Z values range from 1 to 100 on the first plot, and 0.5 to 50 on the second plot. I would like to keep the color range constant between the two graphs, rather than each graph showing the full range of colors. So the first graph should go from yellow to red and the second graph should go from yellow to orange. Below I present a
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",
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",
2008 Sep 05
3
how to draw the legend about color from 3d picture
I have drawed a picture with persp, it's 3d map with different color, indicate different altitude. In gnuplot, the corresponding command 'splot' will generate a picture beside to indicate the relationship between color and altitude. But in R, how to draw it? I have read the manual of legend, but they are all about how to draw a legend with colored text, not a continuous varing color
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/texmf-dist/fonts/afm/public/cm-lgc",
2009 Aug 04
1
Sweave, cm-lgc and minus signs
Hello, since a couple of days I'm trying hard to elicit a certain thing out of the Sweave function of R. Unfortunately I'm quite unsuccessful. It's only about a small, ridiculous minus sign, which does not appear in the final pdf of a latex file, if I try to incorporate the Computer- Modern fonts into the plot. It seems, that R uses different encodings for minus signs, which are put
2010 Nov 11
4
How to get a specific named element in a nested list
Hello, I have a nested named list structure, like the following: x <- list( list( list(df1,df2) list(df3, list(df4,df5)) list(df6,df7))) with df1...d7 as data frames. Every data frame is named. Is there a way to get a specific named element in x? so, for example, x[[c("df5")]] gives me the data frame 5? Thank you in advance! Best, Friedericksen
2009 Dec 08
0
[LLVMdev] How to run vmjc created .bc files?
Hi Michael, On Tue, Dec 8, 2009 at 6:26 PM, Michael Wu <mmwu at princeton.edu> wrote: > Hi, > > Thanks a lot for the help! I am getting some errors though: > > I am on a 32 bit chroot on a x86_64 system. Thus llc guesses the wrong > architecture from the module bitcode and spits out x86_64 assembly. I fixed > this by adding "-march=x86" to the llc options
2009 Dec 09
2
[LLVMdev] How to run vmjc created .bc files?
Hi, I've managed to compile it the class down to a native executable. However, the executable runs for a while then spits out: terminate called without an active exception Aborted and dies. The program never gets to the normal output. Here is a stack trace from gdb: #0 0xf3f6baa6 in raise () from /lib/libc.so.6 #1 0xf3f6d3a8 in abort () from /lib/libc.so.6 #2 0xf41918f8 in
2009 Dec 08
2
[LLVMdev] How to run vmjc created .bc files?
Hi, Thanks a lot for the help! I am getting some errors though: I am on a 32 bit chroot on a x86_64 system. Thus llc guesses the wrong architecture from the module bitcode and spits out x86_64 assembly. I fixed this by adding "-march=x86" to the llc options in llcj. gcc doesn't know what -lgc is. I'm guessing it is the garbage collection library. How can I get it or
2004 Oct 29
4
Installation problems with R.classes bundle
Firstly hi to everyone on the list, I am new to this list ans also R so please forgive the simplicity of my questions over the next few months. I have version R 1.9.1 and want to perform z-scoring for a benchmarking procedure. I have tried to install Henrik Bengtsson's R.classes bundle (http://www.maths.lth.se/help/R/R.classes). I have downloaded the .zip file and placed the relevant folders
2010 Jan 23
1
matrix to a C function
Hi the list, Is there a way to give a matrix to a C function, and then to use it as a matrix ? I write a function to print a matrix, but I use it as a vector : 1. void printMatrix(double *mTraj,int *nbCol, int *nbLigne){ 2. int i=0,j=0; 3. for(i=0 ; i < *nbLigne ; i++){ 4. for(j=0 ; j < *nbCol ; j++){ 5. Rprintf(" %f",mTraj[i * *nbCol + j]); 6. } 7.
2012 Dec 11
2
lattice question: how to change the dot on boxplot to line
Hi, How does one change the dot for the median in a boxplot drawn using lattice? I have been looking at > names(trellis.par.get()) [1] "grid.pars" "fontsize" "background" [4] "panel.background" "clip" "add.line" [7] "add.text" "plot.polygon"
2009 Apr 27
4
A way to get the R data stored temporarily in working memory?
Hey guys, I have a problem: I created a silly for loop without saving the results on each step. After a while I realised that it will take days to finish the loop until I get the results. Is there a way to get the data R saves in working memory or in a temporary file while runing the loop? So that stoping the loop will not result in complete data loss? Thank you very much! Greetings,
2006 Jun 02
1
doubt with integrate ()
Dear members, I'm getting an error with the "integrate" function. Searching in the r-help archives, I think this may have something to do with the function (it is not returning a vector but a number), but I don't see exactly what. The function to integrate was defined with a for loop first: for (i in 1:(nbcol-1)) {tdon1<-tdon[,i]
2008 Jan 29
1
Fortunes - was Re: [OT] vernacular names for circular diagrams
I did not write that. On Jan 29, 2008 9:05 AM, S Ellison <S.Ellison at lgc.co.uk> wrote: > >>> "Gabor Grothendieck" <ggrothendieck at gmail.com> 29/01/2008 12:35:27 > >>> > > As is common in human affairs, even > > the illusion of understanding is preferred to a lofty digression > upon > > why the audience does not understand.
2017 Jun 17
3
write.dna command
Hi all, I am learning R by "doing". And this is my first post. I want to use R: 1- to fetch a DNA sequence from a databank (see bellow) and 2- store it as FASTA file. The problem: neither an error is prompted nor the fasta file is created. Testing the code (see bellow), I notice that everything works until the *"write.dna" *command - which is not creating the fasta file.
2013 Oct 15
23
[PATCH 00/21] Upgrade to Lua 5.2.2, add filesystem module and get_key binding
Hi, This series targets automatic boot menu generation, but most of it is the Lua upgrade, because I got tired reading deprecated API docs. It's mostly a straightforward forward port of the earlier Syslinux specific changes to Lua 5.1, except that: * I chose the add a stub getenv() implementation to the COM32 API instead of #ifdefing out all the references in Lua, and * I kept oslib