Displaying 20 results from an estimated 10000 matches similar to: "[R-SIG-Mac] language"
2008 Apr 15
2
a question of alphabetical order
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
avi?n#34
barco#33
bicicleta#3
?ngulo#37
cami?n#54
coche#23
tren#67
> toPlot <-
2008 Apr 06
1
[R-SIG-Mac] sizing of quartz
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, so less to learn.
>
I assumed that > version provides most of the
2008 Oct 01
9
time segments intersection
Hi all,
Please, how could I calculate the time that two time segments has in
common? Is there any function to perform this calculation?
For instance, given four POSIXlt objects...
endPeriod<-as.POSIXlt("2008-09-30")
startPeriod<-as.POSIXlt("2007-10-01")
endProject<-as.POSIXlt("2007-05-31")
startProject<-as.POSIXlt("2006-12-01")
that limit
2008 Apr 15
6
looking for a string
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 Jalapa?
I've been looking at regex, but I didn't find how pass one to unidad
2008 Feb 13
5
passing username and password to source()
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 authorization
parameters together with the link.
Thanks you for your help,
Ricardo
--
Ricardo
2008 Apr 18
5
vector in filename
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)
dev.off()
x=x+1
y=y+1
2009 Aug 06
3
using cat()
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,
Ricardo
--
Ricardo Rodr?guez
Your XEN ICT Team
2006 Dec 31
3
tabulate: switching columns and rows
Hi all,
Please, is there any way of controlling factors in row/columns when using ftable/xtabs? As far as I can see, the last cross-clasifing variable in the formula will appear in columns. The previous ones, in rows. For instance, is it possible to make tension and replicate appear in columns?
ftable(xtabs(breaks ~ wool + tension + replicate, data = warpbreaks))
After some years using SAS
2006 Nov 24
2
axis in an image() plot
Hi all,
I've found quite usefull colored-grid created by image() but I'm facing a doubt I am not able to solve.
Given the following data rectangle...
1 2 3 4 5 6 7 8 9 10 11 12 13 14
1 12 22 0 7 2 1 0 2 0 2 6 -3 0 3
2 0 -1 0 9 3 -4 0 0 0 0 3 0 0 0
3 29 45 6 12 16 85 -2 0 -3 -4 89 -1 -1 1
4 2 9 3 6 17 3 -2 -9 -2 8
2007 Jan 02
3
graphical parameters: margins
Hi all,
Please, while using image() which is the graphical parameter which control the space between ylab and the y axis? I do need to write a number of relatively long y labels and I am not able the control, if possible, this space.
See the effect I need to avoid...
http://nvx.environmentalchange.net/@rrodriguez/images/overlapping.jpg
Thanks for your help,
Ricardo
--
Ricardo Rodr?guez
Your
2008 Apr 29
3
generic question -> Genomics with R
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!
Please, could you help me to go in the right direction?
Thanks!!!
Ricardo
--
Ricardo Rodr?guez
2008 Oct 07
11
Creating GUIs for R
Hi all,
I have looked around for help on creating GUIs for R, but haven't found
anything. I would be interested in any advice or webpages that have
information on the best language, tutorials etc. for creating simple GUIs.
Mainly I want to do this as a heuristic exercise.
Thanks for any help.
Wade Wall
[[alternative HTML version deleted]]
2009 Aug 09
1
wget parameters
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...
download.file('http://username:password@xepecnet.environmentalchange.net/xwiki/bin/view/ICT/RGraphicSample02','RG02',method='wget')
I can get a
2012 Jun 06
2
non ascill characters in plots. no alternative but plotmath?
A student entered some data with text characters like epsilon and
alpha. On her Windows system, the Greek letters did not display
properly in a plot. There were some ordinary ASCII instead.
I asked her to send me the code so I could test. For me, the plot
looks ok on the screen.
Format1 <- c(320,500,700,1000,500,320,700,500,320)
Format2 <- c(800,1000,1150,1400,1500,1650,1800,2300,2500)
2010 Aug 18
1
Again: wget parameters
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
from a google site that has restricted access so I need to give a username
and password at some point. I could not find an example or a help file that
shows how this can be done. You post is one of few but it does not
2008 Feb 12
3
fun.aggregate=mean in reshape
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, length)
month ozone solar.r wind temp
1 5 26 27 31 31
2 6 9 30 30
2006 Dec 30
3
getting a new factor
Hi all,
Given a data frame as...
> head(veg)
genus species trophia type geo zone importance
1 Sphagnum subsecundum M A En 100
2 Sphagnum denticulatum M A En 200
3 Molinia caerulea M A En 300
4 Sphagnum flexuosum M A En 400
5 Juncus squarrosus M A En 500
6
2006 Oct 28
1
building RMySQL under Mac OS X
Hi,
Please, is out there anybody using RMySQL under Mac OS X? I'm trying to build it without much success. How must I add/locate mysql.h and lmysqlclient library?
Thanks for your help,
Ricardo
--
Ricardo Rodr?guez
Your EPEC ICT Team
2008 Sep 25
1
Repeated factor levels - inconsistency of factor and levels<- functions?
Hello,
I have a vector x containing letters ("a", "b" etc.). Now I want to
convert it to factor and group some letters into one common level. If I do
it by factor function, giving the same label names for all values I want
to group, it doesn't work:
> x<-letters[1:5]
> x
[1] "a" "b" "c" "d" "e"
>
2006 Nov 07
3
have I an actual matrix?
Hi all!
I do hope question from newcomers are wellcome here! Thanks in advance.
Trying to catch up and to acquired the needed background to easily
read R documents it is being a bit hard to me to get into the
required concepts to deal with data.
I am trying to get data from a MySQL database and plotting it with
barplot. Here the code...
library(RMySQL)
con <- dbConnect(dbDriver