On Fri, Jun 3, 2011 at 11:51 AM, Sarah Goslee sarah.gos...@gmail.com wrote:
If you don't recognize the official r-project.org R-admin manual as a
legitimate
link then I'm afraid I also can't help you any further since there is nothing
more legitimate than the official documentation.
Except
For an engineer, assuming that pi = 3.142 will
probably enable him to build a very satisfactory
bridge. Assuming that pi = 3.14159265358979323844
will give the circumference of the Earth's orbit
to one millionth of a millimetre.
And just a few more decimal places will get you the
On Sat, May 28, 2011 at 7:48 PM, Matthew Keller mckellerc...@gmail.com wrote:
Perhaps this is more of a unix question, but I'll give it a try here.
I am running 9 different R processes at the same time (called from a
shell script using R CMD BATCH). When I use the top program to
monitor how
On Fri, May 27, 2011 at 5:54 PM, Albyn Jones jo...@reed.edu wrote:
Me too, or three!
The compo page says:
Every submitted design must be the property of the submitter, who
grants permission to the useR! 2011 conference to use the design on
the front of T-shirts distributed to conference
On Mon, May 23, 2011 at 8:00 PM, Duncan Murdoch
murdoch.dun...@gmail.com wrote:
On 11-05-23 5:55 AM, Pierre Bruyer wrote:
I think writing that would be hard, but you can fake it. Find the range of
z first to work out the contour levels you want, then put very large values
around the outside
On Fri, May 20, 2011 at 9:16 AM, Janko Thyson
janko.thyson.rst...@googlemail.com wrote:
Yet, IMHO there will be more and more problems regarding this in the
future as the number of contributed packages keeps growing. I personally
would not mind at all to get used to typing 'thePackage::foo()'
On Fri, May 20, 2011 at 7:52 AM, vioravis viora...@gmail.com wrote:
Are there any tools currently available that enable us build GUIs??? (MATLAB
has a GUI builder that enables the users build custom GUIs).
Another option nobody has mentioned yet is to make it a web-based
system, and generate
On Thu, May 19, 2011 at 5:19 AM, Beutel, Terry S
terry.beu...@deedi.qld.gov.au wrote:
I'm wondering if anyone is aware of a way to take what is visible in the
R graphics window, pixelate it, and express that pixellation in a
numeric matrix. For example, I am using the following command to
On Fri, May 13, 2011 at 11:38 AM, Michael Haenlein
haenl...@escpeurope.eu wrote:
I'm now thinking about buying a more powerful desktop PC or laptop. Can
anybody advise me on the best configuration to run R as fast as possible? I
will use this PC exclusively for R so any other factors are of
On Sun, May 1, 2011 at 8:08 AM, azam jaafari azamjaaf...@yahoo.com wrote:
Dear All
I want to import the vector file ( .shp) to R. I could import the file by
rgdal package before, by following:
geology-readOGR('C:/geology//saga/geo.geom','finalgeology')
but now there is an error:
Error
but it's a little clumsy, because
with_connection(file(myfile.txt), {do stuff...})
isn't very useful because you have no way to reference the connection
that you're using. Ruby's blocks have arguments which would require
big changes to R's syntax. One option would to use pronouns:
On Tue, Apr 19, 2011 at 6:20 PM, Alaios ala...@yahoo.com wrote:
b. Could you please suggest me an easy way to exchange the R code with my
colleagues. I know about these version systems but unfortunately they look
pretty bizarre to me.
Nothing looks more bizarre than a project that isn't
On Sun, Apr 17, 2011 at 11:56 PM, jmsc michaelfp...@gmail.com wrote:
The site does not require a login/password. Another way to access the first
site would be to go to the second site, click Connecticut, click Canterbury,
CT, enter the online database, click search under Query by Location with
On Sun, Apr 17, 2011 at 9:40 PM, jmsc michaelfp...@gmail.com wrote:
I am wondering why when I try to input data from the first site listed below
into R using the scan() function, a different page is read in instead (the
second site listed):
2011/4/13 Matthieu Stigler matthieu.stig...@gmail.com:
Jim
Thanks for your feedback! The problem is that the people those responsible
for layout are us... We are doing the book in Latex, and till now did not
need any other software.
But I am scared we will need use kind of Indesign co
On Wed, Apr 13, 2011 at 5:26 PM, Jeremy Hetzel jthet...@gmail.com wrote:
Scribus claims to be able to convert RGB/CMYK colors to spot colors:
http://documentation.scribus.net/index.php/Spot_Colors
I've never used Scribus, but it's floss.
Scribus can import output from R's svg driver (with at
On Mon, Apr 11, 2011 at 4:49 PM, smoluka smol...@geo.oregonstate.edu wrote:
Can anyone tell me why I would get different average nearest neighbor values
for the same set of coordinates between ArcGIS 10 and R? Sometimes the
difference in distance is over 1.3 km.
Edge correction? In a spatial
On Sat, Apr 9, 2011 at 6:29 PM, Benjamin Tyner bty...@gmail.com wrote:
The above feels a bit like snooping where I wasn't invited.
You could do something like
mq - function(a) {
force(a)
list(getA = function()a,
setA = function(newA) a - newA,
fun =
On Fri, Apr 1, 2011 at 11:46 AM, Henri Mone henrim...@gmail.com wrote:
Dear R Users,
I use for my data crunching a combination of MySQL and GNU R. I have
to handle huge/ middle seized data which is stored in a MySql
database, R executes a SQL command to fetch the data and does the
plotting
On Fri, Mar 18, 2011 at 3:37 PM, Frank Schwach f...@sanger.ac.uk wrote:
Hi,
I'm plotting a heatmap with values ranging from -10 to +10 and I would
like the negative values to show up in shades of blue and the positive
ones in shadea of red. Basically, I want exactly what the RColorBrewer
On Thu, Mar 17, 2011 at 3:54 AM, bill.venab...@csiro.au wrote:
It doesn't work (in R) because it is not written in R. It's written in some
other language that looks a bit like R.
It parses in R, so I would say it was written in R.
To paraphrase Obi-wan, it's just not the R you are looking
On Wed, Mar 16, 2011 at 4:16 PM, luke-tier...@uiowa.edu wrote:
That would defeat the purpose. Unlocking things in base may be useful
for experimenting or debugging but it is not a good idea otherwise.
You are making experimenting in R more awkward? Then I'm throwing
That would defeat the
On Tue, Mar 8, 2011 at 10:01 AM, Alaios ala...@yahoo.com wrote:
Dear all,
I would like to ask you if R can produce any kind of sound. It would be
useful when code execution stops R to notify me by playing some sound.
Is that possible in R?
If you search for 'audio' or 'sound' on CRAN's
On Fri, Feb 11, 2011 at 7:52 AM, Dr. Michael Wolf m-w...@muenster.de wrote:
Dear R colleagues,
is there an easier way to write R packages for the own use - without RTools
and TeX?
There are simpler ways of maintaining R source code than building
packages. I bashed out a quick way of keeping
On Fri, Feb 11, 2011 at 12:33 PM, Spencer Graves
spencer.gra...@structuremonitoring.com wrote:
Dear Dr. Wolf:
I understand your concern that the mechanics of writing an R package
can be difficult. It was hard for me when I started.
I should add that although I did write that
On Wed, Feb 2, 2011 at 11:01 PM, Carl Witthoft c...@witthoft.com wrote:
Hi, subject more or less says it all.
I freely admit to not having bothered to find some of the online papers
about method of testing the quality of random number generators -- but in an
idle moment I wondered what to
On Thu, Jan 27, 2011 at 7:57 AM, 刘力平 liping.li...@gmail.com wrote:
Hi,
I write a package in Linux and ready to distribute, and I can install it in
linux and run it.
However, when I have install it in my Windows' R.
I can not 'require' it.
is.element(grt, installed.packages()[,1])
[1]
On Sat, Jan 22, 2011 at 10:07 PM, Matt Curcio matt.curcio...@gmail.com wrote:
Greetings all,
I am wondering if anyone is aware of any studies that draw a
relationship between an actor and their box office gross for a movie.
In other words, is anybody aware of any databases that contain box
On Wed, Jan 5, 2011 at 7:33 AM, lcn lcn...@gmail.com wrote:
As for your actual requirement to do the convertion, I guess there'd not
exist any quick ways. You have to be both familiar with R and the other
language to make the rewrite work.
To make the rewrite work _well_ is the bigger
On Wed, Jan 5, 2011 at 4:10 PM, Marcelo Barbudas nos...@gmail.com wrote:
Hi,
We're using R in an application where asking for a probability of an
event takes about 130ms.
What could we do to take that down to 30ms-40ms? The query code uses
randomforest, knn.
That's a fairly vague
On Thu, Dec 23, 2010 at 6:30 PM, Horace Tso horace@pgn.com wrote:
Following the official instructions to install R on ubuntu 10.04, I issued
this command on the prompt,
sudo apt-get install r-base
The following packages have unmet dependencies:
r-base: Depends: r-base-core (=
On Thu, Dec 23, 2010 at 7:15 PM, Horace Tso horace@pgn.com wrote:
Barry, my reporting error, my ubuntu is 10.04, which is Hardy I believe. It
was a straight build from the source. No funny stuff done on it.
My lsb_release says my 10.04 is Lucid.
# lsb_release -a
No LSB modules are
On Wed, Dec 22, 2010 at 11:20 AM, Paul Rigor pr...@ucla.edu wrote:
Hello,
This is an R-syntax question when attempting to manipulate/access objects
when passed to a function.
I have a function attempting to just print values attached to an argument
object. For example,
printThis -
Are there any R functions for creating palettes for three-way data?
For example, election maps for three parties where pure red, blue, and
green show 100% for the Red, Blue, and Green parties respectively,
magenta shows a 50-50 Red-Blue split with 0 for the Greens, cyan a
50-50 Blue/Green split
On Tue, Dec 14, 2010 at 10:45 AM, Wang, Kevin (SYD)
kevinw...@kpmg.com.au wrote:
Hi all,
I'm trying to draw a bubble plot over a map -- where the map shows local
government areas (LGA) in Australia (or other structures under the Australian
Standard Geographical Classification), but am not
On Mon, Dec 13, 2010 at 7:36 PM, Steve Sidney sbsid...@mweb.co.za wrote:
Oh dear oh dear!!! another arrogant statistician/scientist
One asks for help and instead one gets an ear full!!!
So much for the much vaunted helpful R community.
But thanks anyway, I guess you were trying
On Fri, Dec 10, 2010 at 2:21 AM, mathijsdevaan mathijsdev...@gmail.com wrote:
Hi,
I have a dataset (CSV) with some counts of firms located around the globe.
Each count is assigned to the longitude and latitude of the specific
location. Now I want to plot these counts on a world map using
On Fri, Dec 10, 2010 at 3:27 PM, Daniel Brewer daniel.bre...@icr.ac.uk wrote:
Hello,
I have some data that has dates in the form 27.02.37. I convert them to
a date object as follows:
as.Date(data$date,format=%d.%m.%y)
But this gives me years such as 2037 when I would like them to be 1937.
On Thu, Dec 9, 2010 at 4:20 PM, Uwe Wolfram u...@in-chemnitz.de wrote:
Dear Subscribers,
I am using R for quite a while nowadays on Ubuntu 10.04 LTS. I a using R
for doing my statistics. Furthermore I am using it as a tool to generate
the graphics for my publications.
I am currently working
On Wed, Dec 8, 2010 at 6:18 PM, XINLI LI lihaw...@gmail.com wrote:
Thank you very much, I will look into it.
If it really is only 200 then I'd start typing them into Google's
direction finder and typing in the distance/time given. Even if you
only do one per minute they'll all be done in half a
On Fri, Nov 26, 2010 at 5:03 PM, fbielejec fbiele...@gmail.com wrote:
Dear,
I would like to generate kml file with lines (LineString) of
different style (definitely color, but width would also be nice to
see). However with kmlLine from maptools package I am able only to
output the single
On Tue, Nov 23, 2010 at 8:09 AM, 夏高 xiagao1...@gmail.com wrote:
Actually RCurl is not for calling web service. But thank you all the same.
Does anybody know how to call web service in R? Thanks!
Use RCurl. It can be used for calling web services. A web service is
just an HTTP endpoint that
On Tue, Nov 23, 2010 at 10:36 AM, Jennifer Dodd j.d...@bio.gla.ac.uk wrote:
Dear list,
I am looking for some help with the format of extracted residual values
output from:
residuals (model1)
[1] 0.74140534 0.72464895 0.74873373 0.78313611 0.78836470 0.76934676
0.77448847
Someone on stackoverflow.com was wondering how to display the current
time in the R prompt. I could have swore there was a mechanism for
hooking a function into R such that it is was called before the
prompt was given, but no amount of searching in R's docs, R's source,
or RSiteSearch can find
On Fri, Nov 19, 2010 at 3:36 PM, Duncan Murdoch
murdoch.dun...@gmail.com wrote:
Barry was probably remembering SweaveHook.
The key is the taskCallbackManager. Does exactly what it says on
the tin. Doesn't come up with any of my search strings!
Hopefully now this is in R-help it'll come up
On Thu, Nov 18, 2010 at 12:00 AM, Cliff Clive cliffcl...@gmail.com wrote:
Basically I'm just looking for a command that can look up the name of the
directory of the script that is running. If I move or copy the script to
another directory, it should be able to read the name of the new
On Thu, Nov 18, 2010 at 3:26 PM, Cliff Clive cliffcl...@gmail.com wrote:
So it sounds like the best we can do in R is to keep track of the script in a
sort of master file that runs the script, and set the working directory in
the master. Is that accurate?
Errr no. Maybe. What?
Your script
On Wed, Nov 17, 2010 at 2:54 PM, D Kelly O'Day ko...@processtrends.com wrote:
I am trying to download and open an on-line netcdf file.
I'm using Windows XP and R 2.11.1
Here's my script
library(ncdf)
link -
http://ibis.grdl.noaa.gov/SAT/SeaLevelRise/slr/slr_sla_gbl_free_all_66.nc;
On Mon, Nov 15, 2010 at 3:46 PM, Feng Mai maif...@gmail.com wrote:
IMO it is not possible. The code behind aspx page queries data from a
database server and display it on the webpage.
That doesn't make it possible. Your web browser is sending a request
to the web server, and whatever happens
On Fri, Nov 12, 2010 at 7:05 AM, Tal Galili tal.gal...@gmail.com wrote:
Hello Barry,
With regards to the identical == FALSE, it didn't occur to me - great point,
thank you.
So question: how did you end up changing the -, so to enable the creation
of the .metadata object?
I haven't done that
On Thu, Nov 11, 2010 at 9:37 AM, Tal Galili tal.gal...@gmail.com wrote:
4) My real intention is to somehow change the - operator (not simply the
assign). I am unsure as to how to do that.
5) Are there any major pros/cons to the adding of such meta-data to objects?
(for example, excessive
On Wed, Nov 10, 2010 at 10:47 AM, Hannu Kahra hka...@gmail.com wrote:
(setq inferior-R-program-name G:/r-2.12.0/bin/i386/rterm.exe)
since R is installed on the G drive. Everything works if R is on G, but when
changing the computer, R is usually on another drive and Emacs cannot find
it. Is
On Mon, Nov 8, 2010 at 5:15 PM, Peter Langfelder
peter.langfel...@gmail.com wrote:
If you also need the z coordinate, it simply the mean of the matrix Z.
zCenter = mean(Z)
How can that be right? Suppose your mountain is very flat, so that
your mountain is effectively a cube. The Z values are
On Thu, Nov 4, 2010 at 4:00 PM, Peter Davenport pwdavenp...@gmail.com wrote:
Dear R-help,
Could any of you direct me to a function for plotting a grid of colours,
directly specified by a matrix of hex colour codes? In other words I'm
looking for a heatmap() or image()-like function to which
On Wed, Nov 3, 2010 at 2:07 AM, Santosh Srinivas
santosh.srini...@gmail.com wrote:
Dear Group,
Inside each cell there should be a circle (sphere preferable) with radius of
mod(data value). The color should be either red or green depending on -ve or
+ve and the intensity should be based on the
On Wed, Nov 3, 2010 at 10:01 AM, Marcel Gerds marcel.ge...@gmx.de wrote:
Dear R community,
I have a question concerning recoding of a variable. I have a data set
in which there is a variable devoted to the ISCO code describing the
occupation of this certain individual
On Wed, Nov 3, 2010 at 6:04 PM, km srikrishnamo...@gmail.com wrote:
Hi all,
can we use '=' instead of '-' operator for assignment in R programs?
Yes, mostly, you can also use 'help' to ask such questions:
help(=)
The operators ‘-’ and ‘=’ assign into the environment in which
they
On Wed, Nov 3, 2010 at 6:17 PM, ivo welch ivo.we...@gmail.com wrote:
yikes. this is all my fault. it was the first thing that I ever
defined when I started using R.
is.defined - function(name) exists(as.character(substitute(name)))
I presume there is something much better...
You didn't
On Mon, Nov 1, 2010 at 11:10 AM, Uwe Ligges
lig...@statistik.tu-dortmund.de wrote:
Not in R base graphics, but you can do easily with the grid package.
You can do anything in R base graphics! Sometimes it's been done for
you, sometimes you just have to draw the whole thing yourself using
On Mon, Nov 1, 2010 at 10:12 AM, Megh Dal megh700...@yahoo.com wrote:
Dear friend, I have to construct some recursive algorithm for which I used
some for loop like:
res - vector(length=1)
res[1] = 0
for (i in 2:(1+1)) res[i] - res[i-1]*some function
I have noticed that
On Thu, Oct 28, 2010 at 9:31 AM, Mark Heckmann mark.heckm...@gmx.de wrote:
How can I add a new method to the generic function [ or +
I want to create a S3 and S4 class that will use the [ and + method in a
different way.
How can I overload the generic primitive [ or + so the method dispatch
On Thu, Oct 28, 2010 at 2:12 PM, Martin Morgan mtmor...@fhcrc.org wrote:
Not so hard, eh? Though then like your S3 implementation this makes all
'Ops' (see ?Ops)
Except you have to re-run the set* things every R session:
setClass(SS, character)
setMethod(Ops, c(SS, SS), function(e1, e2)
On Thu, Oct 28, 2010 at 12:14 PM, Christofer Bogaso
bogaso.christo...@gmail.com wrote:
Dear Barry, this is really interesting. However I could not understand
this line:
Ops.ss=function(e1,e2){paste(e1,e2)}
Where you have told R to behave + function differently when it faces
ss class?
What
On Fri, Oct 15, 2010 at 9:46 PM, Rob James aetiolo...@gmail.com wrote:
Do I recall correctly that there is an R package that can take an image, and
help one estimate the x/y coordinates? I can't find the package, thought it
was an R-tool, but would appreciate any leads.
Thanks,
I dont know
On Fri, Oct 15, 2010 at 9:55 AM, dpender d.pen...@civil.gla.ac.uk wrote:
Hi,
For this example:
O - c(0 0 0 2 0 0 2 0)
I want to create an array every time O[i] 0. The array should be in the
form;
R[j] - array(-1, dim=c(2,O[i]))
i.e. if O[i] 0 4 times I want 4 R arrays.
Does
On Wed, Oct 13, 2010 at 11:51 AM, Maas James Dr (MED) j.m...@uea.ac.uk wrote:
I've tried hard to find a way to exponentiate each element of a whole matrix
such that if I start with A
A = [ 2 3
2 4]
I can get back B
B = [ 7.38 20.08
7.38 54.60]
I've tried
B - exp(A)
On Wed, Oct 6, 2010 at 1:45 AM, Josh B josh...@yahoo.com wrote:
Hi all,
I am trying to do something simple, but which is deviling me. I want to add an
up-arrow to the x-axis, pointing to a specific location on the axis. I want
the
arrow to be as large as possible.
Here is where I'm at
On Wed, Oct 6, 2010 at 11:04 AM, Michael Bedward
michael.bedw...@gmail.com wrote:
On 6 October 2010 20:51, Ivan Calandra ivan.calan...@uni-hamburg.de wrote:
Moreover, Josh wanted the arrow to be really big. Is it possible to make
it bigger? I would be interested too!
Sorry - missed that
On Wed, Oct 6, 2010 at 12:29 PM, Ivan Calandra
ivan.calan...@uni-hamburg.de wrote:
Hi again,
Just one little question. I don't understand what clipping is.
Probably a problem with English...
Therefore the par(xpd=NA) is not really clear for me; nor is the clip()
function. And I don't see
On Tue, Oct 5, 2010 at 3:37 PM, Dimitri Liakhovitski
dimitri.liakhovit...@gmail.com wrote:
my.data$date
I wouldn't use grid - it suggests you try abline, so something like:
abline(v=my.data$date,lty=2)
- to put vertical lines at your data points. For the horizontal grid
lines, we can just
On Tue, Sep 28, 2010 at 10:03 AM, Tal Galili tal.gal...@gmail.com wrote:
Hello,
It seems that there is a problem when plotting an expression in the ylab of
a plot in case it is too long.
Example:
plot(1)
title(ylab = test
On Tue, Sep 28, 2010 at 10:35 AM, Tal Galili tal.gal...@gmail.com wrote:
My point is that in regular text, ylab plots it where it then goes outside
the borders.
With the use of expressions - the text just doesn't show up.
Originally I thought it was because of my miss-use of expressions,
On Mon, Sep 27, 2010 at 1:39 PM, Nilza BARROS nilzabar...@gmail.com wrote:
Dear R users,
How could I managed graphics in GIF format? What I have been doing is
graphics in *.ps or *.eps and after I convert them using CONVERT (from
ImageMagick) but the output quality is not good. Since these
On Fri, Sep 24, 2010 at 3:21 PM, JoH jh...@york.ac.uk wrote:
Error in
readAsciiGrid(F:/GIS.LandcoverEuropeForRisk/Sept10kmmaps/Sp10KPointID.aux)
:
object 'cellsize' not found
My original data in Arc GIS is have a cell size an i'mm curious as to how to
make sure all the details are
On Wed, Sep 22, 2010 at 9:56 AM, schaber kscha...@ipp.mpg.de wrote:
Hi Jannis,
thanks a lot for your reply. Unfortunately the solution you proposed does
not work.
Maybe the reason is, that plot.Map only accepts hsv colours and I do not
know to convert the rgb colours to the right colour
On Tue, Sep 21, 2010 at 9:39 AM, steven mosher mosherste...@gmail.com wrote:
I'm accessing around 95 tar files on an FTP server ranging in size between
10 and 40MB a piece.
while certainly can click on them and download them outside of R, I'd like
to have my script do it.
Retrieving the ftp
On Tue, Sep 21, 2010 at 8:58 AM, zcrself zcrs...@gmail.com wrote:
http://r.789695.n4.nabble.com/file/n2548152/25jfmyx.jpg
HOW to create image like this?
**tp://i55.tinypic.com/25jfmyx.jpg[/IMG]
My first response is On an empty stomach, with a handy supply of
anti-migraine tablets.
I don't
On Fri, Sep 17, 2010 at 7:54 AM, C.H. chainsawti...@gmail.com wrote:
Dear R users,
I have a very simple question and I've tried to search for the answer.
(But failed.)
there should be a function (func) that work like
abc - c(1,2,3,4)
func(abc)
abc
I would like to know the name of that
On Thu, Sep 16, 2010 at 5:29 PM, Yihui Xie x...@yihui.name wrote:
Hi all,
We know old.packages() can check for updates of add-on packages, but
is there a way to check updates of R itself? go to R homepage is a
way, of course, but I hope this can be done by R.
I'm not sure about the reliable
On Mon, Sep 13, 2010 at 11:16 AM, Dieter Menne
dieter.me...@menne-biomed.de wrote:
Dear useRs from the physiology department,
Does someone know of an implementation of the SF-36 questionnaire scoring in
R? I only found SAS and STATA versions, e.g
On Mon, Sep 13, 2010 at 11:53 AM, Christofer Bogaso
bogaso.christo...@gmail.com wrote:
Hi all, here is my small piece of codes:
fn1 - function(x = 4) {
y - 0
if(y == 0) cat(y value
is zero\n) # I intentionally created 2nd line here
return(4)
}
If I run this
On Mon, Sep 13, 2010 at 12:11 PM, Christofer Bogaso
bogaso.christo...@gmail.com wrote:
Thanks Barry, I agree it will work. But this approach destroys the
indent in the program body therefore entire body of program looks
messy, for example
cat(Here I
put indent)
obviously looks
I just wrote up some code for differencing two .RData files or
environments (or one of each). Available from source here:
http://www.maths.lancs.ac.uk/~rowlings/R/Ediff/
In its handiest form, running:
ediff()
will tell you the difference between your working environment and the
.RData file
On Wed, Sep 8, 2010 at 6:26 PM, Michael Bernsteiner
dethl...@hotmail.com wrote:
@Barry: Yes it is the Rosenbrock Function. I'm trying out some thing I found
here: http://math.fullerton.edu/mathews/n2003/PowellMethodMod.html
@Ravi: Thanks for your help. I will have a closer look at the BB
2010/9/9 José M. Blanco Moreno jmbla...@ub.edu:
Dear R-users,
May be there is something that I am not understanding, missed or else...
Why do these operations yield these results?
25%/%0.2
[1] 124
25%%0.2
[1] 0.2
I would expect (although I know that what I do expect and what is really
On Wed, Sep 8, 2010 at 10:11 AM, Joel joda2...@student.uu.se wrote:
Hi.
Im writing a small test program just to see how passing arguments work with
R.
From the command line everything works as expected but from inside R using
source(test.R) i dont know where and how to send in the arguments
On Wed, Sep 8, 2010 at 11:29 AM, Joel joda2...@student.uu.se wrote:
That is true but then I (or anyone else using the script) most know exactly
what the name in the script is to be able to set it correctly and so on.
Therefor it would be much better to be able to just send in the value and
On Wed, Sep 8, 2010 at 1:35 PM, Michael Bernsteiner
dethl...@hotmail.com wrote:
Dear all,
I'm optimizing a relatively simple function. Using optimize the optimized
parameter value is worse than the starting.
why?
f-function(delta,P,U){
minimiz-P+delta*U
x-minimiz[1]
On Wed, Sep 8, 2010 at 4:32 PM, BD bhakti.dwiv...@gmail.com wrote:
I generated a heatmap in R using the following commands:
mydata - read.csv(file=Data.csv, header=TRUE, sep=,)
mydata - mydata[rowSums(mydata[,-1]^2) 0, ]
rownames(mydata)=mydata$Name
mydata - mydata[,2:253]
mydatamatrix -
On Tue, Sep 7, 2010 at 8:11 AM, raje...@cse.iitm.ac.in
raje...@cse.iitm.ac.in wrote:
Hi,
is there a queue implementation in R?
Tried RSiteSearch(queue)? There's one in the filehash package that
uses on-disk databases, which means it's probably fast and can handle
massive data sets.
On Tue, Sep 7, 2010 at 3:26 PM, Spencer Graves
spencer.gra...@structuremonitoring.com wrote:
I don't know what you mean by a queue implementation, but consider
the following:
A queue is a FIFO data structure - the basic operations are to add an
item to the queue and to remove an item
If anyone still wants a queue implementation, I've tidied up my code
and added some docs in the file.
Info here:
http://www.maths.lancs.ac.uk/~rowlings/R/Queue/
Not a package, but a single R file with a few functions in it. If
anyone wants to put it in a package, go ahead.
Barry
On Mon, Sep 6, 2010 at 3:29 PM, Kennedy henrik.aldb...@gmail.com wrote:
I want to reduce the matrix according to the following: If the values of the
two first columns are the same in two or more rows the values in the third
column of the corresponding rows should be added and only one of the
On Sat, Sep 4, 2010 at 8:07 AM, Yi liuyi.fe...@gmail.com wrote:
Sorry I forgot to talk about the range.
But as an example, range (17,23) works.
In your codes, mean is not exactly 20 and the samples are not integer.
The samples *are* integers. sample(17:23,1,TRUE) returns integers.
On Sat, Sep 4, 2010 at 10:17 AM, raje...@cse.iitm.ac.in
raje...@cse.iitm.ac.in wrote:
Hi,
I have a .Call in my R function in a loop that repeats a certain number of
times. Each time, the .Call returns a list. So, when I say something like,
y-func()
would y be a list of lists?(as many as
On Thu, Sep 2, 2010 at 7:17 AM, Yi liuyi.fe...@gmail.com wrote:
Hi, folks,
runif (n,min,max) is the typical code for generate R.V from uniform dist.
But what if we need to fix the mean as 20, and we want the values to be
integers only?
It's not clear what you want. Uniformly random
On Tue, Aug 31, 2010 at 5:21 PM, Allan Engelhardt all...@cybaea.com wrote:
On 27/08/10 10:19, Barry Rowlingson wrote:
On Fri, Aug 27, 2010 at 9:09 AM, Sébastien Moretti
sebastien.more...@unil.ch wrote:
[...]
require it quietly:
require(sp,quietly=TRUE)
Doesn't work for me
On Mon, Aug 30, 2010 at 5:29 PM, Erik Shilts erik.shi...@opower.com wrote:
I run R on a remote UNIX server where the data are stored that I ssh into
through Emacs, while I store my R scripts on local Windows network drives.
So far this arrangement hasn't been a problem, though now I'd like to
On Sun, Aug 29, 2010 at 5:46 PM, Tal Galili tal.gal...@gmail.com wrote:
Hello all.
A Journal we are sending an article to is asking for the following:
To ensure the best reproduction quality of your figures we would appreciate
high resolution files. All figures should preferably be in TIFF
On Fri, Aug 27, 2010 at 9:09 AM, Sébastien Moretti
sebastien.more...@unil.ch wrote:
Hi
I use --vanilla --quiet --slave options on command line but I always get
Loading required package: ...
in stderr.
How to remove this line ?
Thanks
require it quietly:
require(sp,quietly=TRUE)
201 - 300 of 671 matches
Mail list logo