cran Questions

1

Solved

I have created a package named test and I have a function named lad inside it. When I build it and after check it with cran=TRUE, I receive the following error. Any idea what's going wrong? * chec...
Riotous asked 1/5, 2014 at 21:25

4

Solved

I often run into situations where I need to check if some condition holds for any or all elements of a very large vector or list. For example to check if a list contains any/only NULL elements I wo...
Manheim asked 17/4, 2014 at 20:19

0

We submitted an R package on CRAN. Now we want to update our package under a new different name, because more new functions are introduced in this update, and the old name of it doesn't well repres...
Surfbird asked 26/3, 2014 at 7:40

1

Solved

I tried to google "r package parallel" but I have not found it on CRAN. I also tried the following links, but they do not work: http://cran.r-project.org/web/packages/parallel/index.html http://c...
Bashee asked 24/3, 2014 at 7:13

2

I know there are packages in R to store sparse matrices efficiently. Is there also a way to store a low-rank matrix efficiently? For example: A <- matrix(rnorm(1e6), nrow=1e5, ncol=1e1) B <-...
Hypogenous asked 14/3, 2013 at 0:46

3

Solved

I have a dataset with minute by minute GPS coordinates recorded by a persons cellphone. I.e. the dataset has 1440 rows with LON/LAT values. Based on the data I would like a point estimate (lon/lat ...
Dodds asked 6/6, 2012 at 4:12

1

Solved

I have some data that contains non-ASCII characters, that I want to include as an rda file in an R package. When I run an R CMD check on the package, I get a warning: Warning: found non-ASCII stri...
Stores asked 16/9, 2013 at 21:46

1

Solved

I am building a package for R which I want to be able to be cross-platform. I am developing under Linux, and the function mclapply will be used from the parallel package. This package is not suppor...
Anaxagoras asked 3/9, 2013 at 9:39

1

Solved

I am trying to build a package that contains own S4 class definitions. R check works but issues the following warning: undefined slot classes in definition mySecond. I set to classes while one slo...
Selden asked 23/8, 2013 at 13:44

1

Solved

I am working on an R package that builds on a postgreSQL database. Hence there are some.sql files that contain a recommended table structure for the corresponding database. I wonder where to put ...
Hodden asked 23/8, 2013 at 10:10

2

Solved

What is the most robust method to move an entire directory from say /tmp/RtmpK4k1Ju/oldname to /home/jeroen/newname? The easiest way is file.rename however this doesn't always work, for example whe...
Curley asked 27/7, 2013 at 10:43

2

Solved

I would like to install a package with a security profile that does not have access to /tmp , but has its own temporary directory, for example /tmp/jeroen. However even though I try to pass the TMP...
Salpinx asked 24/7, 2013 at 17:53

1

Solved

According to the manual, the stdout argument of the system2 function can redirect output to a file. This seems to work on unix, however I can't get it to work on windows. The toy example below, no ...
Sanburn asked 14/7, 2013 at 9:19

1

Solved

What is a cross-platform way of getting the username of the current user in R? I am currently using system('whoami', intern=TRUE) However this assumes that the user has shell access, and that t...
Swordsman asked 6/7, 2013 at 6:54

1

The getOption("max.print") can be used to limit the number of values that can be printed from a single function call. For example: options(max.print=20) print(cars) prints only the first 10 rows...
Leeann asked 4/7, 2013 at 20:1

1

I have been receiving a Warning Message: `historicalHourly <- importHistoricalHourly(startDatePast,endDatePast,Markets,location) [1] "Importing Hourly Data" [1] "Flag - Moving from importHisto...
Susi asked 20/6, 2013 at 22:32

4

Solved

I have a set of lng/lat coordinates. What would be an efficient method of calculating the greatest distance between any two points in the set (the "maximum diameter" if you will)? A naive way is ...
Tamarau asked 31/5, 2013 at 20:16

1

Solved

What is a cross-platform method to find the OS temporary directory from within R? I currently use: dirname(tempdir()) Which did the job both on Ubuntu and Windows from within an interactive R se...
Cantaloupe asked 10/5, 2013 at 3:25

1

Solved

Is there a density function for the two-piece Normal distribution: on CRAN? Thought I would check before I code one. I have checked the distribution task view. It is not listed there. I have loo...
Megdal asked 17/4, 2013 at 15:50

1

Solved

The new R 3.0.0 requires that all contributed packages are reinstalled. Two questions: Does this also mean that software that calls R, e.g. rapache, need to be recompiled after R has been upgrade...
Wetzel asked 4/4, 2013 at 4:12

1

I am having trouble with getting rid of a series of "no visible binding" NOTES when I run the R package check for CRAN (on windows 7, Rstudio, R 2.15.3 and Rtools30). I have already tried the fol...
Evildoer asked 16/3, 2013 at 20:0

1

I have noticed that once submitted to incoming (ftp://cran.r-project.org/incoming) the package name receives the following suffixes .save, .pending and .noemail. Then, the package disappears ...
A1 asked 21/12, 2012 at 23:48

3

Solved

I'm new to R and have started writing a medium-size project. Even though it will be distributed as part of an application, I've decided to make a package out of it to make the organisation neater. ...
Radioluminescence asked 17/11, 2012 at 12:40

1

Solved

I tend to be rather explicit than implicit about the code I write. So after having managed to create my own packages, the next thing that immediately comes to my mind is how best to ensure robustne...
Ariel asked 7/11, 2012 at 9:49

1

Solved

Kind of embarrassing / a no-go, but since it hasn't been that long that I've moved from "pure user" to "beginner-developer", I've never actually read the CHANGELOG when a new R version came out - w...
Ibsen asked 31/10, 2012 at 11:3

© 2022 - 2024 — McMap. All rights reserved.