similar to: Checking package licences including dependencies?

Displaying 20 results from an estimated 1000 matches similar to: "Checking package licences including dependencies?"

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]]
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 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
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,
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
2024 Jun 09
1
Fields used by available.packages
Hi all, I have recently been researching how available.packages and install.packages filter packages from repositories with additional fields in their PACKAGES file. Currently there are some default filters, but users (and R admins) can set up their own filters by passing a list to the fields argument or adding them to the "available_packages_filters" option. But if the fields used by
2024 Jun 12
1
Fields used by available.packages
>>>>> Llu?s Revilla writes: Lluis, So in available.packages() I could replace if (is.null(fields)) fields <- requiredFields else { stopifnot(is.character(fields)) fields <- unique(c(requiredFields, fields)) } by someting like if(is.null(fields)) fields <- getOption("available_packages_fields") if(is.null(fields)) fields
2024 Jun 12
1
Fields used by available.packages
Yes, I think that would be enough. Thank you, Kurt! Llu?s On Wed, 12 Jun 2024 at 16:35, Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote: > >>>>> Llu?s Revilla writes: > > Lluis, > > So in available.packages() I could replace > > if (is.null(fields)) > fields <- requiredFields > else { > stopifnot(is.character(fields))
2025 Feb 17
1
Export tools:::analyze_license()?
To R-devel, In a future release of R, would it be possible to export tools:::analyze_license()? This would make it easier to implement copyright protections in alternative CRAN-like repositories. I would like to be able to programmatically scan an individual license string before accepting a new package. Will Landau [[alternative HTML version deleted]]
2004 Nov 09
1
Error in update() when repositories is specified.
How can I specify the repositories for upgrade()? > x <- packageStatus(repositories = "http://cran.us.r-project.org//bin/windows/contrib/2.0") > upgrade(x, ask = FALSE) Error in update[, 3] : incorrect number of dimensions x, the object of class "packageStatus", prints and summarizes fine. I also ran install.packages() without incident. >
2016 Sep 27
2
library() asks user to accept license of some built-in packages
When 'getOption("checkPackageLicense")' is 'TRUE' and the user calls 'library(grid)' for the first time, R asks the user to either accept or decline the package license. This should not be necessary as the package license is "Part of R ..." with "..." denoting the R version number, and R is free and open source. The unnecessary license
2010 Jul 26
3
Cluster analysis
Hi all, I have no idea if this question is to easy to be answered, but I?m starting with R. So, here we go. I have a large dataset with a lot of steps a judicial case. A sample is attached. I?d like to do a cluster analysis to try to understand with one is the most usual path followed by this legal cases. After that, I?d like to plot a cluster tree. In the attached sample, the column: -
2007 Apr 23
1
Package installed, functional but not available
Hello, when I run packageStatus(), I get the following results: > packageStatus() Number of installed packages: ok upgrade unavailable /home/fernando/my_library 38 0 1 /usr/local/lib/R/library 28 0 0 Number of available packages (each package/bundle counted only once): installed
2001 Dec 22
1
new.packages function for new packages
Hi all, I use a function update.packages to update all packages in my R instalation. But I need compare one by one packages to discovery new packages. My question is: Exist in R any function that compare all installed packages in my R and all packages available in CRAN and return a list of the new packages (ie packages that I dont have im my installation) and automatic download and install
2011 Mar 14
7
creating character vector
Is there a way to convince R to create a character vector without using the quotes? This works ex1 <- c("first","second") but when I try this it doesn't ext <- as.character(c(first,second)) it complains. I have many variables to put into character vectors so dispensing with the quotes would be useful. Thanks Jim =============================== Dr. Jim Maas
2008 Mar 08
5
Non-visible functions are asterisked
Dear R-Helpers, I suspect I'm about to ask a FAQ, but I haven't been able to find an answer in the FAQ, AItR or an R Site Search. When I look at the methods of summary (below) it says, "Non-visible functions are asterisked". I looked at the help file for summary.princomp, which did not comment on it being non-visible. I ran its help file example, which printed visible output. I
2002 Jan 24
3
Best way to check/assert a certain version of or a package
When loading a package with library(APkg) or require(APkg) I would like to make sure that (1) the correct version of [R] is installed. If not an informative error message should be given. I would also like to make sure that (2) another required package which is loaded from within the APkg package (by require(OtherPkg)) is of a certain version or later. First of all, I believe that the check
2005 Aug 19
4
Advice about system for installing & updating all R package in a Linux Lab?
Good day: I'm administering 6 linux systems (FC4) in a student lab and worry that users may want packages that are not installed. I get tired of adding them one by one. Then I happened upon this page http://support.stat.ucla.edu/view.php?supportid=30 about installing all R packages from CRAN. That did not run as it was, but after some fiddling I arrived at the following script, which