Displaying 20 results from an estimated 6000 matches similar to: "Export in pdf, png, jpg, eps, etc..."
2008 Apr 14
2
how to write a table to pdf
Hi,
Is there a way to write a table to pdf ? I have checked write.table, it only
writes to text file.
[[alternative HTML version deleted]]
2007 Nov 06
3
Produce a multiple formats graphic
Is it possible to produce the same graphic in different formats
in one shot?
Now if I want to produce the same graphic in pdf, ps and jpeg
I run the producing code, but I change the graphic device, and
I choose successively :
pdf(...)
ps(...)
jpeg(...)
So in this case I run the same code 3 times, or I have
to choose a format and use converters...
Is it possible to produce the 3 graphics in once
2008 May 02
1
Phil Spector's book
Since we're on the topic of book reviews, I just received Phil Spector's
new R book called "Data Manipulation with R" and it is also quite a
nice book. I haven't gone through it all and I won't give a detailed
review but I have gotten a lot out of the first 100 pages that I have
read.
Note that I've been using R for almost 1.5 years so , for me, it's a
2011 Jun 22
1
Saved EPS/PDF graphics not same as JPG/BMP graphics
When I save a particular plot as JPG or BMP, the saved image is an accurate
copy of that plot.
But when I save the same plot as EPS or PDF, some text elements are
incorrectly altered.
An example is attached. Notice in the top middle and top right panels, the
x-axis labels have correct subscript 1 in the JPG, but incorrect subscript 2
in the EPS.
I'm using R 2.13.0 on Windows 7.
Any clues
2007 Dec 15
1
modify a data.frame within a function
Hello all,
I'm trying to modify a single column of a data frame to remove randomly half of the values. I want to do it within a function, but can not assign the modified column back into the data frame. It was easy and successful without a function, so I suspect the problem is the call of the single column within the function.
removedata<-function(datafull,var.removed)
{
attach(datafull)
2008 Mar 13
1
factanal and plotting?
Hi there!
To make a good choice for the estimation of the number of usefull
factors. And I'd like to plot a graph like:
http://de.wikipedia.org/wiki/Bild:Parallelanalyse.jpg
where I don't need the green line (random values).
But with
str(factanal(data, factors=10)) I cannot figure out where I can find the
values for plotting.
Can you please help me in this question?
Thanks,
Martin
2008 Apr 04
1
How to include files in .R?
Hi,
may be its a very simple question, but i did not find any documentation
about a 'include' command or something like this.
I have to set many constants in my R-files and want to move all these to
one file, so that i can reuse it in all other R-files.
Something like
include("~/R/myconstants.R")
kind regards,
--
Jonas Stein <news at jonasstein.de>
2007 Sep 06
2
larger decimal numbers get rounded ....
Hi,
I am sure there is a reason but ...... why larger decimal numbers get rounded to the nearest integer?
Example:
a <- 3308000.5
a
[1] 3308001
I would like my numbers to be decimals .... since they do represent coordinates and i don't want them rounded .... how can i keep them as they are?
Thanks,
Monica
_________________________________________________________________
2007 Oct 27
1
Package Installer Fails in OSX 10.5 Leopard
Hello all,
I apologize in advance if this is not the correct list to post these sorts
of issues. When attempting to install the latest stable build of R (2.6) or
the most recent nightly build from R.research.att.com, the installer
disables the ability to actually install R or any of the other bundled
frameworks (i.e. the list is unchecked and grayed out). Before I start
trying to either coerce the
2008 Jun 03
2
merge two data sets
I would like to merge ?data1 ?that contains 100 unique ID?s with another
data set ?data 2? with 150 ID?s and the age of those individuals ( the ID in
data1 is a subset of the ID in data 2) I would like to merge these data1
with data2 and have the result of the merge to have the ID ordered as in
data1.
Can this be done in R?
--
View this message in context:
2007 Jul 13
2
R file via SSH
Goodmorning everybody,
I need to run an R program via SSH. Usually I open R, I run the
program and I stay logged-in, waiting for the output. As a matter of
fact, if I close the connection with SSH I loose the calculations and
the output of my R program. What command I have to use in order to
preseve the calculations and the output without staying logged-in a SSH
connection?
thanks in advance
2007 Aug 04
2
bars' values on barplot
Hi,
I need bars' values on barplot, and I don't know how I can put it. I do my
barplot as:
data<-read.table("/my_path/file.dat",header=T, sep="\t")
barplot(as.matrix(data),log="y",beside=TRUE,main="my_title", xlab="x name",
ylab="y name").
How can I add the values on each bar?
Thanks..
[[alternative HTML version deleted]]
2007 Jun 29
2
\include-mechanism in Sweave?
Dear HelpeRs,
I'm very fond of Sweave and I use it as often as possible. It'a a pity
I can't use it for larger projects or can I?
For instance suppose I have three files file1.rnw, file2.rnw and
file3.rnw with Sweave code. Working on file2.rnw I whould like to
exclude file1.rnw and file3.rnw temporarily and joining all of them
later. This amounts to a mechanism similar to using
2008 Jan 06
3
run setwd at the launch of R
Dear all,
my R files (and the .csv files as well) are saved somewhere pretty
deep down my hard disk.
i have to chage to working directory therefore everytime i run R (i
run it on powerPC mac), which is disgusting.
using the setwd command at the beginning of an R script doesnt really
help because i have to find this file first by hand.
I am looking for possibility to run setwd during the
2009 Jan 28
1
Faced Problems with RODBC package 1.2-5 and 1.2-4 for windows
Hi,
I am facing problems with RODBC package 1.2-5 and 1.2-4 built for
windows. I am using R 2.8.1 version.
I faced some problems when I was trying to execute sql procedure
from R with exec/execute statement .
Stored procedure contains code/statements :
1) Call to another procedure (R calls one procedure which itself
calls another procedure)
2)
2007 Jul 18
1
Neuman-Keuls
hello,
I have programmed this function to calculate the Neuman-Keuls test but I have a problem the function return an empty list and I don't know why.
summary(fm1)
E <- sqrt((summary(fm1)[[1]]["Residuals","Mean Sq"])/length(LR))
lst <- list()
lst1 <- list()
lst2 <- list()
NK <- function (x) {
if (length(x) == 2) {
Tstudent <- t.test(subset(exple,
2013 Oct 18
4
[LLVMdev] Downstream distributions as first class citizens in the LLVM repository
Hi all,
I mentioned this idea yesterday on IRC already and would like to discuss
in the greater context of the mailing list. NetBSD is about to import
LLVM and Clang into its repository; FreeBSD already has done that a
while ago. This creates some interesting maintainance questions. FreeBSD
has followed the LLVM/Clang releases and backported various fixes
locally. NetBSD will after the 3.4 release
2008 Dec 12
1
Avoiding multiple outputs using RODBC package
I am using R as a data manipulation tool for a SQL database. So in some of
my R scripts I use the RODBC package to retreive data, then run analysis,
and use the sqlSave function in the RODBC package to store the results in a
database.
There are two problems I want to avoid, and they are highly related: (1)
having R rerun analysis which has already been done and saved into output
database table,
2013 Oct 18
2
[LLVMdev] Downstream distributions as first class citizens in the LLVM repository
On Fri, Oct 18, 2013 at 06:47:55PM -0400, Tom Stellard wrote:
> On Fri, Oct 18, 2013 at 07:09:47PM +0200, Joerg Sonnenberger wrote:
> > Hi all,
> > I mentioned this idea yesterday on IRC already and would like to discuss
> > in the greater context of the mailing list. NetBSD is about to import
> > LLVM and Clang into its repository; FreeBSD already has done that a
>
2007 Sep 29
2
Help with functions (iterations)
Hello:
I am a bit confused by this problem. Can anyone give me some advice on this I would greatly appreciate it. Thank you for all your help.
Need to create a for loop that saves the estimate of pi from each 0f 100 separate iterations and store it in a numeric vector (of length 100). The for loop should be placed in a function that allows the user to vary the sample size, the simulation size,