Buenos días:
Un saludo a todos y a todas. Quisiera consultaros acerca del grado de uso de R
en España y en el mundo. He leído, por ejemplo, que es posible integrar el uso
de R en herramientas de Business Intelligence (Microsoft Sql Server, Reporting
Services), pero ¿realmente se utiliza esa
Hola, Juan:
Eso sólo es posible si exactamente para uno de los valores de i no se cumple
ninguna de las condiciones, con lo cual no llegas a incorporar valor en cinr.
Puedes utilizar if else de modo que te emita un mensaje informando del i que
no supera ninguno de los if.
Un saludo.
Eva
El
Juan,
Prueba a utilizar for (i in 0:(n-1))
A lo mejor sólo estás comprobando los (n-1) casos.
Eva
El Jueves 10 de julio de 2014 9:37, Eva Prieto Castro evapcas...@yahoo.es
escribió:
Hola, Juan:
Eso sólo es posible si exactamente para uno de los valores de i no se cumple
ninguna
Hi again,
I tested again without dot (i.e. ChrL.env and not .ChrL.env) and the
problem exists too.
I don't have any other idea to test.
Regards.
Eva
2014-07-08 7:00 GMT+02:00 Eva Prieto Castro eva.pcastro.l...@gmail.com:
Moreover, with ls(all.names=TRUE) it should appear and it does
know the reason.
Thanks.
Eva
2014-07-08 12:49 GMT+02:00 Duncan Murdoch murdoch.dun...@gmail.com:
On 08/07/2014, 12:56 AM, Eva Prieto Castro wrote:
Duncan,
Yes, it has exactly that line.
I know it does not exists because of this:
library(ChrL)
.ChrL.env
Error: objeto '.ChrL.env
2014-07-08 12:55 GMT+02:00 Eva Prieto Castro eva.pcastro.l...@gmail.com:
Duncan,
I don't export it in the sense that I dont't include it in namespaces as
export() because it is not a function. Simply I include it in
ChrL-internal.r, as follows:
.ChrL.env - new.env()
I always dit
Solved!!
I removed this line:
.ChrL.env$bStarted - FALSE
And run ok!!
I supose the method let the fact of initializing data structure, but not
the fact of assign.
The basic example runs ok. Now I have to test all the project.
Thanks!!
Eva
2014-07-08 13:02 GMT+02:00 Eva Prieto Castro
, but not
the fact of assign.
The basic example runs ok. Now I have to test all the project.
Thanks!!
Eva
2014-07-08 13:02 GMT+02:00 Eva Prieto Castro eva.pcastro.l...@gmail.com:
Duncan,
Not always the .ChrL.env is non-existent, but also the functions in the
package (when I use the package) do
-boun...@r-project.org]
En nombre de Eva Prieto Castro
Enviado el: martes, 08 de julio de 2014 13:46
Para: r-help-es
Asunto: Re: [R-es] Paquete generado no detectan ambiente particular creado.
Resuelto!!
Retiré esta línea:
.ChrL.env$bStarted - FALSE
Se ve que el proceso de paquetización
Hi everybody
I have a very big problem:
With R 3.0.2 I could construct the package for this code:
if (exists('.ChrL.env') == TRUE) {
rm(.ChrL.env)
}
.ChrL.env - new.env()
.ChrL.env$lGlo - list()
.ChrL.env$bStarted - FALSE
CheckGloCreated - function() {
if (.ChrL.env$bStarted == TRUE) {
not tested it
yet.
Regards.
Eva
2014-07-07 10:21 GMT+02:00 Eva Prieto Castro evapcas...@yahoo.es:
Hi everybody
I have a very big problem:
With R 3.0.2 I could construct the package for this code:
if (exists('.ChrL.env') == TRUE) {
rm(.ChrL.env)
}
.ChrL.env - new.env()
.ChrL.env$lGlo
not exist!.
Description file:
Package: ChrL
Type: Package
Title: What the package does (short line)
Version: 1.0
Date: 2014-07-08
Author: Eva Prieto Castro
Maintainer: Eva Prieto Castro yourfa...@somewhere.net
Description: Test Pkg
License: Unlimited
Namespace file:
exportPattern(^[[:alpha
), but .ChrL.env does not exist.
Could you tell to me what I am doing in the wrong way?.
Thank you in advance.
Eva
2014-07-07 22:49 GMT+02:00 Duncan Murdoch murdoch.dun...@gmail.com:
On 07/07/2014, 2:02 PM, Eva Prieto Castro wrote:
Hi eveybody,
I think the problem is with the package.skeleton
Duncan,
One note: although I used package.skeleton more than one time, I always do
it after remove ChrL folder.
Eva
2014-07-08 0:55 GMT+02:00 Duncan Murdoch murdoch.dun...@gmail.com:
On 07/07/2014, 6:39 PM, Eva Prieto Castro wrote:
Hi again, Duncan
I think I must tell you all
.ChrL.env does not exists. ¡In 3.0.1 version it
run ok!. What is the reason why in 3.1.0 version It does not exists?.
Thanks again.
Eva
2014-07-07 22:49 GMT+02:00 Duncan Murdoch murdoch.dun...@gmail.com:
On 07/07/2014, 2:02 PM, Eva Prieto Castro wrote:
Hi eveybody,
I think the problem
and I don't find the solution.
Thanks again.
Eva
2014-07-08 1:56 GMT+02:00 Duncan Murdoch murdoch.dun...@gmail.com:
On 07/07/2014, 7:13 PM, Eva Prieto Castro wrote:
Duncan,
The ChrL folder has the following components:
* Description file
* Namespace file
* R folder, including 3 files
Moreover, with ls(all.names=TRUE) it should appear and it does not.
Eva
2014-07-08 6:56 GMT+02:00 Eva Prieto Castro eva.pcastro.l...@gmail.com:
Duncan,
Yes, it has exactly that line.
I know it does not exists because of this:
library(ChrL)
.ChrL.env
Error: objeto '.ChrL.env
Hi everybody
I have a very big problem:
With R 3.0.2 I could construct the package for this code:
if (exists('.ChrL.env') == TRUE) {
rm(.ChrL.env)
}
.ChrL.env - new.env()
.ChrL.env$lGlo - list()
.ChrL.env$bStarted - FALSE
CheckGloCreated - function() {
if (.ChrL.env$bStarted == TRUE) {
Hi everybody,
I have a doubt in relation with arguments in functions when packaging: Does it
make sense the fact of having dots as an argument when it is the only
argument?.
I mean you have a package and a function that will be used directly by the user
has dots as an argument; for example:
Hi again,
I have chosen the solution reading the Rd file of xyplot.zoo function, in zoo
package.
Regards.
Eva
El Domingo 26 de enero de 2014 2:45, Eva Prieto Castro evapcas...@yahoo.es
escribió:
Hi everybody,
I am writing the .Rd files of my pckage, and I have a doubt in relation
Hi everybody,
I am writing the .Rd files of my pckage, and I have a doubt in relation with
the Rd file of a function that has dots as unique argument.
I mean the following:
g - function(a,b) a + b
f - function( ... ) g(...)
Imagine I have the Rd file of f function. The usage is as follows:
Thanks Rich. I used your indications, but it was correctly in PATH variable. My
path is C:\Program Files (x86)\MiKTeX 2.9\miktex\bin.
I send you a print. Do you have any other idea?.
Thanks again.
Eva
El Lunes 6 de enero de 2014 23:36, Eva Prieto Castro evapcas...@yahoo.es
escribió
not solve it.
Please could anybody help me?
Thanks.
Eva
El Martes 7 de enero de 2014 20:00, Eva Prieto Castro evapcas...@yahoo.es
escribió:
Thanks Rich. I used your indications, but it was correctly in PATH variable. My
path is C:\Program Files (x86)\MiKTeX 2.9\miktex\bin.
I send you a print
(ProgramFiles) - in the previous situation R
was in Program Files and MikTeX was in Program Files (x86).
Now R CMD check runs correctly and R CMD Rd2pdf runs correctly too.
I am very happy with the results!.
Thank you!
Eva
El Martes 7 de enero de 2014 18:50, Eva Prieto Castro evapcas...@yahoo.es
Hi everybody,
I have created a package without documentation and now I want to create it with
a pdf manual. That is the reason why I have created the .Rd files in man
folder. In this way I obtain a pdf manual usind R CMD check packagename, but
it ignores the \code{\link{function.name}}... I
Hi,
I have a problem when I try to generate the Documentation pdf (from .rda
files)in Spanish during the package creation. Could you tell me the way I can
do it?.
Thanks in advance.
Regards.
Eva
[[alternative HTML version deleted]]
__
Dear all,
How can I get the source code of text function?
Regards
Eva
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
...@gmail.com
michael.weyla...@gmail.com escribió:
De: R. Michael Weylandt michael.weyla...@gmail.com
michael.weyla...@gmail.com
Asunto: Re: [R] Source Code
Para: Eva Prieto Castro evapcas...@yahoo.es
CC: r-h...@stat.math.ethz.ch r-h...@stat.math.ethz.ch
Fecha: domingo, 21 de abril, 2013 00:34
On Apr 20
Hi,
Why do you write that dummy variables are not needed in R?. I would like you
explain it.
Thanks,
Eva
--- El dom, 21/4/13, David Winsemius dwinsem...@comcast.net escribió:
De: David Winsemius dwinsem...@comcast.net
Asunto: Re: [R] creating dummy variables
Para: Bert Gunter
michael.weyla...@gmail.com
michael.weyla...@gmail.com
CC: Eva Prieto Castro evapcas...@yahoo.es, r-h...@stat.math.ethz.ch
r-h...@stat.math.ethz.ch
Fecha: domingo, 21 de abril, 2013 00:45
On Apr 20, 2013, at 3:34 PM, R. Michael Weylandt michael.weyla...@gmail.com
wrote:
On Apr 20, 2013, at 6
rolf.tur...@xtra.co.nz
Asunto: Re: [R] creating dummy variables
Para: Eva Prieto Castro evapcas...@yahoo.es
CC: r-help@R-project.org r-help@r-project.org
Fecha: domingo, 21 de abril, 2013 03:16
On 21/04/13 10:56, Eva Prieto Castro wrote:
Hi,
Why do you write that dummy variables are not needed
Hi, Santiago:
Yes, your e-mail has been received. I'm sorry, I can't solve your question.
Regards.
Eva
--- El mar, 16/4/13, santiago gil sg.c...@gmail.com escribió:
De: santiago gil sg.c...@gmail.com
Asunto: Re: [R] Problem with handling of attributes in xmlToList in XML package
Para:
Hi Julien,
From my point of view this error may be produced by the fact you are working
with a lot of variables, so the number of characters if you take them into
account as character is bigger than the system can support.
Have you tried to test an example with 50 variables, for example?.
See
rip...@stats.ox.ac.uk escribió:
De: Prof Brian Ripley rip...@stats.ox.ac.uk
Asunto: Re: [R] Graphic window dimensions
Para: Eva Prieto Castro evapcas...@yahoo.es
CC: Uwe Ligges lig...@statistik.tu-dortmund.de, r-help@r-project.org
Fecha: lunes, 8 de abril, 2013 10:02
On 08/04/2013 07:54, Eva
-dortmund.de
Asunto: Re: [R] Graphic window dimensions
Para: Eva Prieto Castro evapcas...@yahoo.es
CC: r-help@r-project.org
Fecha: domingo, 7 de abril, 2013 17:41
On 07.04.2013 09:53, Eva Prieto Castro wrote:
Hi Uwe,
Thank you for your help. Then, how can I know (in runtime) then max
width
in graphic window although I generate the pdf in A4 paper?. Or is there a
method for show a scroll bar?
Thanks.
Eva
--- El lun, 8/4/13, Prof Brian Ripley rip...@stats.ox.ac.uk escribió:
De: Prof Brian Ripley rip...@stats.ox.ac.uk
Asunto: Re: [R] Graphic window dimensions
Para: Eva Prieto Castro
Dear all,
Can I import the content of a pdf (or jpg) and put it in the graphic window?.
Thanks.
Eva
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
Dear all,
How can I calculate (in runtime) the max width and height I can use in order to
avoid the content in graphics window appears truncate?. In Windows I can avoid
it (using windows(width=my.width, height=my.height, rescale=fixed) because
the value fixed in rescale makes the scroll bar
from the fact that the result of pdf created must be the same
as A4 paper.
Regards,
Eva
--- El dom, 7/4/13, Uwe Ligges lig...@statistik.tu-dortmund.de escribió:
De: Uwe Ligges lig...@statistik.tu-dortmund.de
Asunto: Re: [R] Graphic window dimensions
Para: Eva Prieto Castro evapcas...@yahoo.es
CC
Dear all,
I have a doubt: if I run windows(width=8.27,
height=11.69), the size of an A4 paper, does it work correctly in all
screens? Or does it depend on the inches of my screen?.
I ask
you about this question because I need to make the user see a graph in
the graph window and he must be
Dear Alex,
Here you have some url's:
http://data.princeton.edu/R/linearModels.html
http://www.r-bloggers.com/r-tutorial-series-simple-linear-regression/
Regards,
Eva
--- El mié, 6/3/13, Alaios ala...@yahoo.com escribió:
De: Alaios ala...@yahoo.com
Asunto: [R] lm and Formula tutorial
Para: R
Hi,
I need to generate complex graphics which have to be shown in the plot window
but also in pdf file, and they must have A4 size. This is the reason why I use
width=8.27 and heigth=11.69.
The problem is that I don't make it runs when I put something (text, lines, and
so on) outside the
Hi,
I solved as follws:
 f - formula(y ~ x1 + x2)
 single - do.call(lm, list(f, data=mydf))
It works in every machine!!.
Thanks and I'm sorry if I did not answer all your responses about this question.
Cheers,
Eva
--- El vie, 2/11/12, Eva Prieto Castro evapcas...@yahoo.es escribió:
De
rolf.tur...@xtra.co.nz escribió:
De: Rolf Turner rolf.tur...@xtra.co.nz
Asunto: Re: [R] Problem with lm
Para: Eva Prieto Castro evapcas...@yahoo.es
CC: Mick Cooney mickcoo...@gmail.com, Greg Snow 538...@gmail.com,
William Dunlap wdun...@tibco.com, r-help@r-project.org
r-help@r-project.org
Fecha
³:
De: William Dunlap wdun...@tibco.com
Asunto: RE: [R] Problem with lm
Para: Eva Prieto Castro evapcas...@yahoo.es, Mick Cooney
mickcoo...@gmail.com, Greg Snow 538...@gmail.com
CC: r-help@r-project.org r-help@r-project.org
Fecha: viernes, 2 de noviembre, 2012 00:53
Did you ever show us the call
Hi,
I have a problem in relation with a packahe I made. It runs on my machine
(Windows, where I made the package), and it runs in a Mac machine, but it does
not run in another Mac machine with the same R version.
The part of the code is giving problems:
singleCosinor - function(t, y,
) and it will be tested.
Cheers,
Eva
--- El jue, 1/11/12, Greg Snow 538...@gmail.com escribió:
De: Greg Snow 538...@gmail.com
Asunto: Re: [R] Problem with lm
Para: Mick Cooney mickcoo...@gmail.com
CC: Eva Prieto Castro evapcas...@yahoo.es, r-help@r-project.org
Fecha: jueves, 1 de noviembre, 2012 17:49
Hi again, Duncan:
I understand you tell me, but I don't reach it runs in Mac. How must I do?.
Thanks.
Eva
--- El sáb, 27/10/12, Duncan Murdoch murdoch.dun...@gmail.com escribió:
De: Duncan Murdoch murdoch.dun...@gmail.com
Asunto: Re: [R] Encoding
Para: Eva Prieto Castro evapcas...@yahoo.es
...@gmail.com
Asunto: Re: [R] Encoding
Para: Eva Prieto Castro evapcas...@yahoo.es
CC: r-help@r-project.org
Fecha: domingo, 28 de octubre, 2012 12:05
On 12-10-28 3:49 AM, Eva Prieto Castro wrote:
Hi again, Duncan:
I understand you tell me, but I don't reach it runs in Mac. How must I do
Para: Eva Prieto Castro evapcas...@yahoo.es
CC: r-help@r-project.org
Fecha: domingo, 28 de octubre, 2012 14:05
On 12-10-28 7:56 AM, Eva Prieto Castro wrote:
Hi Duncan,
What dos it happen if I need use non-ASCII characters?. Is there no way
in order to make the package in Windows PC and it runs
Hi,
I solved the problem as follows:
source(file=example.R, encoding=UCS-2)
Thanks
Eva
--- El sáb, 27/10/12, Eva Prieto Castro evapcas...@yahoo.es escribió:
De: Eva Prieto Castro evapcas...@yahoo.es
Asunto: Encoding
Para: r-help@r-project.org
Fecha: sábado, 27 de octubre, 2012 07:34
Hi,
I
] FALSE
$`Latin-1`
[1] TRUE
$codepage
[1] 1252
Thanks.
Eva
--- El sáb, 27/10/12, Eva Prieto Castro evapcas...@yahoo.es escribió:
De: Eva Prieto Castro evapcas...@yahoo.es
Asunto: Re: Encoding
Para: r-help@r-project.org
Fecha: sábado, 27 de octubre, 2012 08:48
Hi,
I solved the problem
Hi,
I work with R on Windows, so I use ANSI encode; but when I run my projects on a
linux or mac pc, It fails, so I change the encoding to unicode (in the same mac
pc) and runs ok.
The problema is that I need tu make the package in mi pc (windows) and when I
save my sources as unicode it
Hi,
Finally I could resolve. I understood how you can use dummy variables in lm().
Thanks!
Eva
--- El jue, 20/9/12, Eva Prieto Castro evapcas...@yahoo.es escribió:
De: Eva Prieto Castro evapcas...@yahoo.es
Asunto: Re: Dummy Variable : Doubt
Para: R-help@r-project.org
Fecha: jueves, 20 de
Sorry, I could write Dummy and not Gummy.
Regards
--- El jue, 20/9/12, Eva Prieto Castro evapcas...@yahoo.es escribió:
De: Eva Prieto Castro evapcas...@yahoo.es
Asunto: Gummy Variable : Doubt
Para: R-help@r-project.org
Fecha: jueves, 20 de septiembre, 2012 11:13
Hi,
Â
I have a system
Hi,
Â
I have a system in which I analyze 2 subjects and 1 variable, so I have
2 models as follow:
Â
y ~ x_1[, 1] + x_2[, 1] + x_1[, 2] + x_2[, 2]
Â
Where
Â
x_1[, i] = cos(2 * pi * t / T_i)
x_2[, i] = sin(2 * pi * t / T_i)
Â
i = 1, 2
Â
Data have two columns: t and y.
Â
As
...@sapo.pt
CC: Eva Prieto Castro evapcas...@yahoo.es, r-help r-help@r-project.org
Fecha: martes, 21 de agosto, 2012 03:54
Rui's solution certainly works, but don't fear namespaces.
For a simple package, you basically just write
export(xxx)
for all the main functions and
import(yyy)
for all the packages
Hi,
As I told you some days ago, finally I could build the package, but I have one
doubt: my source code has a lot of functions, but the users only need some of
them (the others are auxiliar functions), so there must be a way in order to
make invisibel the auxiliar functions. I think I can do
Hi,
I could build the package, finally, adjusting the path correctly (Rtools
folders in front).
Regards
Eva
--- El jue, 16/8/12, Eva Prieto Castro evapcas...@yahoo.es escribió:
De: Eva Prieto Castro evapcas...@yahoo.es
Asunto: Re: [R] Problem with global variable building a package
Para
generated will be used under
windows and mac.
Thanks in advance.
Eva
--- El mié, 8/8/12, Uwe Ligges lig...@statistik.tu-dortmund.de escribió:
De: Uwe Ligges lig...@statistik.tu-dortmund.de
Asunto: Re: [R] Problem with global variable building a package
Para: Eva Prieto Castro evapcas...@yahoo.es
I forget one question:
Where do I indicate this path? :
PATH=c:\Rtools\bin;c:\Rtools\gcc-4.6.3\bin;c:\MiKTeX\miktex\bin;
c:\R\R-2.15\bin\i386;c:\windows;c:\windows\system32
Regards,
Eva
--- El jue, 16/8/12, Eva Prieto Castro evapcas...@yahoo.es escribió:
De: Eva Prieto Castro evapcas
Asunto: Re: [R] Problem with global variable building a package
Para: Eva Prieto Castro evapcas...@yahoo.es
CC: R-help@r-project.org
Fecha: martes, 7 de agosto, 2012 23:30
Probably the best thing to do is create an environment within the
package that you can assign to and read from.
Somewhere
/12, R. Michael Weylandt michael.weyla...@gmail.com escribió:
De: R. Michael Weylandt michael.weyla...@gmail.com
Asunto: Re: [R] Problem with global variable building a package
Para: Eva Prieto Castro evapcas...@yahoo.es
CC: R-help@r-project.org
Fecha: martes, 7 de agosto, 2012 20:35
On Tue, Aug 7
Hi,
Â
My name is
Eva and this is my first message here. My English is not very good, but I hope
you can understand my question, in the context of an academic project.
Â
I have
developed several functions in R and the
idea is that the user can access functions in order to:
Â
1)Â Â Â Â Â
64 matches
Mail list logo