Displaying 20 results from an estimated 400 matches similar to: "str() with attr(*, "names") is extremely slow for long vectors"
2006 May 13
2
windows( ... ,rescale="fixed") bug (PR#8857)
Full_Name: Gerhard Thallinger
Version: 2.3.0; 2.2.0
OS: Windows XP
Submission from: (NULL) (212.183.54.87)
Invoking windows() with the parameter rescale="fixed" followed by plot.new()
or any other plot command causes very often the following error:
windows(width=7, height=7, rescale="fixed");plot.new()
Error in plot.new() : outer margins too large (fig.region too small)
2008 Feb 12
2
Uninstall registry key the same for all versions (PR#10746)
Full_Name: Gerhard Thallinger
Version: R 2.2.0 through R 2.6.2
OS: Windows XP
Submission from: (NULL) (129.27.145.220)
The uninstall key in the Windows Registry
(HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\)
is the same ("R for Windows_is1") for all R versions
(at least from 2.2.0 to 2.6.2).
This prohibits managing multiple R versions in a clean way, since
the
2005 Jul 15
2
R v2.1.0 patched (>2005-05-09) for Windows?
I'm trying to troubleshoot a case where R crashes on Windows. It does
not occur at all with my R v2.1.0 patched (2005-05-09), but happens on R
v2.1.1 (patched or non-patched) in many different cases. The R
v2.2.0dev (2005-07-15) also got this problem (although it won't crash on
the below example). I previously reported this
2007 May 14
1
Native implementation of rowMedians()
Hi,
I've got a version of rowMedians(x, na.rm=FALSE) for matrices that
handles missing values implemented in C. It has been optimized for
memory and speed. To avoid coercing integers to doubles, and hence
allocate an additional 200% memory, there is one C function for
integers and one for doubles.
The rowMedians() implementation is currently sitting in my non-CRAN
package R.native
2005 Dec 14
1
About help on 'mahalanobis'
Hi,
help on 'mahalanobis' (in the stats package in Rv2.2.0) now says:
"Description:
Returns the Mahalanobis distance of all rows in 'x' and the vector
mu='center' with respect to Sigma='cov'. This is (for vector 'x')
defined as
D^2 = (x - mu)' Sigma^{-1} (x - mu)"
It does return D^2 as written. However,
2002 Feb 20
2
How to get the penalized log likelihood from smooth.spline()?
I use smooth.spline(x, y) in package modreg and I would like to get
value of penalized log likelihood and preferable also its two parts. To
make clear what I am asking for (and make sure that I am asking for the
right thing) I clarify my problem trying to use the same notation as in
help(smooth.spline):
I want to find the natural cubic spline f(x) such that
L(f) = \sum_{k=1}{n} w[k](y[k] -
2008 Feb 27
1
Warnings generated by log2()/log10() are really large/takes a long time to display
x <- rnorm(1e6);
y <- log(x); # or logb(x) or log1p(x)
w <- warnings();
print(object.size(w));
## [1] 480
str(w);
$ NaNs produced: language log(x)
- attr(*, "dots")= list()
- attr(*, "class")= chr "warnings"
y <- log2(x); # or log10(x)
w <- warnings();
print(object.size(w));
## [1] 8000536
str(w);
## List of 1
## $ NaNs produced: language
2007 Aug 29
1
R CMD check recursive copy of tests/
>From NEWS of R v2.6.0 devel:
o R CMD check now does a recursive copy on the 'tests' directory.
However, R CMD check does not run *.R scripts in such subdirectories
(as I thought/hoped for), only those directly under tests/, This may
or may not be intentional. If true, maybe the above should be
clarified as:
o R CMD check now does a recursive copy on the 'tests' directory
2009 Nov 11
2
typo in docs for unlink()
The VALUE section in the help for 'unlink' says:
| 0| for success, |1| for failure. Not deleting a non-existent file is
not a failure, nor is being unable to delete a directory if |recursive =
FALSE|. However, missing values in |x| result are regarded as failures.
The last phrase doesn't make sense to me. Should it be either "missing
values in x are regarded as
2010 Mar 28
2
Setting up TortoiseSVN and PuTTY on Windows for r-forge.r-project.org (Was: Re: Using SVN + SSH on windows)
Here are some notes/observations I've done on my setup that works for
me. Hopefully it will be added to some r-forge documentation/wiki.
I use:
Windows Vista Business SP2 32bit
TortoiseSVN 1.6.7 (Build 18415 - 32 Bit , 2010/01/22 17:55:06)
PuTTY v0.60 (with Pageant v0.60)
I have a deprecated r-forge project ('r-oo') that I will use through
out. My r-forge username is
2011 Mar 15
4
run a slef-written function
How could one get started with a self-written function?
I have a function written in .txt format, but can not find the way to import
it to the R space.
Would be very appreciated for help.
--
View this message in context: http://r.789695.n4.nabble.com/run-a-slef-written-function-tp3356537p3356537.html
Sent from the R help mailing list archive at Nabble.com.
2006 May 20
1
merge problem... extra lines appear in the presence of NAs
Good morning!
I've searched the docs etc... Am I doing something wrong or is this a bug?
I'm doing a merge of two dataframes and getting extra rows in the
resulting dataframe - the dataframes being merged might have NAs...
count <- 10
nacount <- 3
a1 <- as.data.frame(as.Date("2005-06-01")+0:(count-1))
names(a1) <- "mdate"
a1$value <- runif(count)
2014 Dec 06
1
R CMD check --as-cran and (a)spell checking
Does anyone know if it is possible to add a dictionary file of known
words that becomes part of the *built* package to tell 'R CMD check
--as-cran' not to report these words as misspelled. I want this
dictionary to come with the *.tar.gz such that it will be available
regardless where the package is checked. For instance, currently I
get:
* using log directory
2001 Mar 22
1
Call by reference: Was: Object orientation?
To reply to Yves Gauvreau question (Jan 24, 2001) about how to set values
within function, it is possible to do without without using the "<<-"
assignment operator or other nasty tricks. I had the same problem and I did
a nasty workaround two weeks ago implementing the functionality of reference
variables, but today I "ran into" the [R] help page for ".Alias".
2011 Oct 31
12
Phoronix Xen vs KVM vs Virtualbox benchmark with Ubuntu 11.10
Hello,
http://www.phoronix.com/scan.php?page=article&item=ubuntu_1110_xenkvm&num=1
Ubuntu 11.10 with Xen 4.1.1 and Linux 3.0.
Xen seems to be doing very poorly on that benchmark.
If someone has time to repeat that benchmark it would be good..
Comparing the results to those from Stefano from XenSummit 2011 NA there has be something wrong..
the results at XenSummit were pretty much the
2006 Apr 27
1
Whats this for a block?
Hi,
I have got a question concerning directory entries. I have the following
block containing exactly the filenames I had in one specified folder on
the same file system:
http://www.sbox.tugraz.at/home/n/nobaq/ext2.dat
I really hoped that this is an directory block which could point me to
the inode of the files.
But when I try to extract the data, I only get garbage. I'm reading the
2009 Jul 06
3
Speed up code, profiling, optimization, lapply vs. loops
High everybody,
currently I'm writinig a package that, for a given family of variance
functions depending on a parameter theta, say, computes the extended
quasi likelihood (eql) function for different values of theta.
The computation involves a couple of calls of the 'glm' routine. What
I'm doing now is to call 'lapply' for a list of theta values and a
function, that
2004 Jan 21
2
PAM auth stage rejection not working
Hi,
I have an auth module for PAM that I wrote a few years ago called
pam_vsd.so. The idea is that a user must have a certain privilege
before they can successfully authenticate. Without the privilege the
PAM module will return PAM_PERM_DENIED.
However I find that in OpenSSH 3.7.1p2, I can easily subvert this check
simply by hitting return 3 times on connection i.e.
[nick at localhost
2007 Jun 04
1
Centos 5 problems on Shuttle XPC
Hi,
does somebody else experience booting problems after normal installation on
SD32G2 based Shuttle systems. A CentOS 5.0 installation can be performed
without any problems but after the first reboot the systems are just stopping
the boot process after the grub is searching for the kernel. The last line is some-
thing like: [ Linux-initrd @ 0x37db8000, 0x237858 bytes].
We tried already the
2011 Jun 20
0
ade4 package
Dear list,
I am using the plot.coinertia function from the ade4 package. Can
someone tell me if it is possible to change the label size in the upper,
right plot? My RV value is so high that the arrows become shorter than
the labels.
Thank you for your help.
Oana Tomescu
--
Dipl.-Ing. Oana Tomescu
ACIB Core Facility Bioinformatics
Institute for Genomics and Bioinformatics, TU-Graz