Displaying 20 results from an estimated 2000 matches similar to: "package dependencies"
2006 Jun 18
1
R Wiki: how useful for developers?
Hello all R developers,
I just send the official annoucement of the R Wiki at
http://wiki.r-project.org (was also officially annouced at useR!2006). I
would like to insist here on the aspects of the Wiki that could be of
particular interest for you, as R developer:
1) The 'R documentation' section is dedicated to hold the latest
"wikified" version of all Rd files (base,
2010 Apr 27
2
Resolving functions using R's namespace mechanism can double runtime
It appears that the runtime for an R script can more than double if a few
references to a function foo() are replaced by more explict references
of the form pkgname::foo().
The more explicit references are of course required when two
loaded packages define the same function.
I can understand why use of this mechanism is not free in an
interpreted environment like R, but the cost seems rather
2011 Feb 28
1
Data type problem when extract data from SQLite to R by using RSQLite
Hi there,
When I extract data from SQLite to R, the data types (or modes) of the
extracted data seems to be determined by the value of the first row.
Please see the following example.
When I put the missing values first, the column extracted is of the
mode character.
> str(dbGetQuery(sql.industry,
+ "select pya_var from annual_data3
+ order by
2007 Jan 30
1
Error message when building a package
I'm trying to build a package. The machine is PowerPC G4 with Mac OS 10.4.8,
and I'm using R2.4.1.
I get "R CMD build roots" working, and it created roots.tar.gz. But I get
the following message when I run "R CMD INSTALL -l ../myrlibrary
roots.tar.gz"
======================================================================
* Installing *source* package 'roots'
2004 Dec 31
4
install.packages() for local source file
Wish to install a local source package on Un*x platform from
within R. Same thing as I can accomplish from cmdline as
$ export R_LIBS=~/R/library
$ cd /path/to/pkg
$ R CMD INSTALL -l $R_LIBS <pkgname>
So, how do you go about this anyway?
And isn't this a bug in 'install.packages'?
-------
$ R
R : Copyright 2004, The R Foundation for Statistical Computing
Version 1.9.0
2007 Jul 21
2
dict package: dictionary data structure for R
Hi all,
The dict package provides a dictionary (hashtable) data
structure much like R's built-in environment objects, but with the
following differences:
- The Dict class can be subclassed.
- Four different hashing functions are implemented and the user can
specify which to use when creating an instance.
I'm sending this here as opposed to R-packages because this package
will
2010 Mar 17
1
Suggestion: Not having to export .conflicts.OK in name spaces
Currently library() and attach() fail to locate an existing
'.conflicts.OK' in a package wit name space, unless it is exported.
Since there should be little interest in exporting '.conflicts.OK'
otherwise, one may argue that those methods should look for
'.conflicts.OK' even if it is not exported. If so, a patch for
library() is:
>svn diff library.R
Index: library.R
2010 Jul 27
2
lattice: option to sort x when type = l
Hi,
(please Cc me)
In xyplot (), type = "l" (or one that includes "l", *el*) is
(generally) meaningful only when the 'x' variable is sorted. In
practice, one either sorts the data frame before hand or writes a tiny
panel function which sorts the supplied x and then calls the default
panel.xyplot(). Trouble arises when there is a conditional variable as
well as a
2011 Mar 23
6
storage and iphlpapi errors when creating wineprefix
Hello, right after installation of WINE I've used
Code:
WINEARCH=win32 winecfg
command, and that's what i got:
Code:
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0x8ede90c, overlapped 0x8ede8f0): stub
Anybody have idea what's the problem? These errors are probably reason why i can't install dotnet20 (from both
2006 Sep 26
2
package usage statistics.
Dear useRs,
Is it possible to get the R package usage statistics?
That is, does R contain any tools to estimate which packages were
used and how often?
I am going to temporary change the workplace and packing the data
and their processing scripts on my computer in order to continue my
projects.
During my work on the current workplace I periodically have had installed
new R
2010 May 11
3
Pairwise combination
Hi there,
I am looking for a function that takes a vector as input and generates
all pair wise combination of the elements of the input vector.
For example, the input vector is c(1,2,3,4). The output vector is c(1
and 2, 1 and 3, 1 and 4, 2 and 3, 2 and 4, 3 and 4). The
representation here is generic.
I can use a for loop to do it, but it gets slow when the number of
elements of the input
2017 Aug 27
2
glx error with nouveau
Hi IIia,
Thank you very much for your help.
Does the distro released more recently than Dec 2009 support OPENGL 3.3 ?
Best,
Yunde
________________________________
From: ibmirkin at gmail.com <ibmirkin at gmail.com> on behalf of Ilia Mirkin <imirkin at alum.mit.edu>
Sent: Friday, August 25, 2017 6:27:43 PM
To: Su, Yunde
Cc: nouveau at lists.freedesktop.org
Subject: Re: [Nouveau]
2010 Dec 23
2
python-like dictionary for R
Hi,
I was wondering if anyone has played around this this package called
"rdict"? It attempts to implement a hash table in R using skip lists. Just
came across it while trying to look for simpler text manipulation methods:
http://userprimary.net/posts/2010/05/29/rdict-skip-list-hash-table-for-R/
Cheers,
Paul
[[alternative HTML version deleted]]
2009 Aug 17
3
printing a dataframe summary to disk
I'd like to write the summary of a dataframe to disk, so that it looks
essentially the same as what you'd see on screen; but I can't seem to
do it. Can someone tell me how? Thanks!
------------------------
Philip A. Viton
City Planning, Ohio State University
275 West Woodruff Avenue, Columbus OH 43210
viton.1 at osu.edu
2013 Jul 14
4
diallel analysis
sir i could not find the plant breeding libraray in Rgui3.0.0
[[alternative HTML version deleted]]
2010 Jul 07
3
How do I test against a simple null that two regressions coefficients are equal?
Hi there,
I run two regressions:
y = a1 + b1 * x + e1
y = a2 + b2 * z + e2
I want to test against the null hypothesis: b1 = b2. How do I design the test?
I think I can add two equations together and divide both sides by 2:
y = 0.5*(a1+a2) + 0.5*b1 * x + 0.5*b2 * z + e3, where e3 = 0.5*(e1 + e2).
or just y = a3 + 0.5*b1 * x + 0.5*b2 * z + e3
If I run this new regression, I can test against
2004 Jun 22
2
function not in load table
Hi,
I apologize for this often/old question. I found some hints but couldn't
solve the problem so far.
I have C functions (incl. the header files) as well as the R wrapper
functions which I want to use for faster calculations. These functions
are included in a R package.
The installation process seems to be ok (no errors). I also can load the
package without errors. But when I call the
2007 Oct 24
3
how to loop over a group of variables?
Hi All,
I have a data frame with a group of variables named b1, b2, b3, ..., b18. These variables take the value 1, 2 or NA. For each observation, I want to do some computation by looping over the values for the group of variables: b1 to b18. In STATA I would do:
forval i=1/18 {
--- use b`i' for computation ----
}
How can this be done in R?
Deepankar
2015 Jan 14
2
R CMD check: "..." used in a situation where it does not exist
Dear R developers,
when running R CMD check, the R Under development (unstable)
(2015-01-13 r67453) gives me the following NOTE:
cbind.fsets: possible error in list(...): ... used in a situation
where it does not exist
The file that causes this note contains:
cbind.fsets <- function(..., deparse.level = 1) {
dots <- list(...)
res <- NULL
resVars <- NULL
resSpecs
2008 Jan 31
1
segfault in gregexpr()
Hi,
Tried with R 2.6 and R 2.7:
> gregexpr("", "abc", fixed=TRUE)
*** caught segfault ***
address 0x1c09000, cause 'memory not mapped'
Traceback:
1: gregexpr("", "abc", fixed = TRUE)
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace