Given a set of functions, how to create a package in Windows OS?
For example for the two functions below:
soma = function(x, y){
res = x + y
res
}
multiplica = function(x,y){
res = x*y
res
}
I have already looked a lot in various forums and many pages on parameter estimation via the optim function of R and found nothing on how to add the gradient function in a script, so that the derivatives are calculated via some function o...
I'm reading a file in R called roubobs.rds . is a proprietary R format and I could not open it in excel. I can import the data into a variable but, within the records, the texts are with non-ascii (unicode? Utf-8?) Codes. I've browsed to t...
I'm developing an application on Shiny that I'll upload to shinyapps.io .
It consists of an already loaded table that the user can select some line, and then a report is generated based on the selected line.
In addition, the user c...
I have this table in my shiny application.
| a | 2 |
| b | 3 |
| c | 5 |
It has a box to choose a line (from 1 to 3), and from there it starts the value referring to that line.
It also has another box so I can change that value. But the...
I have a variable with the following value:
> pontos
c d b a
0.6666667 1.0000000 0.3333333 0.6666667
hist (points, main="Points", xlab="p", ylab="f")
The result is:
Myx-axisvalueswillalwaysbebetwee...
I would like to use a .bat file to run a particular .r file daily with the windows taskmanager, but I can not get it to run.
My steps:
1) open notepad
2) enter code, which is currently:
"C:\Program Files\R\R-3.3.0\bin\i386\Rscript.exe" -...
Does anyone know how to explain why for-loop objects are Date converted to integer ?
In the code below I want to iterate in dates but these are converted to integers.
> dates <- Sys.Date() + 1:10
> dates
[1] "2015...