Hi,
I have no idea about LSF managed clusters, but on Windows at least I use
(and maybe you can try it):
Create a script file (.R) with:
#
toprint - commandArgs()
length(toprint)
print(toprint)
#
Now moving to the command prompt, either
I'm not overly familiar with the spilne function in R but I was under
the impression that for a hermite spline fit the xs had to be strictly
increasing (as in your toy example) whereas in your actual data the x
values increase then decrease.
Michael
On 2 October 2010 11:59, Matthew Finkbeiner
Phil,
That's very elegant, and certainly solves my problem. But in order to
assign the value to v, I would do v=ifelse(r==1,v-1,v). Is it possible to do
the assignment inside the conditional? That way I can save some running time
of assigning v to itself. Thanks for your solution!
Hi Josh
Thank you very much for your prompt response.
Maybe you can advise me how to solve the problem if it causes you any
inconvenience.
The program I'm creating is to estimate the surface of coral, with measures
taken form field which is a series of triangles scalene, which measures the
Hi Karl,
There is an example of using Deducer's with ggplot2 to produce a rose plot
(including a video of use), I thought you might find it useful:
http://www.r-statistics.com/2010/08/rose-plot-using-deducers-ggplot2-plot-builder/
Hi:
Is equation written as a function? As in, say,
eq - function(k) 1/LR - (exp(-k * T) * LM) * (1 - exp(-k))
I believe the log of the likelihood would be a simpler expression to
maximize...
On Fri, Oct 1, 2010 at 1:39 PM, mlar...@rsmas.miami.edu wrote:
I am trying to figure out how to run
Thank you Michael, yes, perhaps that is the problem. I've since
figured out a solution using approx() that is working just fine for
me.
Thanks again.
Matthew
On Sat, Oct 2, 2010 at 4:45 PM, Michael Bedward
michael.bedw...@gmail.com wrote:
I'm not overly familiar with the spilne function in
Dear All,
I ave created a public snapshot for use on Amazon EC2 using 64 bit Windows.
If you want to try R on multiple cores ,remote desktop you can use this
snapshot to create copies.
It has R, GUIs for beginners (like RCommander , Deducer- Alas rattle failed
due to RGtk+) and a lot of R
Dear All,
I ave created a public snapshot for use on Amazon EC2 using 64 bit Windows.
If you want to try R on multiple cores ,remote desktop you can use this
snapshot to create copies.
It has R, GUIs for beginners (like RCommander , Deducer- Alas rattle failed
due to RGtk+) and a lot of R
Ravi has already responded about the possibility of using nls(). He and I also have put up
the optimx package which allows a control 'maximize=TRUE' because of the awkwardness of
using fnscale in optim. (optimx still lets you use optim()'s tools too, but wrapped with
this facility.) There are a
On 02.10.2010 03:10, Peter Langfelder wrote:
Hi Mete,
I think you should look at the help for memory.limit. Try to set a
higher one, for example
memory.limit(16000)
(I think 16GB is what xenon will take).
But not too funny given you have only 8Gb in your machine.
So the answer probably
On Oct 1, 2010, at 6:26 PM, Mike Williamson wrote:
Hello all,
I have a strange / interesting problem that might be 'R' settings
themselves, or it might be something with the OS.
I am using the RODBC library. I have a script that goes out and, before
making a query for a big data
If I make this query for the column
names from my Windows laptop or from a Windows server, using odbcConnect()
sqlQuery(), I get the column names properly. However, if I run this via
unix, it will chop off part of the column name. (E.g., with Time
Background Estimation (seconds), it becomes
apply() is your friend. You can specify more than one dimension in
argument 'MARGIN'. Example:
x - array(1:100,c(3,4,5))
y - apply(x, MARGIN=c(2,3), FUN=sum)
y
[,1] [,2] [,3] [,4] [,5]
[1,]6 42 78 114 150
[2,] 15 51 87 123 159
[3,] 24 60 96 132 168
[4,] 33
Hi everyone,
If I run on a 64-bit R, what is the maximum matrix size that it can handle ?
Is a matrix 20,000 x 20,000 possible on 32 bit ?
Thanks for answering!
Carrie--
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing
On Oct 2, 2010, at 11:14 AM, Carrie Li wrote:
Hi everyone,
If I run on a 64-bit R, what is the maximum matrix size that it can handle ?
Is a matrix 20,000 x 20,000 possible on 32 bit ?
Thanks for answering!
A matrix is a vector with 'dim' attributes. The maximum vector length is 2^31 -
1
On 01.10.2010 23:58, Paul Miller wrote:
Hello Everyone,
Just finished reading A Handbook of Statistical Analyses using R by Everitt and
Hothorn. I'll begin by saying that I quite liked the book. It's both little and
mighty in the sense that it's very compact but contains a tremendous amount
If your problem was as you described it, you'd simply find the 1st derivative
of your eq. w.r.t. k, equate to 0, and then solve for k (and check that the
solution is a maximum). But I guess what you really want to do is to estimate k
from data given your equation and _another model_ for the
Dear ALL,
I am trying to run Tinn R for the first time with R. I have already
selected the SDI option. When ever I run the code I get the following
error:
source(.trPaths[4])
Error in source(.trPaths[4]) : object '.trPaths' not found
Can any one help?
Raphael
Hi Raphael,
Why won't you try
notepad++ with npptor
?
It does almost everything tinnR does.
I moved to it after not being happy with tinnR lack of support for R in
their newer versions.
Best,
Tal
Contact
Details:---
Contact
On Sat, Oct 2, 2010 at 12:58 AM, Paul Miller pjmiller...@yahoo.com wrote:
Does anyone have any information about this?
Looking at cran2deb [1] you can get an idea of the CRAN packages that
may qualify for Debian's restrictive notion of 'free'.
Regards
Liviu
[1]
Is there anything on CRAN that is NOT free? I assumed that CRAN
had a policy of not accepting anything that could not be freely
distributed, but I could not find any such statement in a quick search.
The code by Uwe identified 52 packages with file LICENCE or file
LICENSE, plus others
On 02.10.2010 19:38, Spencer Graves wrote:
Is there anything on CRAN that is NOT free?
Oh dear, dangerous terrain
Yes, there are some non-free packages on CRAN according to the
terminology used by the Free Software Foundation. One example was
already given in the original question:
Hello,
I have a list ll - see below on which I would like to apply a function
accessing every pair of elements in the list. For instance, I want to apply
the sum function on 6635 + 6636 and return the sum, the on 6635 +
6637, ...
Any hint to do that using apply / mapply / rapply ?
Thanks,
On 02.10.2010 18:00, PQuery wrote:
Hello,
I have a list ll - see below on which I would like to apply a function
accessing every pair of elements in the list. For instance, I want to apply
the sum function on 6635 + 6636 and return the sum, the on 6635 +
6637, ...
Any hint to do that using
On Sat, Oct 02, 2010 at 10:38:22AM -0700, Spencer Graves wrote:
Is there anything on CRAN that is NOT free?
Lots.
Also notice that 'free' means more than redistribution.
I assumed that CRAN had a policy of not accepting anything that could not be
freely
That's the trouble
Thanks. Spencer
On 10/2/2010 10:51 AM, Dirk Eddelbuettel wrote:
On Sat, Oct 02, 2010 at 10:38:22AM -0700, Spencer Graves wrote:
Is there anything on CRAN that is NOT free?
Lots.
Also notice that 'free' means more than redistribution.
I assumed that CRAN had a policy of not
On 10/02/2010 07:38 PM, Spencer Graves wrote:
Is there anything on CRAN that is NOT free? I assumed that CRAN
had a policy of not accepting anything that could not be freely
distributed, but I could not find any such statement in a quick search.
The code by Uwe identified 52
Dear List,
I find Effects package very useful, but I believe I have found a bug in
allEffects function. Please consider the following code:
test - data.frame(tries= round(runif(40, 5, 300)),
tra = gl(4, 10, labels = c(V, D, C, L)),
prop= runif(40, 0, 1))
test$success - round(with(test,
Dear All
A quick update.
I just bundled a 30Gb EBS backed AMI for Windows 64, Revolution R and R64,
Deducer,R Commander,Java SDK, Chrome, Open Office, Acrobat Reader.
The AMI can be searched as a public image (search for ohR)
You can mail me for the admin password if you want to explore it
Hello, I am new in R
I try to build R on CentOS 64bit. *./configure --prefix=$HOME/soft *executed
without any errors. But make command print that error:
* DONE (codetools)
begin installing recommended package foreign
* installing *source* package foreign ...
sh: ./configure: /bin/sh: bad
Hi,
I'd been using R in the past and recently installed it on a new windoze 7
machine.
There have been many issues with compatibility and 32/64 bit apps etc and I did
find on google on isolated complaint that saveplot failed in scripts a long
time ago.
R seems to work fine except script-based
Hi Mike,
I am using Windows 7 x64 with
sessionInfo()
R version 2.11.1 (2010-05-31)
x86_64-pc-mingw32
First off the Rplots.pdf is created by your call to plot(). Just like
the console output is diverted when running scripts, it does not make
sense to send the graphics to the usual windows
On 10/03/2010 12:43 AM, Mike Marchywka wrote:
Hi,
I'd been using R in the past and recently installed it on a new windoze 7
machine.
There have been many issues with compatibility and 32/64 bit apps etc and I
did
find on google on isolated complaint that saveplot failed in scripts a
Dear Sir/Madam,
I have just installed R for Windows. I am trying to open a stata file and I
have
a problem. I have used the following commands:
install.packages(foreign)
library(foreign)
data.name - read.dta(file.choose())
# then I choose a kelleya.dta file and click on open and then
Hi Alla,
The error message suggests that kelleya is a function. What happens
when you type: str(kelleya) ?
Josh
On Sat, Oct 2, 2010 at 7:01 PM, Alla Manukyan allama...@yahoo.com wrote:
Dear Sir/Madam,
I have just installed R for Windows. I am trying to open a stata file and I
have
a
If I understand your problem correctly, I think you need to be doing:
summary(data.name)
The functions read.dta and read.spss both return things (data frames,
if you use the to.data.frame=T argument with read.spss). So whatever
variable you set is what you should be doing a summary on. In this
Dear R users,
Thanks!. After reading the suggestions I have decided to choose
png format
Bye and Best Regards,
Nilza
On Mon, Sep 27, 2010 at 11:18 AM, Barry Rowlingson
b.rowling...@lancaster.ac.uk wrote:
On Mon, Sep 27, 2010 at 1:39 PM, Nilza BARROS nilzabar...@gmail.com
wrote:
Dear R
Dear R-users,
I would like to know how could I read a file with different lines lengths.
I need read this file and create an output to feed my database.
So after reading I'll need create an output like this
INSERT INTO TEMP (DATA,STATION,VAR1,VAR2) VALUES (20100910,837460, 39,390)
I mean, each
Hello Nilza,
If your file is small you can read it into a character vector like this:
indata - readLines(foo.dat)
If your file is very big you can read it in batches like this...
MAXRECS - 1000 # for example
fcon - file(foo.dat, open=r)
indata - readLines(fcon, n=MAXRECS)
The number of lines
40 matches
Mail list logo