Displaying 20 results from an estimated 3000 matches similar to: "graphical parameters: margins"
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
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 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
2006 Oct 09
1
accesing MySQL through JDBC
Hi all,
Completely new to this list and completely new to R so, please, accept my apologies in advance if any question is too basic or out of place. Thanks.
After reading some docs, googling around and searched the mail lists I've only found spare references to accessing databases. Among these references, few are related with JDBC and none of them include both MySQL and JDBC access.
Our
2005 Dec 09
1
Marking with firewall
Hi all,
I''ve been trying to do the above and read everything I can find on
Google on the subject, but something seems to be going wrong. I tried
the following sample rules in iptables (initially I just set the first
one, but I added more as my desperation escalated):
iptables -t mangle -A PREROUTING -p icmp -j MARK --set-mark 1
iptables -A FORWARD -p icmp -j MARK --set-mark 1
2008 Feb 12
2
[Bridge] Bridge and iptables
Hi,
I am using linux kernle-2.6.15, iptables-1.4 and bridge-utils-1.4.
Everything intslled without any issue and i am able to enable the
bridge and traffic is also flowing without any issue.
But i did not see any traffic on the iptables forward chain due to
which i am not able to control the traffic.
Do i requie enable anything more to make the traffic pass through
iptables forward chain.
2007 Aug 30
1
Barplot2 using for loop, how to adjust margins?
Hi R-users,
I inted to make multiple plots using for loop. The question is how can
I adjust the left hand side margin of the plot according to the
names.arg argument in barplot2. In every plot I have different
annotations in the y axis and they vary in length. Now when I have
fixed margins
opar <- par(mar=c(3,15,0,2)...
I get the same margins in all of the plots. That leaves lots of white
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
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
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
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
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
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
2000 Feb 02
1
Outer margin (oma) settings for pairs()
I propose the following small changes to pairs.default.
The point is to allow control of the outer margin settings,
so that there is for example room for legends.
[Note also the issue re the setting of par()$usr on exit]
----------------------------------------------------------------
(1) Replace
function (x, labels, panel = points, main = NULL, font.main =
par("font.main"),
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 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]]
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
2008 Apr 15
1
[R-SIG-Mac] language
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 Mac OS port of R uses the
> stanard libintl from the R