Displaying 20 results from an estimated 3000 matches similar to: "Rprofile file to automatically plot data, tried using the .First command."
2005 Jan 06
1
Using the Rprofile file to automatically plot data on Sta rtup of R version 2.0.1.
Dear John,
I belive your problem has to do with the sequence of startup. I think that
.Rprofile is called before the required libraries are attached.
You might like to try putting your code into a .First() function and run it
that way.
Cheers,
Andreas
Dr Andreas Kiermeier
Statistician
SARDI FOOD SAFETY PROGRAM
33 Flemington Street
Glenside SA 5065
Phone: +61 8 8207 7884
Fax: +61 8
2005 Feb 23
1
package check - empty line at end of .R file
Dear R-devel members,
I'm in the process of building a package (akmisc) for my own use (Win XP, R
2.0.1 Patched - see details at end).
As I was adding functions (and hence more source .R files) to my package it
got to the point were "R CMD check" failed with the following error (output
has been cut).
* checking S3 generic/method consistency ... WARNING
Error in .try_quietly({ :
2005 Oct 18
2
Lattice graphics strip labels for shingles
Dear all,
back in 2002 Martin Henry H. Stevens wrote
(https://stat.ethz.ch/pipermail/r-help/2002-May/019851.html)
> How do I control the text in strips? Specifically, I want to put in the
> ranges generated in shingle(x) where x is continuous.
with an answer from Deepyan Sarkar (see strip.new towards the end of this
message). I assume that the answer worked back then, but I've tried
2005 Jan 05
1
Using the Rprofile file to automatically plot data on Startup of R version 2.0.1.
Dear R Help Members,
I have some R functions that plot semiconductor data. I would like to
automate these plots for individuals in our group such that they don't
have to know R. I have read the R help manuals and postings but have
not found this problem.
I am using R version 2.0.1 under a Windows 2000 operating system.
The following is a simplified version of what I am tring to do:
If
2006 Sep 15
1
plot region too large
Hi!
I don't understand this:
layout(matrix(c(1:10),5,2),heights=c(1,rep(2,4)))
plot(1,1)
error in plot.new() : plot region too large
Why??????
Thanks!
Kamila
2005 Mar 14
0
fixed/ initialising trellis device {lattice}/ postscript
Thanks Andy
out<- xyplot(....)
print(out)
did the trick nicely.
Sam
----
Sam McClatchie,
Biological oceanography
South Australian Aquatic Sciences Centre
PO Box 120, Henley Beach 5022
Adelaide, South Australia
email <mcclatchie.sam at saugov.sa.gov.au>
Telephone: (61-8) 8207 5448
FAX: (61-8) 8200 2481
Research home page <http://www.members.iinet.net.au/~s.mcclatchie/>
2005 Sep 14
0
R CMD INSTALL -l /path/to/library packagename/ fixed
Background:
OS: Linux Mandrake 10.1
release: R 2.1.1
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
---------------------------------
Colleagues
The environment variables checked with Sys.getenv() all appeared to be in
the right place.
The easy fix was to copy /usr/lib/R into /usr/local/lib/R
then run the R CMD INSTALL packagename
then just copy the package subdirectory back to
2012 Aug 10
1
question about windows Rgui.exe startup
Hi all,
I had a specific question about the loading of objects
into R. I apologize in advance if I have overlooked anything in the
manual but as far as I can tell I have yet to find a solution to my
problem.
I am on a Windows platform.
So what I am trying
to do is have R read in a binary file on startup from the Windows system
command line and startup Rgui.exe with these options without
2004 Aug 09
0
returns the value of a polynomial of degree n evaluated a t x.
Try something like:
install.packages("polynom")
library(polynom)
predict(polynomial(rev(p)), x)
HTH,
Andy
> From: McClatchie, Sam (PIRSA-SARDI)
>
> > Background:
> > OS: Linux Mandrake 9.1
> > release: R 1.9.0
> > editor: Xemacs 21.4
> > frontend: ESS 5.1.23
> > ---------------------------------
> >
> > Colleagues
> >
2005 May 13
4
Encryption
Hi All,
I am using rsync to backup our office server to our Internet server (RHE).
As an association for doctors we are looking at providing a backup service
for their practices using rsync. As it would be patient data it would need
to be encrypted. I have found a few options, namely
esync
wurt
rsyncrypto
Does anyone have experience with the above and perhaps like to recommend
one? On the
2005 Jan 16
1
CGIwithR
Dear R users;
I'm trying to use CGIwithR on a linux machine, I have
followed the instructions on the package manual but
still it does not run,
the message that I get is as follows:
The requested URL was not found on this server
I used the example trivial, I put trivial.html under
Web directory and trivial.R in cgi-bin directory,
which itself is a subdirectory of Web directory, ( I
have
2004 Oct 19
2
Changing the Y graph scale Maximum value.
Hello,
I am new to R and have read the documents related to graphics but have
not come across a description of how to change the maximum scale on a
graph. Below is sample code that sets up a plot window with a 0 Minimum
to 10 Maximum, X and Y coordinate system:
x <- c(1,2,3,4,5,6,7,8,9,10)
y <- c(1,1.5,2,2.5,3,3.5,4,4.5,5,5.5)
plot(0:10, 0:10, type = "n" )# setting up coord.
2009 Feb 28
1
Execute script and go interactive
Hi,
is it possible to execute a script with R and go into interactive mode
with the same session?
e.g.
R < myscript.R
>objects()
Creating a .Rprofile is not an option for me.
Thank you
Michael
2012 Oct 29
6
export variable from bash to R
Dear R experts
This probably seems very easy to you guys, but I'm a beginner and would be
really glad if someone helped me with this:
I am trying to automate the execution of an R script (let's call it
"myscript.R") by passing a variable from a bash script to myscript.R.
I know I can use the command Rscript, but I don't know how to declare in
bash which variable will be
2011 Sep 07
1
process id of an R script
I have a script that runs as a cron job every minute (on Ubuntu 10.10 and R 2.11.1), querying a database for new data. Most of the time it takes a few seconds to run, but once in while it takes more than a minute and the next run starts (on the same data) before the previous one has finished. In extreme cases this will fill up memory with a large number of runs of the same script on the same data.
2005 Feb 25
3
passing command line arguments to 'R CMD BATCH myScript.R'
Hi Community,
I have a question about how to pass command line parameters to R script
running in the batch mode. The problem is: there is a banch of data
files which are to be processed by R script called from a web-server,
i.e. in the batch mode. The web server generates data files and passes
their names calling 'R CMD BATCH' one by one for every file. Now the
question is how to
2011 Apr 30
1
Sys.getenv at startup is not working properly
Hello,
when using
Sys.getenv() during startup-phase (.First or .Rprofile)
to get the env-variables
COLUMNS as well as HOST I get empty strings.
After the startup is done, when asking via Sys.getenv()
by hand, COLUMNS is set (but HOST is not, even "hostname" on the shell gives me
a correct answer).
At the moment my problem is the missing COLUMNS value during start up,
because I want
2004 Oct 19
1
barchart fails when grouping variable has more than 7 levels (PR#7293)
Full_Name: Andreas Kiermeier
Version: 2.0.0
OS: Windows XP
Submission from: (NULL) (203.26.122.12)
I've struck a problem drawing barcharts after installing R 2.0.0. Previously
I've used the following command
print(barchart(100*result ~ sample,
groups=congener,
data=dioxin.2003.fresh.ub.p, stack=TRUE, ylim=c(0,102)))
to draw a stacked barchart of the
2004 Oct 20
1
Bug in 'rot=' of scales argument of barchart (PR#7296)
Full_Name: Andreas Kiermeier
Version: 2.0.0
OS: Windows XP
Submission from: (NULL) (203.26.136.133)
When "rot=-90" in the scales argument of barchart (and possibly other trellis
graphics) the axis label disappears behind the bars and only the last character
can be seen. For "rot=90" things work fine.
2010 Jun 30
0
drb problem? ringy-dingy won't answer...
The following code works fine as long as I don''t try to run it through
the distributed server. It doesn''t get there...
It runs fine out of delayed_job, runs fine if called directly.
But if ''distrib'' is true (the default) it runs right up to the call to
the server and right past it without getting to the server or raising
any errors.
Am using Ruby 1.8.6.26 ,