similar to: really dumb question with building/creating a new package.

Displaying 20 results from an estimated 2000 matches similar to: "really dumb question with building/creating a new package."

2017 Aug 17
1
really dumb question with building/creating a new package.
Thank you! On Thu, Aug 17, 2017 at 4:55 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote: > r-package-devel is probably a better place to post this, especially if > you do not get a satisfactory reply here. This list is about R > programming, as you presumably know; your query is not. > > Cheers, > Bert > > > Bert Gunter > > "The trouble with having
2017 Aug 17
0
really dumb question with building/creating a new package.
r-package-devel is probably a better place to post this, especially if you do not get a satisfactory reply here. This list is about R programming, as you presumably know; your query is not. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic
2017 Dec 16
5
Generating help files for a function
Hello everyone! I'm in the process of writing a package, and I'm using the lovely "R Package" book as a guideline. However, in the midst of my work, I discovered that I had omitted a function and am now putting in it the package. Not a problem. But the problem is the help file. What is the best way to generate a help file "after the fact" like that, please? Thank
2017 Dec 16
0
Generating help files for a function
Hi, If you are using roxygen-style function documentation then why not use devtools::document()? Ben > On Dec 16, 2017, at 9:00 AM, Erin Hodgess <erinm.hodgess at gmail.com> wrote: > > Hello everyone! > > I'm in the process of writing a package, and I'm using the lovely "R > Package" book as a guideline. > > However, in the midst of my
2009 Aug 10
1
building a package
Dear R People: I'm trying to build a package and am stuck on the last part; I keep getting "there is no library". Here are my statements: erin at erin-laptop:~/Desktop/R-2.9.1/bin$ R CMD check RcmdrPlugin.qual * checking for working pdflatex ... OK * using log directory '/home/erin/Desktop/R-2.9.1/bin/RcmdrPlugin.qual.Rcheck' * using R version 2.8.1 (2008-12-22) * using
2011 Jun 17
1
Rcmdr Plugin error
Dear R People: (particularly those who have build Rcmdr Plugin packages): I'm building a new Plugin and keep getting the following error: Error in if (is.null(where) || where >= n) rbind(object1, object2) else if (where < : missing value where TRUE/FALSE needed Error in library(RcmdrPlugin Have any of you run into this, please? I feel like I've seen it before but can't
2010 Apr 25
1
problem with Rcmdr Plugins
Dear R Development People: I have written a couple of plugins for Rcmdr and they do not seem to work with R-2.11.0. Here is the output: > library(RcmdrPlugin.epack) Loading required package: Rcmdr Loading required package: tcltk Loading Tcl/Tk interface ... done Loading required package: car --- Please select a CRAN mirror for use in this session --- Rcmdr Version 1.5-4 Attaching package:
2009 Nov 21
1
MASS loading error
Dear R People: I just installed R-2.10.0 on Karmic Koala Ubuntu, via the sudo apt-get install r-base, etc. However, when I try to install an Rcmdr Plugin package, I get the following: > install.packages("RcmdrPlugin.qual",depen=TRUE) Warning in install.packages("RcmdrPlugin.qual", depen = TRUE) : argument 'lib' is missing: using
2013 Sep 17
1
strange behavior for RcmdrPlugin.qual
Hello! Over the weekend, I updated my RcmdrPlugin.qual package. It works fine on a 64 bit Windows machine but not a 32 bit. This is very strange. The new menu with all of the Quality Control stuff does not appear. Have any of you run into this sort of thing before, please? Thanks, Sincerely, Erin Erin M. Hodgess, Ph.D. Associate Professor Department of Computer and Mathematical Sciences
2010 Apr 02
1
Problems with PDF/Latex when building a package
Dear R People: I'm building a packages on an Ubuntu Karmic Koala 9.10 system and am getting the following errors: * checking PDF version of manual ... WARNING LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors found: ! Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not found . <to be read again> relax l.7
2010 Mar 18
1
Rcmdr plugins produce error
I recently updated all my plugins, and for the fun of it, I added ALL the Rcmdr Plugins to my collection to see what functionality might exist. I started Rcmdr and loaded ALL the available Plugins from to the Rcdmdr Tools menu. To my suprise Rcmdr produced a number of warnings and finally an error. The error suggests that some of the extensions are incompatable with each other because of menu
2018 Jan 02
1
httr::content without message
Thanks to all that replied. I had just looked through the httr code and sure enough for a .csv mime time it calls readr::read_csv(). The httr::content docs suggest not using automatic parsing in a package, rather to determine mime type and parse yourself and Ben's suggestion also works if I do: junk <- readr::read_csv(r1$content, col_types = cols()) Perfect. Using httr rather than
2017 Sep 06
1
rgdal error when trying to import raster
Indeed, Ben, but the question was something more like it is not a Dependency, just Suggested, so why the error... John: If you read the Introduction to the 'raster' package vignette, it indicates that some input formats are supported within the raster package and some rely on other packages. Clearly the attempt to read a TIFF was an example of the latter. Had you used a different input
2017 Aug 06
1
Nested for loop
Hi Ben, That's exactly right! Except for each set it's the sample population that is 400, 800 or 300. I want to take 3 samples, each of 100, where only the population differs. I can do this separately, but I'm having trouble putting them all on the same graph. I'd like to have sample on the x axis (1-300) and estimate on the y axis. I want to show how population affects the
2017 Sep 06
2
rgdal error when trying to import raster
Dear useRs, I am trying to import a raster with the line: nlcd <- raster("/home/jpolo/NRI/nlcd_nri5000.tif") And I keep getting an error like this: "Warning message: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,? : ? there is no package called 'rgdal' Error in .rasterObjectFromFile(x, band = band, objecttype =
2010 Aug 03
1
adding FORTRAN code to a package
Dear R People: Hello! I'm putting together another RcmdrPlugin package and need to add a FORTRAN subroutine to speed things up a bit. I've never added compiled code to a package. Anyhow, I put my code into a /src directory. Here are the statements: * using log directory 'c:/R/R-2.11.1/bin/RcmdrPlugin.push.Rcheck' * using R version 2.11.1 (2010-05-31) * using session charset:
2018 Jan 02
4
httr::content without message
Hi All: I am using httr to download files form a service, in this case a .csv file. When I use httr::content on the result, I get a message. Since this will be in a package. I want to suppress the message, but haven't figured out how to do so. The following should reproduce the result: myURL <-
2012 Aug 31
1
loading 'RcmdrPlugin.FactoMineR' pachage in R
Hi everybody I have a question about loading 'RcmdrPlugin.FactoMineR' pachage in R. I have installed Rcmdr, FactoMineR and 'RcmdrPlugin.FactoMineR. when I want to load this package, at first a message inform me I should load the following list of packages: FactoMineR, ellipse, lattice, cluster, scatterplot3d, Rcmdr, tcltk, car, MASS, nnet I have loaded all above packages and again I
2018 Jan 02
0
httr::content without message
Ahoy! That's a message generated by the readr::read_table() function (or it's friends). You can suppress it a number of ways, but this should work as httr::content() will pass through arguments, like col_types = cols(), to the file reader. junk <- httr::content(r1, col_types = cols()) See more here... https://blog.rstudio.com/2016/08/05/readr-1-0-0/
2018 Jan 17
3
roxygen2 error - x$tag operator is invalid for atomic vectors
Hi, I am trying to create my first R package. I will later today put the files on Github. However I gets this error and I can't find any reason for it: R> roxygen2::roxygenise() First time using roxygen2. Upgrading automatically... Error in x$tag : $ operator is invalid for atomic vectors R> Any ideas? Regards Martin M. S. Pedersen [[alternative HTML version deleted]]