similar to: Summary of why R has the 2^31-1 limit?

Displaying 20 results from an estimated 10000 matches similar to: "Summary of why R has the 2^31-1 limit?"

2010 Jul 27
3
Checking package licences including dependencies?
I only recently discovered options("available_packages_filters" = list(add = TRUE, "license/FOSS")) [cf. help("available.packages", package="utils") in R 2.10.0 or later] which goes nicely with my options("checkPackageLicense" = TRUE) [new in R 2.11]. But now I want to purge my library of packages I would not have installed had I known about
2010 Jul 01
2
Documentation for library() and how to specify missing arguments
I can, after carefully reading about the returned values, see why library("MASS", "MASS", character.only=TRUE) has to chose between loading the package and displaying the help (I thought I had found a nice shortcut), but wouldn't the documentation be better if it said that the two are incompatible and that package= takes precedence over help=? As an aside, is there a
2009 Jul 02
2
How to use current value of variable in function definition?
Must be the heat or something but I can't get my brain into gear and figure out how to get something like if (1) { c <- 1; foo <- function () print(c); } c <- 2 foo() to print 1, not 2. (The real life example is a little more complex, but you get the idea. I don't want the variable c in the function definition, I want its value at that time.) The only thing I have been
2009 Jun 04
3
Fast way of finding top-n values of a long vector
If x is a (long) vector and n << length(x), what is a fast way of finding the top-n values of x? Some suggestions (calculating the ratio of the two top values): library("rbenchmark") set.seed(1); x <- runif(1e6, max=1e7); x[1] <- NA; benchmark( replications=20, columns=c("test","elapsed"), order="elapsed" , sort = {a<-sort(x,
2009 Jul 02
5
save the result into a word file
Hi, everyone: I forget on how to save a result from R as a word document. For example, if I run the linear regression and want to save the result: summary(lm(y~x) in a word file. So I can show it later to my clients. Any idea on how to do this? Thanks a lot, Suyan
2009 Jun 11
2
How to order an data.table by values of an column?
Hello! Can you help me? How to order an data.table by values of an column? Per example: Table no initial Categ Perc 468  31.52 351  27.52 0  0.77 234  22.55 117  15.99 table final Categ Perc 0  0.77 117  15.99 234  22.55 351  27.52 468  31.52 Lesandro Veja quais são os assuntos do momento no Yahoo! +Buscados [[alternative HTML version deleted]]
2011 Mar 14
4
Serial Date
Hello R Help, I'm working in a project with a software that register date and time data in serial time format. This format is used by excel, for exemple. In this format, 40597.3911423958 is 2011/2/23 09:23:15. First part is number os days since 1900/1/1, and second part is a fraction of a day. I need to make this transformation in R, and use it to make some algebrian operations. I found that
2009 Jun 17
3
tiff() woes
Hello all, a friend has a problem with tiff() which I was unable to help about. I searched the error messages to no avail. When he tries: tiff(filename = "FedeWhyDoesntThisBloodyWork.tif", width = 5, height = 5, units = "cm", bg = "white", res = 1200) Error in tiff(filename = "FedeWhyDoesntThisBloodyWork.tif", width = 5, : unable to start device
2011 Aug 22
3
Ignoring loadNamespace errors when loading a file
On a Unix machine I ran caret::rfe using the multicore package, and I saved the resulting object using save(lm2, file = "lm2.RData"). [Reproducible example below.] When I try to load("lm2.RData") on my Windows laptop, I get Error in loadNamespace(name) : there is no package called 'multicore' I completely understand the error and I would like to ignore it and
2010 Jun 04
1
Reading newlines with read.table?
I have a text file that is UTF-16LE encoded with CRLF line endings and '@' as field separators that I want to read in R on a Linux system. Which would be fine as read.table("foo.txt", file.encoding = "UTF-16LE", sep = "@", ...) *except* that the data may contain the LF character which R treats as end-of-line and then barfs that there are too few elements
2010 Jul 01
1
How best to set library search path so user libraries come first
I want my local libraries to have priority over the system installed ones, which, as far as I can make out from help(".libPaths"), means they have to come first in that list (it doesn't actually_say_ so, but that seems to be the idea). We have R_LIBS_USER which looks made for specifying where I keep my own libraries. Unfortunately it comes last in .libPaths() [which appears to
2009 Jun 12
1
Changing CRAN package compile option defaults?
Is there an easy way to override the compile options when installing packages from CRAN on Unix-style systems? I tried setting CFLAGS, CXXFLAGS, and FFLAGS but they are not picked up. For example (with a random package and adding -mtune only to try to get rid of the default) export CFLAGS="-march=native -mtune=native" export CXXFLAGS="-march=native -mtune=native" R CMD
2010 Jul 16
2
Recommended way of requiring packages of a certain version?
What is the recommended way of requiring a certain version when loading a package (or, indeed, from R itself)? Perl has the require module version use module version require version use version constructs which is kind of what I am looking for (especially 'use' which is evaluated at compile time), but R seems to have lost the version= argument to require(). The best I have been able
2011 Mar 15
1
install.packages barfs on dependencies= argument
I'm sure I used to be able to do my.dependencies<- c("Depends", "Imports", "LinkingTo", "Suggests", "Enhances") install.packages("animation", lib = Sys.getenv("R_LIBS_USER"), dependecies = my.dependencies) but now I get Error in download.file(url, destfile, method, mode = "wb", ...) : unused argument(s)
2010 Jun 30
1
Sweave PDF files show plot symbols as "q"
I'm guessing this is a FAQ but I can't find it and that it is probably not exclusive R related but relevant so I thought I'd ask: When I view the PDF output from Sweave (e.g. Example 1 from the author's web site at [1]) on a Linux system using the standard PDF viewer [2], the circles for the outliers in the plot [boxplot(Ozone ~ Month, data = airquality)] show up as the letter
2002 Oct 29
0
Fw: Samba PDC
----- Original Message ----- From: allan d. go To: blue@bluepoint.com.ph Sent: Tuesday, October 29, 2002 8:54 PM Subject: Samba PDC guys, i'm configuring a Samba Primary Domain Controller. i compiled the 2.2.5 version with ./configure --prefix=/usr/samba --with-quotas and followed the Samba-HOWTO-Collection I configured my Win2K workstation with the following parameters:
2010 May 17
0
version 4.39 of the caret package
Version 4.39 of the caret package was sent to CRAN. caret can be used to tune the parameters of predictive models using resampling, estimate variable importance and visualize the results. There are also various modeling and "helper" functions that can be useful for training models. caret has wrappers to over 75 different models for classification and regression. See the package
2010 May 17
0
version 4.39 of the caret package
Version 4.39 of the caret package was sent to CRAN. caret can be used to tune the parameters of predictive models using resampling, estimate variable importance and visualize the results. There are also various modeling and "helper" functions that can be useful for training models. caret has wrappers to over 75 different models for classification and regression. See the package
2010 Jan 22
4
facter question
int he example below I run facter looking for the fact "sp_serial_number". as you can see, the command facter sp_serial_number returns nothing, but the fact is there and is returned when just running facter and grepping for the fact. Some fact seem to work and others do not. any ideas? marcuspro:~ allan$ facter --version 1.5.7 marcuspro:~ allan$ facter sp_serial_number marcuspro:~
2016 Jan 06
1
Stymied with samba vs openldap SSL ("Failed to issue the StartTLS instruction...")
On Wed, Jan 6, 2016 at 12:56 PM, Graham Allan <allan at physics.umn.edu> wrote: > On 01/06/2016 01:34 PM, Lee Brown wrote: > >> On Wed, Jan 6, 2016 at 10:36 AM, Graham Allan <allan at physics.umn.edu >> <mailto:allan at physics.umn.edu>> wrote: >> >> On 01/06/2016 09:53 AM, Graham Allan wrote: >> >> >> The packet dump