mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
latest version render
This commit is contained in:
parent
346bc7edf7
commit
8db847b43d
28 changed files with 397 additions and 107 deletions
|
|
@ -21,7 +21,8 @@ import_file_server(
|
|||
show_data_in = c("popup", "modal"),
|
||||
trigger_return = c("button", "change"),
|
||||
return_class = c("data.frame", "data.table", "tbl_df", "raw"),
|
||||
reset = reactive(NULL)
|
||||
reset = reactive(NULL),
|
||||
limit = 1e+05
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
|
|
|
|||
26
man/limit_data_size.Rd
Normal file
26
man/limit_data_size.Rd
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/import-file-ext.R
|
||||
\name{limit_data_size}
|
||||
\alias{limit_data_size}
|
||||
\title{Limit the allowed data set size by number of cells}
|
||||
\usage{
|
||||
limit_data_size(data, limit = NULL)
|
||||
}
|
||||
\arguments{
|
||||
\item{data}{data.frame}
|
||||
|
||||
\item{limit}{cell number limit. Default is NULL.}
|
||||
}
|
||||
\value{
|
||||
data.frame
|
||||
}
|
||||
\description{
|
||||
This function may act to guard a hosted app against very large data sets in
|
||||
addition to the file size limitations.
|
||||
The function will limit the data set by dropping rows.
|
||||
}
|
||||
\examples{
|
||||
prod(dim(mtcars))
|
||||
limit_data_size(mtcars)
|
||||
limit_data_size(mtcars,100)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue