Matthew Keller wrote:
So Mike, let me ask you a question. If R runs out of RAM, does it
begin to use virtual RAM, and hence begin to swap from the hard drive?
If so, I could see how a faster hard drive would speed R up when you
don't have enough RAM...
Yes. Virtual memory management is done
I am hoping something has changed since I last asked about this.
Is there any good source of documentation, including examples, of using
tcl/tk as a gui for R applications?
__
R-help@stat.math.ethz.ch mailing list
Daniel Gatti wrote:
How does one assign names to the columns of a matrix so that the columns
can be accesses using the '$' operator? It seem that x$c1 below should
return column 1.
x = matrix(1:4,2)
dimnames(x) = list(c(r1, r2), c(c1, c2))
x
c1 c2
r1 1 3
r2 2 4
x$c1
Matt,
patopatasfrias wrote:
Hey, I'm a real novice... how do I go about saving a function that I created
eg. If I created this function: Fun-function(x1,X2) {..}, how can I
store it so that the next time I use R I can load it and not have to type it
out again
If you search the
I would like to start building R packages under Windows XP. I
have programming experience and a minimal but working knowlege
of many Unix (-like) programming tools. The package functions
(for now) will be from R source, not C or Fortran.
I've installed Rtools, Perl, the MS hhc, and so on. I am
Thanks to Gabor G., Duncan M., and Hong O. for helpful
replies. I've made some progress, but have two questions.
Can anyone explain *how* R CMD searches for latex? I have
provided a batch file (shell script) and and alias (I use a
Windows command shell with aliasing) that each provide the
Thanks again to D. M. and G. G. for help. I have built a
small package successfully, although latex is not working
quite right. I might be able to get it working, but I'm
unclear what the latex compiler is used for when building a
package. Otherwise, I'll just install MikTeX and treat it as
a
Duncan Murdoch wrote:
On 9/11/2006 3:57 PM, Michael Prager wrote:
R 2.3.1 on Windows XP Professional.
I am writing some scripts to generate examples. The Rgui menu
item File, Save to File is helpful. Is there perhaps an
equivalent R function that can be incorporated into a script
R 2.3.1 on Windows XP Professional.
I am writing some scripts to generate examples. The Rgui menu
item File, Save to File is helpful. Is there perhaps an
equivalent R function that can be incorporated into a script?
Mike Prager
Southeast Fisheries Science Center, NOAA
Beaufort, North Carolina
[EMAIL PROTECTED] wrote:
Hello! I have written an R script on a Windows platform where I
calculate eight result matrices I plot using matplot. I would like to
display the resulting plots successively, rather than simultaneously,
and I was wondering if anyone could point me in the right
Here is one user's perspective on this, with no pretense of being
definitive. In the S (R) world, the expression computing on the
language is used to encompass what I would call the tasks of macro
programming. This involves uses of various S (R) expressions that
convert between names of
You might consider passing the output file name to the function as an
argument.
Matthew Bridgman wrote on 6/25/2006 10:49 AM:
I want to put warning messages into some of my functions to remind
myself to change the output file names each time I run them. Is there a
way to do this that will
Gavin Simpson wrote on 6/14/2006 12:44 PM:
On Tue, 2006-06-13 at 05:24 +, anil kumar rohilla wrote:
Hi List,
I am new to this Rsoftware, i want to make a sereis for example
which is having values like this, s- 0,0.1,0.2,0.3,0.4,1
[...]
Hi Anil,
see ?seq for the
Dear R List,
I have used ... to pass a varying number of arguments to a function.
The function takes parts of specialized data objects (they happen to be
lists) and makes comparative graphs and analyses. The code shell looks
like this:
models.compare - function(...) {
## Get the data
It seems you have figured out a solution; for another example, you could
look here:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=90
Mike
Jonathan Greenberg wrote on 5/10/2006 7:46 PM:
I apologize for what may be a newbie question: I have two sets of data, one
is X,Y,Z data
Erin,
I was able to set it larger by making the change manually in the
Rconsole file.
For details of Rgui (Windows) configuration, try
?Rconsole
from the prompt.
MHP
Erin Hodgess wrote on 4/24/2006 6:44 PM:
Dear R People:
On the Edit menu, there is a GUI preference tab.
On the Font
There is a slightly easier way to make your own functions available.
1. Set up a directory for your R configuration. I use d:\r\mhp. Copy
.Rprofile, Rconsole, Rdevga there.
2. Set up a Windows environment variable R_USER pointing to that
directory. For example: R_USER=d:\r\mhp
The point of
On Windows, I often have more than one R console (instance of Rgui.exe)
open at the same time. Unless by mistake, each instance is open on a
unique working directory.
MHP
mark garey wrote on 3/9/2006 8:05 PM:
hello all, i'm forwarding this question for a colleague.
Is it possible to open a
[EMAIL PROTECTED] wrote on 3/9/2006 4:47 PM:
I'm looking to buy a new desktop which will primarily be used for
analyses of large datasets (100s of MB). I've seen postings from several
years back re the 'optimal' platform for running R, but nothing more
recently.
Specifically, I want to
Erin,
From an Rgui graphics window (windows() device), Ctrl-W will save the
current graph to the clipboard as a metafile; Ctrl-C will save as a
bitmap. In PPt, Ctrl-V will paste either into a blank spot on a slide.
The metafile is a Windows vector spec that will be sharper and smaller.
Besides the answers you already have, you might look at my 4D graph
example (with code) on the R Graphics Gallery:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=90
I think it does exactly what you are asking, and therefore it might fit
your needs with only slight code
that graph is showing?
On 2/12/06, Michael Prager [EMAIL PROTECTED] wrote:
Besides the answers you already have, you might look at my 4D graph
example (with code) on the R Graphics Gallery:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=90
I think it does exactly what you
Gabor Grothendieck wrote on 1/3/2006 2:37 PM:
Looking at the first few queries,
see how easy it is to take the top few in Stata whereas in R one would
have a complex use of order. Its not hard in R to write a function
that would make it just as easy but its not available off the top
of one's
When I asked this question, I got some good answers. Based on them, I
wrote a pair of functions to accomplish this. I have tested them in
exactly ONE installation, and they worked.
Of course these are not needed by R gurus, but I attach them (with many
more comment lines than actual source)
Here is a function I use to send lists to ASCII files.
list2ascii - function(x,file=paste(deparse(substitute(x)),.txt,sep=))
{
# MHP July 7, 2004
# R or S function to write an R list to an ASCII file.
# This can be used to create files for those who want to use
# a spreadsheet or
I hope others may find this useful. I use R in many different
directories. By adding the following line to the .Rprofile file:
utils:::setWindowTitle(paste(-,getwd()))
the titlebar of each R instance shows the directory from which it was
started. I have tested this with rterm.exe and
Simon,
An hour's worth of contour plots (12) should be able to be saved in far
less than 1 Gb, depending on the detail desired.
Here is one way to do your task. There are other, and probably better, ones.
At each time step (5 mins), you could have the Fortran program write a
data file and then
Thibaut Jombart wrote:
I'm trying to insert R source code (functions) in an appendix of a
latex document. I guess the easiest way to do so is to use the package
Sweaved (file : Sweaved.sty)
I have had very good results with the LaTeX package listings. It is
easy to use, and it does the job.
If you want to write directly to file,
?Devices
will get you more information
Guy Forrester wrote on 5/11/2005 7:08 PM:
Dear All,
I have some code that works in S-Plus for writing saving a graphics file to
disk :-
[...]
--
Michael H. Prager, Ph.D.
Population Dynamics Team
NOAA Center for Coastal
Paul--
It is hard to fight the tide, even when it contains sewage, but (you
probably agree) this is an idiotic requirement. Not only does this
journal want to change your work (which journals do much too much), they
also want you to help them use of low-class tools to do so.
You could try
30 matches
Mail list logo