similar to: Adding gs line to Renviron file on Mac

Displaying 20 results from an estimated 1000 matches similar to: "Adding gs line to Renviron file on Mac"

2005 Feb 11
3
Saving graphs in formats other than PDF?
I am running R 2.01 on Mac OS 10.3.7. Whenever I save graphs, they are saved as PDF files. Are there any other file formats to which I could save my graphs. I would like to directly export my graphs to MS Word, if possible. Thank you in advance. Sincerely, Jim Milks Graduate Student Environmental Sciences Ph.D. Program Wright State University 3640 Colonel Glenn Hwy Dayton, OH 45435
2007 Jun 12
4
Generating artificial datasets with a specific correlation coefficient.
I need to create artificial datasets with specific correlation coefficients (i.e. a dataset that returns r = 0.30, etc.) as examples for a lab I am teaching this summer. Is there a way to do that in R? Thanks. Jim Milks Graduate Student Environmental Sciences Ph.D. Program 136 Biological Sciences Wright State University 3640 Colonel Glenn Hwy Dayton, OH 45435 [[alternative HTML version
2005 May 31
2
plane3d
I am attempting to fit a logistic regression plane to a 3-D scatterplot (which was generated using scatterplot3d). I've noticed that the help pages of scatterplot3d include a function titled "plane3d." However, when I attempt to use the function, I get the following message: Error: couldn't find function "plane3d" I've searched the archives and found no
2005 Apr 18
1
Forcing best-fit lines to go through the origin
Dear All, I have a rather unusual problem. I have a set of data for a class in subsurface processes. From that dataset, I must calculate the slope of the best-fit line (which is the parameter of interest). The problem I have is twofold: 1) for the purposes of the exercise, I must force my best-fit line to go through the origin (0,0), and 2) the line must be linear, even though the data is
2005 Oct 20
3
how to set environment variables?
The help file of the R bitmap function says that I have to set the environment variable R_GSCMD to the path of my Ghostscript installation. How do I set this variable (either by commandline or in R.app for Mac)? Sorry if this sounds like a very basic question, but I could not find the answer anywhere else. Many thanks Andreas -- -------------------------- Andreas Zankl, MD Division of
2007 Jul 02
4
Extracting sums for individual factors in data frames
I have a data frame with two columns, one of which is a factor (Species) and the other is numeric (BA, which stands for basal area). Here's a sample: Species BA ACSA 55.7632696 FRAM 122.9933524 ACSA 67.54424205 ACSA 89.22123136 ACSA 82.46680716 ACSA 22.46238747 ACSA 19.94911335 ACSA 20.42035225 ACSA 19.00663555 ACSA 21.67698931 ACSA 57.80530483 ACSA 30.31636911 Dead 43.98229715 Dead
2007 Aug 31
1
Strange behavior using subset
Dear R Gurus, Let's get the technical details out of the way first: Computer: 1.83 GHz MacBook R version 2.5.1 I have a data set that contains the following variables: site, species, total.vines. I need to partition the main data set by site, the further select only those species that occurred at each site. When I select by site (site.name<-subset(data frame,Site=="Site
2005 May 01
1
Partial F-test comparing full and reduced regression models
Dear all: I have a regression model that has collinearity problems (between three regressor variables). I need a F-test that will allow me to compare between full (with all variables) and partial models (minus 1=< variables). The general F-test formula I'm using is: F = {[SS(full model) - SS(reduced model)] / (#variables taken out)} / MSS(full model) Unfortunately, the ANOVA table
2007 Aug 13
2
Error message when using zero-inflated count regression model in package zicounts
I have data on number of vines per tree for ~550 trees. Over half of the trees did not have any vines and the data is fairly skewed (median = 0, mean = 1.158, 3rd qu. = 1.000). I am attempting to investigate whether plot location (four sites), species (I'm using only the four most common species), or tree dbh has a significant influence on the number of vines per tree. When I
2006 Apr 10
0
fdim questions
R-users: My problem: the package fdim (which measures fractal dimensions of datasets) apparently prefers 3-D (XYZ) datasets. I'm trying to measure the information dimension (a type of fractal dimension) of a 2-D (XY) dataset. Here's some examples of the preferred 3-D data (XYZ): library(fdim) XYZ <- (makehplane(NumN=300, DimM=3, Longit=300)) fdim(XYZ,q=0.999999,PlotF=TRUE)
2007 Jul 31
2
choosing between Poisson regression models: no interactions vs. interactions
R gurus, I'm working on data analysis for a small project. My response variable is total vines per tree (median = 0, mean = 1.65, min = 0, max = 24). My predictors are two categorical variables (four sites and four species) and one continuous (tree diameter at breast height (DBH)). The main question I'm attempting to answer is whether or not the species identity of a tree has
2008 Jul 21
1
dev2bitmap error, 'gs' cannot be found
Dear List, I am using the bioconductor package Category to do some gene enrichment analysis, and usually save my KEGGmnplot's using a dev2bitmap command. This has worked just fine, until suddenly earlier today I got this error-message: > dev2bitmap("04610_080721.jpg",type="jpeg", height = 10, width = 10, res = 200) Error in dev2bitmap("04610_CSF080721.jpg",
2007 Jul 08
1
generating a data frame with a subset from another data frame
R gurus, I have a data set that looks something like this: Site Species DBH #Vines G PLOC 45.9 4 G ACNE 23.3 1 G ACNE 12.0 0 G FRAM 35.9 5 G AEGL 11.2 2 N PLOC 77.3 12 N JUNI 78.6 7 N ACNE 18.9 1 N ACNE 15.7 3 N ACRU 35.5 4 H ACSA2 24.1 6 H ULAM 35.2 7 There are 730 individual trees (22 species) from four sites in the actual data set. I would like to create a second data frame that
2002 Sep 24
1
R_Libs in .Renviron?
Hi! Where to set R_LIBS? I have .Renviron with the line. R_LIBS=/package/R/R-1.5.0/linux/lib/R/library/;/home/wolski/Rpack/ in my home directory but cant access any library stored in the /home/wolski/Rpack/? Eryk -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info",
2012 Apr 20
1
R CMD check: Sys.getenv("R_GSCMD") cannot contain full pathname (contrary to docs)
Hi, in help("R_GSCMD") it says "R_GSCMD: Optional. The path to Ghostscript, used by dev2bitmap, bitmap and embedFonts. Consulted when those functions are invoked.". However, if 'R_GSCMD' contains a full pathname to the Ghostscript executable (as above "path" indicates), e.g. > Sys.getenv("R_GSCMD") [1] "C:\\Program
2012 Sep 10
1
Advice on Namespaces
Hi Folks: I'm writing a little package that may not ever hit CRAN or even be distributed beyond a relatively narrow audience at my company. Nevertheless, I have tried to adhere to practices that would work if it were. With that in mind, I have read the Writing R Extensions Manual (and my humble kudos to its writers, as it has successfully guided even an ignoramus like myself ) and Luke
2000 Apr 26
2
plotting question
I would like to plot two different samples on the same scatterplot in R using different symbols for the different groups. Could someone please let me know how this can be done? Thank you very much. Thad ***************************************************************************** Thaddeus Tarpey Phone: (937) 775-2861 Wright State University
2004 Jan 29
2
Loglienar models
Hello, I'm planning to start using R. Before getting into it, I'd like to ask a couple of questions. Does R carry out loglinear model analysis? That is, will it provide the chi-squared goodness of fit test statistic for a given hierarchical loglinear model? Maybe even do a model selection procedure (like Brown's two-step procedure, or forward/backward selection)? Thanks
2002 Sep 11
1
.Renviron and Renviron.site (on Windows XP)
Hello, Could someone please tell me why the following doesn't work: I have a file C:\Program Files\R\rw1051\etc\Renviron.site, which contains the line: R_LIBS= "C:/Jim/LocalR-Libraries/FromCran"; "C:/Jim/LocalR-Libraries/Cantata" >From the documentation, I gather that I have put this file in the default location, but to be safe I also explicitly set the R_ENVIRON
2011 Aug 09
1
embedFonts() does not embed fonts?
Dear helpers, I'm trying out the embedFonts() to embed fonts into my pdf files. However, when I inspect the new pdf with a program designed to look for embedded fonts, I see that the fonts have in fact not been embedded. Below are my calls. R version 2.13.1 (2011-07-08) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-pc-mingw32/i386 (32-bit)