Displaying 20 results from an estimated 900 matches similar to: "problems with tcltk in R 2.0.1 (PR#7698)"
2004 Jun 15
2
tapply/barplot (PR#6983)
Hello,
there seems to be a bug in tapply or barplot in R 1.9.0 that was not in =
earlier versions. The following code creates two nice barplots in 1.7.0, =
but the first one is bad in 1.9.0:
par(mfrow=3Dc(1,2))
x <- rep(1:10,10)
y <- runif(100,1,100)
z <- tapply(y,x,mean)
barplot(z)
barplot(as.numeric(z))
although is.numeric(z) returns TRUE!
Best regards,
Vidar Hjellvik
Institute of
2005 Sep 01
3
source(file) => file becomes readonly
Hello,
when I work in R, I write code in a text file that I run with the "source(filename)" command. In R2.1.1 the file is read-only while the source command is executed. This was not the case in R2.0.1. Is this a bug-fix or is it possible not to have the file read-only when executed?
Best regards
Vidar
2005 Feb 10
2
Mean calculated from R1.9.1 different from R2.0.1
Hello,
I ran my simulations on the Unix verson of R1.9.1 and the Windows version
of R2.0.1 on XP. I kept getting different values for the mean of the same
column of the same matrix, and am perplexed. I would appreciate if anyone
could help explain the difference?
Here is a sample code:
set.seed(7293)
z1v <- rnorm(1000, mean=68, sd=13)
z1v <- (z1v-mean(z1v))/sd(z1v)
Using R1.9.1 on Unix,
2004 Nov 22
2
Danish characters i R2.0.1 vs R1.9.1 under winXP
Hi all.
After upgrading to R2.0.1 i get
> "??"
[1] "??"
> "??"
[1] "\370"
> "??"
[1] "??"
Whereas under R1.9.1 i get
> "??"
[1] "??"
> "??"
[1] "??"
> "??"
[1] "??"
Any hints apreciated.
Steen
Steen Ladelund, statistician
+4543233275
2005 Feb 17
2
How to upgrade library from R 1.9.1 to R 2.0.1
Dear All:
I have a library for R 1.9.1, it is very easy to setup a library in R 1.9.1.
For example:
I want to setup a library "test" for R1.9.1.
1. Create a folder "test" in the direct X:\ R\ rw1091\ library \.
2. Create a file "DESCRIPTION" in the direct X:\ R\ rw1091\ library\ test\.
3. Modify the "Package:" and "Title:"
2005 Oct 10
1
using innov in arima.sim
Hello,
I have used the arima.sim function to generate a lot of time series, but to day I got som results that I didn't quite understand. Generating two time series z0 and z1 as
eps <- rnorm(n, sd=0.03)
z0 <- arima.sim(list(ar=c(0.9)), n=n, innov=eps)
and
z1 <- arima.sim(list(ar=c(0.9)), n=n, sd=0.03),
I would expect z0 and z1 to be qualitatively similar. However, with n=10 the
2005 Apr 04
1
RDCOMServer for R 2.0.1 + Windows ?
Has anyone managed to get this working?
Here's what I did:
I got the binary build for R2.0.1 from the Omegahat
download page, and made a small change to
the registerClassID function ( to make it use
the right path to RDCOMServer.dll).
Then I tried to replicate the simple TTest example
from the same web site. The COM class definition
and registration worked fine for me.
To test this, I
2005 Feb 03
2
Surprising Behavior of 'tapply'
Dear all,
I wanted to make a two-way-table of two variables with a counting
variable stored in another column of a dataframe. In version 1.9.1, the
behavior is as expected as shown in the simplified example code.
> sex <- rep(c("F", "M"), 5)
> income <- c(rep("low", 5), rep("high", 5))
> count <- 1:10
> mydf <-
2008 May 09
1
predicting from coxph with pspline
Hello.
I get a bit confused by the output from the predict function when used
on an object from coxph in combination with p-spline, e.g.
fit <- coxph(Surv(time1, time2, status)~pspline(x), Data)
predict(fit, newdata=data.frame(x=1:2))
It seems like the output is somewhat independent of the x-values to
predict at. For example x=1:2 gives the same result as x=21:22. Does the
result span the
2005 May 12
3
R2.1.0: Bug in list.files
R2.0.1 (MS Windows)
> list.files(myloc,"*.zip",full=T)
[1] "P:/SARsoftware/Rlibraries/gnlm_0.1.zip"
[2] "P:/SARsoftware/Rlibraries/lms2_0.2.zip"
R2.1.0:
> list.files(myloc,"*.zip",full=T)
Error in list.files(path, pattern, all.files, full.names, recursive) :
invalid 'pattern' regular expression
Bug? or have I missed something
2005 Jun 15
2
ploting error
Hello!
I've tried to execute an R script that I used to use with older versions with
no problem. In the scrip ,I try to create a series of plots in png format,
and now there is an error (my actual verion is R2.0.1)
Error in title(main=main,sub=sub,xlab=xlab,ylab=ylab,...):
X11 font at size 14 could not be loaded
Perhaps I did something wrong with this new install?
Thanks and best
2005 Apr 08
2
DLL Memory Problem
Hello,
I have created a .dll file using G77 and MinGW on my PC (Windows
2000). After using dyn.load to bring it into R2.0.1, I then call the .dll
through the function ccprox shown below. It returns the correct
values. If I run it a second time though it returns different values, so
it seems something is being placed oddly in memory.
If I unload and reload the .dll it works again the first
2004 Nov 22
1
plot.Map Maptools
Hi,
Is there any way to plot a Map with different shading patterns, instead
of color intensity, in R2.0.1 over Linux ?
Thanks.
D
-----------------------------------------
Stay ahead of the information curve.
Receive GIS news and jobs on your desktop daily.
Subscribe today to the GIS CafeNews newsletter.
[ http://www10.giscafe.com/nl/newsletter_subscribe.php ]
It's informative and
2005 Feb 01
1
Error in load(dataFile, myEnv)
Dear all,
I just found that some of the packages are not able to load any more,
after I installed R2.0.1 in my Mac, it even affects my old R1.8
installs.
It gives me errors when I load packages that contains "myEnv" settings.
such as: RMySQL, DBI, Rggobi, etc. But others that does not require
"myENV" is all right, like tcltk that only calls the c functions.
The errors
2005 Apr 07
1
Importing SAS transport data
I have encountered a problem reading SAS transport files on both a Mac
(OS X) and Linux (RedHat 9), both using R2.0.1.
After loading "foreign", the command:
read.xport("V1622101_050304.xpt")
yields:
Error in lookup.xport(file) : File not in SAS transfer format
In Linux, I can "cat" the file. The first few lines are:
**COMPRESSED** **COMPRESSED** **COMPRESSED**
2005 Jan 28
3
Conflicts using Rcmdr, nlme and lme4
Hello all!
R2.0.1, W2k. All packages updated.
I?m heavily dependant on using mixed models. Up til?now I have used
lme() from nlme as I have been told to. Together with estimable() from
gmodels it works smooth. I also often run Rcmdr, mostly for quick
graphics.
After using Rcmdr, on reopening the R workspace all help libraries for
Rcmdr (22 !) loads, among them nlme, but not Rcmdr itself. Why?
2004 Nov 06
3
foreign(read.spss) in rw2000 and re2001beta
I encountered something strange with read.spss (package foreign, version
0.7 with R2.0.0 and
version 0.8 with R2.0.1 beta, windows XP)
I made a test file test.sav with SPSS version 11.5.1
containing only one numeric variable, with a value label
for one value not occuring in the file. According to ?read.spss
this should result in a factor, but it results in all NA. Using the
argument
2004 Nov 22
1
Installing rgl in R2.0.1
I'm running R2.0.1 under Solaris 2.9 on a SunBlade 100.
When I installed it, I set things up to use the Sun compilers
cc, CC, f95 with the options recommended in the installation and
administration guide.
Until today, no worries.
With all this discussion about R GUIs I thought I'd give R Commander a go.
The web page said to install a bunch of packages first, so I did
>
2005 Feb 15
1
Correct effect plots from lme() objects
Hello all!
R2.0.1, W2k
I posted this question to the list last Sunday without getting any
replies on the list. I got two off the list though, suggesting me to
plot "manually" as a second step, from estimable() or intervals()
objects respectively. As this was not really what I wished for, I take
the risk to upset somebody with a trivial question, and re-post it (just
a little
2005 Jan 14
1
Fine tuning scatterplot() (car package)
Hello all!
System: R2.0.1, W2k.
All packages apdated with update.packages().
I use the default graphic device for my system (no active choice).
I?m trying to fine-tune scatterplot() graphs (package car), for
publication.
I want to control plotting symbols and colours to match plots from
other, less flexible, systems. I also need to make all text and
symbols bigger, to enable printing of the