Hi!
Santosh Srinivas wrote:
Dear R-helpers,
Considering that a substantial part of analysis is related data
manipulation, I'm just wondering if I should do the basic data part in a
database server (currently I have the data in .txt file).
For this purpose, I am planning to use MySQL. Is MySQL
Hi,
Please, could you tell me if is there a R package that allow to draw
spherical quadrants?
The value of each point of the quadrant has to represent the power
generated by a kite on that point tied to a line located in the center
of the quadrant.
Please, could you give me any clue?
Thanks, Jim!
Jim Lemon wrote:
You may find that the radial.plot function in the plotrix package will
do what you want. I think you are looking at the polygon type of plot.
It seems to me that I've a lot of things to learn only from plotrix
package! With the functions included in this
Thanks for pointing me on that direction! Extremely feature-rich this,
as usual, package!
Duncan Murdoch wrote:
The rgl package can do general 3D plotting, but I don't know of anyone
who has put together what you're looking for, so you'll need to compute
the individual line segments or
Hi Christian!
Sorry for being late.
David Winsemius wrote:
On Aug 18, 2010, at 2:58 PM, christiaan pauw wrote:
Hi Ricardo and everybody
In this old post to rhelp you say that the problem was solved but not
what
the sollution was. I have the same problem now. I want to read a Excel
file
Thanks Gavin.
Gavin Simpson wrote:
Unfortunately, binaries are not available on CRAN for MacOS X and
Windows, though Prof. Brian Ripley provides a binary for the later - see
the link on the RCurl page on CRAN:
Installation of the source worked like charm by using R package
installer after
Thanks again, Gavin.
Gavin Simpson wrote:
On Fri, 2010-08-27 at 11:43 +0200, [Ricardo Rodriguez] Your XEN ICT Team
wrote:
Thanks Gavin.
Gavin Simpson wrote:
Unfortunately, binaries are not available on CRAN for MacOS X and
Windows, though Prof. Brian Ripley provides a binary for the later
OK!
Gavin Simpson wrote:
Sorry, I meant:
install.packages(RCurl, type = source)
G
Here the output. Now, it seems to install without a glitch. I'm afraid I
won't learn this time the origin of that message!
http://xen.net/txt/installSourceRCurl20100827.txt
Thanks for your help,
Hi all,
We are facing a problem while introducing ourselves to Reshape package
use. Melt seems to work fine, but cast fails when we use mean as
fun.aggregate. As you see here, length and sum work fine, but mean
throws this same error whatever dataset we use.
cast(aqm, month ~ variable,
Peter McMahan wrote:
try something like this:
username - abc
pass - 123
source(paste(http://,username,:,pass,@mire.environmentalchange.net/~webmaster/R/3Dsurface.r,sep=;))
I'm not sure it'll work but it's worth a try.
Thanks, Peter. It didn't work. I am guessing it depends
Please, is it possible to pass an username and a password to source() to
access code stored in restricted access web server?
I know I can use commands like...
source(http://mire.environmentalchange.net/~webmaster/R/3Dsurface.r;)
but I am not able to find if it is possible to pass
Charilaos Skiadas wrote:
It tells you that a call to get was attempted looking for a variable
of mode function, and such a variable was not found. The problem is
of course that the call tells you the variable is named fun, while
you expected it to be named mean. But it alerts to the fact
Sundar Dorai-Raj wrote:
Do you have an object called 'mean' that's masking the base::mean
function? I can replicate your error using the following:
HTH,
It did! I had a mean object in the current workspace. Once it was
deleted, the argument works without a glitch.
Sorry for being late
Dieter Menne wrote:
One way to handle this is to use Sys.setenv/Sys.getenv to pass parameters by
environment. Make sure, however, that this does not violate security, because
these parameter could be read by other programs. A quick workaround would be
that the receiving program immediately
Phil Spector wrote:
Ricardo -
The authentication can't be done through environmental variables --
the only way is to send an Authorization header. I believe the
environmental variables that Dieter is thinking of are the ones that
are created on the server side based on the headers that
Phil Spector wrote:
Ricardo -
If you use cat to look at the variable request in the getauth
function that I sent you previously, you'll see exactly what I'm
saying to the server. It's something like this:
GET /myfile.txt HTTP/1.1
Host: mycomputer.com
Authorization: Basic
Hi all,
As R is gaining space in our research group as language and environment
for statistical computing and graphics it will be really helpful to have
the option of using R as a web service.
We are currently using a collaborative edition wiki tool (XWiki) to
develop R code. And we can call
Please, could you give me an example about how to use cat() to read the
value of a variable in a function? Any other way?
I've found how to make it globally available, thus printing it, but I
don't know how to read out the value of any variable within the function.
Thanks for your help,
Thanks, Bill
bill.venab...@csiro.au wrote:
fn - function(x) {
j - x+1
cat(the value of j is , j, \n)
j
}
fn(1:10)
It is clear for me now the use of cat(). As Steve pointed out in his
mail, I've failed at providing an example, one of the rules of thumb of
this list!
Thanks, Steve,
Steve Lianoglou wrote:
It seems like you're asking to use cat() for something it's not meant
to do. cat() is generally used to write output, either to the screen
or to a file.
Sorry for not adding an example to my first post! And yes, I was trying
to use it for something it
Sorry,
[Ricardo Rodriguez] Your XEN ICT Team wrote:
eval(parse(text=getauth('http://tinyurl.com/ne5bl3',user,pass)))
I get NULL.
Please, use DummyDummy as user and dummy as pass if you want to try
it. Thanks.
I think the proposed URL could present some more problems. Please, use
this one
Hi,
Following an example I've received from Phil Spector, I am trying to get
a remote file by using download file.
The concerned remote server doesn't username and password passed with
the URL, thus this line fails...
Please, accept my apologies for keeping posting in HTML format! Solved!
Greetings,
Ricardo
[Ricardo Rodriguez] Your XEN ICT Team wrote:
Hi,
Following an example I've received from Phil Spector, I am trying to get
a remote file by using download file.
The concerned remote server doesn't
Hi all,
It is for sure that I could find more powerful packages to plot my data,
but this simple barplot() was doing well so far.
My problem now is that I would need to rotate bar labels.
Please, is this possible without going to use axis()?
I am trying to keep the workflow as simple as
Thanks Peter,
Peter Alspach wrote:
Ricardo
The las argument will allow rotation of 90 degrees:
par(mfrow=c(2,2))
barplot(1:10, names=letters[1:10], las=0)
barplot(1:10, names=letters[1:10], las=1)
barplot(1:10, names=letters[1:10], las=2)
barplot(1:10, names=letters[1:10], las=3)
If
Oops! Sorry! Accept my apologies. I've sent this message to the wrong list.
Best regards,
Ricardo
[Ricardo Rodriguez] Your XEN ICT Team wrote:
Those are good news.
Prof Brian Ripley wrote:
You didn't tell us the version of R. quartz() is different in 2.7.0
alpha
Those are good news.
Prof Brian Ripley wrote:
You didn't tell us the version of R. quartz() is different in 2.7.0
alpha, and there the function arguments do work (and the size is
really as advertised and not at a notional 72dpi). In fact, it is a
much more standard device and interface,
Hi all,
I have not been able to find an answer to what is a simple question:
conaguaMexicoSub - subset(conagua, unidad == Jalapa, select =
c(equipo,X101:X309))
This subset gives me all the rows from conagua where unidad is Jalapa.
But, please, how do I get all the rows where unidad contents
Thanks! Here what I get:
Henrique Dallazuanna wrote:
Try something like this:
x[grep(Jalapa, x$unidad),, drop = F]
conaguaMexicoSub - subset(conagua, unidad == x[grep(Jalapa,
x$unidad),, drop = F], select = c(equipo,X101:X309))
Error en x$unidad : $ operator is invalid for atomic vectors
Charles C. Berry wrote:
You want
?regexpr
Something like
regexpr(Jalapa, as.character( unidad ) ) != -1
HTH,
Chuck
Please, look at this...
substringJalapa - regexpr(Jalapa, as.character(conagua$unidad ) )
!= -1
Hubo 50 o más avisos (use warnings() para ver los primeros
Thanks.
Prof Brian Ripley wrote:
Which messages? R.app and R itself handle this differently for their
messages.
You will find a discussion in the 'R Installation and Administration'
manual. You don't give an address, but I suspect you are in a
Spanish-speaking locale. I believe the
Hi all,
In Spanish vowels with accent like á, é, ... doesn't affect to the
alphabetical order of vector of strings. I mean, a or á don't matter for
establishing the alphabetical order.
Nevertheless, while working with R order, here is what I get.
Given a file transport.txt
medio#variable
Tricky question, this order issue :-(
Thank you so much for the detailed explanation.
Thus, please, must I conclude that I will have to survive with this
ASCII order while working in Mac OS X 10.5.2 until Mac people fix this bug?
You spoke about es_ES.ISO8859-15 in Mac. Will it do the trick?
Thanks all,
[EMAIL PROTECTED] wrote:
From: [Ricardo Rodriguez] Your XEN ICT Team [EMAIL PROTECTED]
Date: 2008/04/14 Mon PM 07:43:23 CDT
To: Henrique Dallazuanna [EMAIL PROTECTED], r-help@r-project.org
Subject: Re: [R] looking for a string
henrique means to use his command directly
://mire.environmentalchange.net/~webmaster/images/MexRenderErrors.png
Well, the solution seems to be to set order with a locale, and to create
the output with the other, is this possible?
Thanks!
Ricardo
[Ricardo Rodriguez] Your XEN ICT Team wrote:
Tricky question, this order issue :-(
Thank you
Thanks Mark!
[EMAIL PROTECTED] wrote:
From: [Ricardo Rodriguez] Your XEN ICT Team [EMAIL PROTECTED]
Date: 2008/04/15 Tue PM 04:48:12 CDT
To: [EMAIL PROTECTED], r-help@r-project.org
Subject: Re: [R] looking for a string
Hi Ricardo: you can use the idea you
found below to apply
Thanks Hans!
Hans-Joerg Bibiko wrote:
Hi,
as already mentioned, sorting could be a pain.
My solution to that is to write my own order routine for a given
language.
The idea is to transform the UTF-8 string into ASCII in such a way
that the built-in order routine outputs the desired
Thanks Mark!
Mark Leeds wrote:
Hi Ricardo: you can look at ?regexpr but I'm pretty sure that below returns
a vector of TRUES and FALSES depending on whether the condition ( is Jalapa
contained in unidad ) is TRUE. So, wherever the vector is TRUE is where
Jalapa was contained in unidad. So,
Charles C. Berry wrote:
Like this:
conaguaMexicoSub - subset(conagua,
regexpr(Jalapa, as.character( unidad ) ) != -1
select = c(equipo,X101:X309))
But it looks like you have to sort out some issues concerning dueling
locales first.
Chuck
Far clear! Thanks! Now, if I
Mark Leeds wrote:
Hi Ricardo: I'm glad it helped but check
regexpr(Jalapa, as.character( unidad ) ) != -1
because I think it should be
regexpr(Jalapa, as.character( DF$unidad ) ) != -1
if unidad is a column of DF.
Checked! attach(DF) did the trick! :-)
Greetings,
Ricardo
--
Ricardo
Hans-Joerg Bibiko wrote:
Hola,
Muchas gracias!
This is new to me. I learnt Spanish a bit - well - 20 years ago ;)
But this simplifies it.
This change happens just 14 years ago! You you are not guilty!
Recuerdos
Hans
Saludos cordiales! Read you in Spanish whenever you want!
Ricardo
Hi,
I am trying to generate a group of graphics with an iteration. Some
thing like this...
x=1
y=1
max=10
myfiles - paste(foo, x:max, .png, sep=)
while (x = max)
{
png(file=myfiles, pointsize = 20, width = 600, height = 600,
units = px, bg=#eaedd5)
plot(x,y)
Hi,
Simon Blomberg wrote:
How about this:
x - 1
y - 1
mmax - 10
my.files - paste(foo, x:mmax, .png, sep=)
for (i in my.files) {
png(filename=i, pointsize=20, width=600, height=600, units=px,
bg=#eaedd5)
plot(x, y)
dev.off()
x - x+1
y - y+1
}
Thanks Hadley,
hadley wickham wrote:
Have you looked at ?png :
filename: the name of the output file. The page number is substituted
if a C integer format is included in the character string, as
in the default. (The result must be less than 'PATH_MAX'
Hi everybody,
I am trying to make my mind about the use of R for Computational and
Statistical Approaches to Genomics.
I know this is a vaste field: this is the main reason why I am sending
this message to this always useful list! Any key/entry point to this
field will be extremely welcome!
Thank you so much. All the answers lead me to BioConductor and Task
Views. Currently, I've not a precise task to solve, but I do need to
draw a landscape about this topic. Your messages have helped a lot.
I don't know why, but I don't reach BioConductor website by googling or
searchmashing.
Hi John,
John Kane wrote:
help(%in%) may be of use. However I don't see any overlap in your example.
You are right! I've choosen an example where the intersection is 0. But we
could consider this other case...
endPeriod-as.POSIXlt(2008-09-30)
startPeriod-as.POSIXlt(2007-10-01)
2008-10-05 3 8
2008-10-06 4 9
2008-10-07 5 10
range(time(merge(z1, z2, all = FALSE)))
[1] 2008-10-02 2008-10-07
On Wed, Oct 1, 2008 at 12:48 PM, [Ricardo Rodriguez] Your XEN ICT Team
[EMAIL PROTECTED] wrote:
Hi all,
Please, how could I calculate the time that two time segments
Hi Mark,
[EMAIL PROTECTED] wrote:
hi: I don't know if it's the best way but one way is to use an
POSIXct object. ( you can convert using as.POSIXct(
strptime(datestring)) because then each unit of digit is a second
and you can proceed from there. if you explain what you want to do
Hi,
Gabor Grothendieck wrote:
Try this:
install.packages(zoo, dep = TRUE)
Here the result. I've tried with a couple of mirrors (Bristol and Spain):
install.packages(zoo, dep = TRUE)
--- Please select a CRAN mirror for use in this session ---
Warning: unable to access index for repository
OK. Please, how do I force the select directory window to pop-up after
selecting a given repos and without restarting R?
When I submit install.packages(zoo, dep = TRUE) for the first time
after R starts, I am required to select a mirror. But this doesn't
happen in the next install command at
PM, [Ricardo Rodriguez] Your XEN ICT Team
wrote:
Hi Mark,
[EMAIL PROTECTED] wrote:
hi: I don't know if it's the best way but one way is to use an
POSIXct object. ( you can convert using as.POSIXct(
strptime(datestring)) because then each unit of digit is a second
and you can proceed from
Thanks Gabor,
Gabor Grothendieck wrote:
Try:
chooseCRANmirror()
It works the call to the pop-up window, but it fails now whatever mirror
I use with the following message:
install.packages(zoo,repos=chooseCRANmirror())
/bin/sh: tar: command not found
Error in sprintf(gettext(fmt, domain =
Thanks Mark,
[EMAIL PROTECTED] wrote:
# MAKE POSIXct OBJECTS FROM CHARACTER STRINGS
temp1 - as.POSIXct(strptime(2007-02-02,%Y-%m-%d))
temp2 - as.POSIXct(strptime(2007-02-01,%Y-%m-%d))
# TEMP1 AND TEMP2 ARE SORT OF NUMBERS BUT EACH UNIT IS ONE
# SECOND
result - difftime(temp1,temp2)
# STILL
Thanks Hadley,
hadley wickham wrote:
Also ensure that you have an up-to-date version of R.
Hadley
I think the most recent release...
version
_
platform i386-apple-darwin8.11.1
arch i386
os
Thanks Mark!
Mark Leeds wrote:
Hi Ricardo: My date knowledge is mostly restricted to as.POSIXct so I don't
know what else to tell you. Did you ever work out that zoo downloading
problem because Gabor's solutions are usually excellent.
I've not worked out the problems I am facing while
Thanks Gabor,
Gabor Grothendieck wrote:
If those do not work try installing some other packages, e.g. chron,
to see if you can install anything. If you still have problems there
is something wrong with your installation. Ask on the r-sig-mac list.
You are right: something is wrong with
Thanks, Ben
Ben Bolker wrote:
Since this is not my package (and I'm still not a Mac user),
I think you must think about becoming a Mac person in spite of this
problems :-)
I really have no idea ... I never heard back from Andrew, don't
know if he found a solution or if the problem
Hi!
[Ricardo Rodriguez] Your XEN ICT Team wrote:
Thanks Gabor,
Gabor Grothendieck wrote:
If those do not work try installing some other packages, e.g. chron,
to see if you can install anything. If you still have problems there
is something wrong with your installation. Ask on the r-sig
Gabor Grothendieck wrote:
Mark did not post his response so I don't know what it
is.
This is Mark's proposal. Sorry, I was speaking about it as if posted to
the list.
# MAKE POSIXct OBJECTS FROM CHARACTER STRINGS
temp1 - as.POSIXct(strptime(2007-02-02,%Y-%m-%d))
temp2 -
Thanks.
Gabor Grothendieck wrote:
Assuming the first row is the comparison row convert
to Date class and calculate:
DF[] - lapply(DF, as.Date, format = %Y/%m/%d)
pmin(DF[[2]], DF[1, 2]) - pmax(DF[[1]], DF[1,1])
Please be explicit next time in formulating your queries
as requested in the last
Greg Snow wrote:
Wade,
What type of GUI do you want?
Do you want a full GUI that the user runs to do everything (that uses R as the
computational engine)? Look at R commander, JGR, and the R plugin for Excel as
possible examples.
Hi Wade,
I am trying to introduce some users to R without
Greg Snow wrote:
http://rcom.univie.ac.at/
Or just install the RExcelInstaller package and run the installRExcel function.
A book on the interface will be coming out sometime in Winter.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
[EMAIL PROTECTED]
Hi,
eugene dalt wrote:
Check out R-PLUS 3.3 from XLSolutions Corp. They have a GUI that you can
easily expand. www.Experience-Rplus.com
Windows only? We are trying to moved out of Windows. The objective is to
promote an environment that support us much environments as possible.
Linux,
Thanks Greg,
Greg Snow wrote:
I am not involved in the RExcel project. I have just had some discussions with
the people that are, so you should contact them for specific questions.
I believe that this currently only works on windows, there was some mention of possibly
expanding it to
function available to everyone
else (none of whom know R). Very happy with it.
Good luck,
Roger
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [Ricardo
Rodriguez] Your XEN ICT Team
Sent: Thursday, October 09, 2008 5:05 PM
To: Greg Snow
Cc
John Kane wrote:
No but have you had a look at Tinn-R http://www.sciviews.org/Tinn-R/.
Any similar option for Mac OS X?
Please, accept my excuses for cross posting, but I think this message
could/should also be addressed to the R-SigMAC list. Thanks!
Best,
Ricardo
--
Ricardo Rodríguez
Thanks,
Bjørn-Helge Mevik wrote:
[Ricardo Rodriguez] Your XEN ICT Team webmas...@xen.net writes:
John Kane wrote:
No but have you had a look at Tinn-R http://www.sciviews.org/Tinn-R/.
Any similar option for Mac OS X?
I guess you can use Emacs on Mac OS X.
I've downloaded
Hi!
Corrado wrote:
Eclipse + StatET (the R plugin) both on Linux and Windows
Please, does it work with Eclipse 3.5 Galileo on a Mac OS X (10.5.8) box?
Thanks!
--
Ricardo Rodríguez
Your XEN ICT Team
__
R-help@r-project.org mailing list
Hi!
Jorgy Porgee wrote:
Hi all, not sure if this is the right place to ask this but R not
being such a mainstream app, can't find the answer anywhere. I plan
to upgrade to Snow asap and just wondering if anyone else has already
and has successfully used R on Mac OSX 10.6. If so, what version?
Thanks, Corrado.
Corrado wrote:
I am using 3.4.2 not 3.5, I would not know. But it is worth visiting the
STATET mailing list archive and subscribe to the mailing list.
FYI, here the available public testing version for Eclipse 3.5
Hi,
ANJAN PURKAYASTHA wrote:
Most books on R I come across describe running statistical procedures in R.
Any suggestions on a good book that teaches *programming* in R?
Thanks,
Anjan
This is being really useful for me...
John M. Chambers (2008) Software for Data Analysis. Programming with
72 matches
Mail list logo