search for: my_packag

Displaying 14 results from an estimated 14 matches for "my_packag".

Did you mean: my_package
2017 Sep 21
3
Add wrapper to Shiny in R package
...elow, I'm getting "Error: object 'xs' not found". How can I pass "xs" explicitly to shinyApp()? *Under R directory:* myApp <- function(x, ...) { require(shiny) xs <- scale(x) shiny::runApp(appDir = system.file("application", package = "my_package"), ...) } *Under inst/application directory a file named app.R with the following content:* shinyApp( ui = fluidPage( sidebarLayout( sidebarPanel(sliderInput("n", "Bins", 5, 100, 20)), mainPanel(plotOutput("hist")) ) ), server = funct...
2015 Jan 25
1
Error in help files connection
Hello, I'm building a package on Mac OS. The build/check/install goes all ok. Also, the package gets loaded properly with library(my_package). However, when I call the help file for a given function in the package -- i.e., "?my_function", I get the following error: Error in gzfile(file, "rb") : cannot open the connection I've search for this issue, but did not find anything that could help in my case. Thanks...
2010 Apr 16
1
error at R CMD check
...example f5 text html latex example f6 text html latex example too many pairs of braces in file 'data1.Rd' at /usr/lib64/R/share/per l/R/Rdconv.pm line 295, <$rdfile> line 7076. ERROR: building help failed for package ?my_package? Should the data sets be in a specific format? Mine contains data in float seperated by tab with column names and row names. No description in DESCRIPTIOn file yet. Thanks Carol
2009 Dec 02
1
How to export a function from a package and access it only by specifying the namespace?
....R $ for f in R/*.R; do echo $f; cat $f;done R/my_test_f.R my_test_f<-function() { print("Hello") } R/randomxx.R my_test_g<-function() { print("Helloggg") } ---------------------------------------- I install the package by R CMD INSTALL -l /path/to/R_user --no-docs my_package `my_package' is the directory where the package is in. Then I try the package 'try.package' in an R session. I'm wondering why neither 'my_test_f' and 'try.package::my_test_f' work. Why 'my_test_g' can be accessed with 'try.package::' and without &...
2017 Sep 21
0
Add wrapper to Shiny in R package
...#39; not found". How can I pass "xs" explicitly to shinyApp()? > > > *Under R directory:* > > myApp <- function(x, ...) { > require(shiny) > > xs <- scale(x) > > shiny::runApp(appDir = system.file("application", package = > "my_package"), ...) > > } > > *Under inst/application directory a file named app.R with the following > content:* > > shinyApp( > ui = fluidPage( > sidebarLayout( > sidebarPanel(sliderInput("n", "Bins", 5, 100, 20)), > mainPanel(plotO...
2014 Mar 22
2
Varying results of package checks due to random seed
> From: Philippe GROSJEAN <Philippe.GROSJEAN at umons.ac.be> > > ... for latest CRAN version, we have successfully installed 4999 > packages among the 5321 CRAN package on our platform. ... It is > strange that a large portion of R CMD check errors on CRAN occur and > disappear *without any version update* of a package or any of its > direct or indirect dependencies!
2020 Oct 08
3
Installing package fails at "testing if installed package can be loaded from temporary location"
...rading from 18.04). The following problem occurs: ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for 'myPackage' in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/usr/local/lib/R/site-library/00LOCK-my_package/00new/myPackage/libs/myPackage.so': /usr/local/lib/R/site-library/00LOCK-my_package/00new/myPackge/libs/myPackage.so: undefined symbol: dgesvx_ Error: loading failed Execution halted ERROR: loading failed This dgesvx_ looked to me like a LAPACK problem ( https://www.netlib.org/lapack/explor...
2017 Sep 21
1
Add wrapper to Shiny in R package
...licitly to shinyApp()? > > > > > > *Under R directory:* > > > > myApp <- function(x, ...) { > > require(shiny) > > > > xs <- scale(x) > > > > shiny::runApp(appDir = system.file("application", package = > > "my_package"), ...) > > > > } > > > > *Under inst/application directory a file named app.R with the following > > content:* > > > > shinyApp( > > ui = fluidPage( > > sidebarLayout( > > sidebarPanel(sliderInput("n", "Bi...
2008 Jul 17
0
Re : float and double precision with C code
...)rans)[1]); > > delete(my_data); > > UNPROTECT(1); > return(result); > } > /////////////////////////////////////// > > And the R corresponding function : > > testData <- function() > { > result <- .Call("testData", PACKAGE="my_package") > print(paste("R value #1 :", result[1])) > print(paste("R value #2 :", result[2])) > return(result) > } > > /////////////////////////////////////// > And in R console, after compilation : > >> my_result <- testData() > C value...
2005 Jun 20
0
Use of PACKAGE= argument in .C etc calls
...found the incorrect namespace, and there was not mechanism at all prior to 2.0.0 (I believe). For compatibility with 2.1.x and earlier a PACKAGE= argument is needed in many more calls than are flagged by R-devel's 'check'. To check this, use > library(tools) > checkFF("my_package", verbose=TRUE) for example: > checkFF("mgcv", verbose=TRUE) .C("construct_cr", ...): OK .C("predict_tprs", ...): OK .C("MinimumSeparation", ...): OK .C("update_beta", ...): MISSING but in a function in a namespace .C("update_beta&qu...
2008 Jul 17
0
Re : Re : float and double precision with C code
...)rans)[1]); > > delete(my_data); > > UNPROTECT(1); > return(result); > } > /////////////////////////////////////// > > And the R corresponding function : > > testData <- function() > { > result <- .Call("testData", PACKAGE="my_package") > print(paste("R value #1 :", result[1])) > print(paste("R value #2 :", result[2])) > return(result) > } > > /////////////////////////////////////// > And in R console, after compilation : > >> my_result <- testData() > C value...
2016 Apr 27
0
R Script Template
The subject of your email is missing. Perhaps you need to read the Posting Guide (again?) about attachments. Embedding your example directly in the body of the email is generally more accessible in archives than attaching it. -- Sent from my phone. Please excuse my brevity. On April 27, 2016 1:14:17 PM GMT+01:00, G.Maubach at gmx.de wrote: >Hi All, > >I am addressing this post to all
2016 Apr 27
2
R Script Template
Hi All, I am addressing this post to all who are new to R. When learing R in the last weeks I took some notes for myself to have code snippets ready for the data analysis process. I put these snippets together as a script template for future use. Almost all of the given command prototypes are tested. The template script contains snippets for best practices and leaves out the commands that
2010 Apr 15
4
Does "sink" stand for anything?
Hello Everyone,   Learning about R and its wonderful array of functions. If it's not obvious, I usually try to find out what a function stands for. I think this helps me remember better.   One function that has me stumped is "sink." Can anyone tell me if this stands for something?   Thanks,   Paul         __________________________________________________ [[alternative HTML