Displaying 20 results from an estimated 4000 matches similar to: "getting source file name"
2002 Apr 18
1
grid lines outside plot region in version R1.4.1
Hello everybody,
if I'm using par(xpd=NA) gridlines will plotted outside the plotting region. This is "new" (and, in my
opinion, unaesthetic) in version 1.4 - compared to version 1.3. Is this a bug or a feature?
Example:
------------------
par(xpd=NA)
plot(1:11)
grid()
------------------
platform sparc-sun-solaris2.6
arch sparc
os solaris2.6
2002 Apr 11
2
"CTRL-C" and "try"
Hello everybody,
if I'm running a R-script on a command line R-session which uses the function "try" and I'd like
to interrupt the execution of my R-script pressing "CTRL-C" than R ignores the first "CTRL-C"
key stroke and after I pressed "CTRL-C" second time R by itself is interrupted and I fall back
to the (UNIX-) command prompt. Without using
2003 Jul 17
1
line length limitation in ROracle
Hello everybody,
I found that queries (send by "dbExecStatement" ) with more than 4000 characters
length produces an error in ROracle (ver 0.3-3). Maybe there is a limitation of 4kB....
Is this a bug? If yes, is this problem solved in the latest version of ROracle (ver 0.5-0)?
My system information:
platform sparc-sun-solaris2.8
arch sparc
os solaris2.8
2003 Sep 25
1
multiple plot layout and filled contour
Hello everybody,
Could anybody give me a hint how I can use "layout" and "filled.contour" (or "image"
plot with a color legend) together, please?
What I want to do is something like the following example (Two or more plots with a
legend for each at one page):
data(volcano)
layout(matrix(1:2, 1, 2, byrow = TRUE))
for (i in 1:2) {
filled.contour(i*volcano, color =
2004 May 04
1
How to use multiple versions of a R library?
Hello everybody,
is there a possibility to install and use multiple versions of a R library
at the same time?
A few words regarding the background of this question:
If I change functions of an already developed package, I have to
verify complex functions in a lot of R applications. So it would be useful
to use different versions of a function/library and switch to the newer
function/library
2005 Jul 21
3
Rprof fails in combination with RMySQL
Dear R community,
I tried to optimized my R code by using Rprof. In my R code I'm using MySQL
database connections intensively. After a bunch of queries R fails with the
following error message:
Error in .Call("RS_MySQL_newConnection", drvId, con.params, groups, PACKAGE = .MySQLPkgName) :
RS-DBI driver: (could not connect mylogin@mydatabase on dbname "myDB"
2003 Aug 12
2
who to rbind of a list of data.frames
Hello everybody,
could anybody give me a hint, who I can use rbind on a list of data.frames, please?
I have a list with a large number of data.frames of the same structure, like:
LIST <- list(X1=data.frame(a=1,b=2), X2=data.frame(a=3,b=4), X3=data.frame(a=5,b=6), ...., XN=data.frame(a=i,b=k))
I would like to bind all data.frames very fast to a single data.frame, something like that:
DF <-
2002 Feb 04
1
converting string to float
Hello everybody,
I have following string type and try to convert it to float:
> a<-"20020104.123456"
> str(as.numeric(a))
num 20020104
> str(as.real(a))
num 20020104
> str(as.double(a))
num 20020104
How can I get an float instead of an integer? How can I set the desired precision?
Thanks in advance
Lutz Thieme
Lutz Thieme
AMD Saxony Manfacturing GmbH
Product
2005 May 30
3
rbind wastes memory
Hello everybody,
if I try to (r)bind a number of large dataframes I run out of memory because R
wastes memory and seems to "forget" to release memory.
For example I have 10 files. Each file contains a large dataframe "ds" (3500 cols
by 800 rows) which needs ~20 MB RAM if it is loaded as the only object.
Now I try to bind all data frames to a large one and need more than
2002 Jul 03
0
boxplots with weighted data
Hello everybody,
is there an easy way to plot boxplot with weighted data
(without multiplieing my data)?
Thank's in advance
Kind regards,
Lutz
Lutz Thieme
Product Engineering
AMD - Saxony Manufacturing GmbH
phone: + 49-351-277 - 4269
fax: + 49-351-277-9-4269
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2004 Feb 10
0
name space conflict using RMySQL and ROracle
Hello everybody,
could anybody give me a hint how to to use RMySQL and ROracle libraries at the same
time without getting conflict with name spaces?
Because it needs to much time, unloading and reloading the libraries is no solution...
Example:
----------- snip -----------------
library(ROracle)
library(RMySQL)
mysql <- MySQL()
con <- dbConnect(mysql, user=MySQL.name, password=MySQL.pwd,
2002 Jun 07
2
offset labeling boxplots
Hello everybody,
often I plot boxplots with different number of boxes (up to 200 boxes).
I'd like to give every box a readable label on the x-axis. Therefore, I
decrease the fontsize of the names and plot them vertical.
But if you zoom into the plot (pdf) you will find an offset between the
tickmark and the label - the label is shifted to the right.
If you vary the box.count in the
2001 Nov 27
1
workweek calculation
Hello everybody,
I'm looking for a library or function to calculate a workweek from
a given date, but I didn't found it. Could anybody help, please?
Thank you in advance!
Best regards,
Lutz Thieme
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2002 May 06
4
Subtitle?
Hi,
Is it possible to add a subtitle that appears directly below the main
title?
I tried the "sub" parameter, but it adds sub-title to the bottom of the
plot.
Cheers,
Kevin
------------------------------------------------------------------------------
Ko-Kang Kevin Wang
Postgraduate PGDipSci Student
Department of Statistics
University of Auckland
New Zealand
Homepage:
2008 Nov 17
2
Command line arguments with source() - Windows OS
Hi Everyone,
I am pretty new to R and so far have mostly been using R interactively
through the Windows console.
I'm starting to write some scripts, and have been executing them using the
source() command, i.e. source(myRfile.R).
My questions is how can I pass command line arguments to R. My file
"myRfile.R" has some global variables which I would like to be able to set
at
2019 Nov 27
4
Error while trying to manage file share
I checked my entire setup again and again. Now I can see the my share. The
most relevant change I did (afaik - ofcourse):
- since I am using ad backend I created dedicated unix admin groups (as
recommended in the docs)
- I removed the $ from the share section/defnition ([projects$] ->
[projects])
- I changed browseable switch from 'no' to 'yes'
Iam still getting the "event
2009 Nov 10
1
problem with executing r-function from windows command prompt
Hi all,
I am trying to execute one function from windows command prompt
and I am trying to execute queries like source(myRfile.R) but itis
throughing runtime errors can any one help me how can i run my
*.R file and how can i call a function in that *.R file
thanks in advance
kiran.
[[alternative HTML version deleted]]
2001 Jun 20
8
[Lutz.Jaenicke@aet.TU-Cottbus.DE: 2.9p1: HP-UX 10.20 utmp/wtmp handling broken?]
Hi!
I am resending the following message about problems with utmp handling.
* In the meantime I had some request in private mail from people asking
whether I have new information.
* The problem is still persistant in 2.9p2.
* My own new investigations show, that the problem only appears with
protocol 2, not with protocol 1, I therefore only started to note it
when protocol 2 became the
2010 Aug 10
4
[PATCH] Values of cpu_weight and cpu_cap are lost after xend restart
# HG changeset patch
# User Lutz.Dube
# Node ID ca2c8c262dbaa6b2521cec60af7cd688dabdf850
# Parent 8992134dcfd0b9e1e86f4111e68a8aa48bd33c3c
Values of cpu_weight and cpu_cap are lost after xend restart
For managed domains in state ''halted'' I always get default values
for cpu_cap / cpu_weight after xend restart.
This is because the names of parameters differ between a SXP file to
2000 Sep 14
2
openssh 2.2.0p1 fails with openssl 0.9.6-beta1
On Wed, Sep 13, 2000 at 09:13:26AM +0000, Graham Murray wrote:
> On upgrading to openssl 0.9.6-beta1, I find that openssh 2.2.0p1 fails
> to connect.
I did some more experiments and also saw the problems.
They occur when using a 0.9.6-beta client to connect to 0.9.5a and 0.9.6-beta
servers.
They also occur when using a 0.9.5a client connecting to a 0.9.6-beta
server.
Connections fail with