Displaying 20 results from an estimated 1000 matches similar to: "Changing a value in a particular row and column within a text file"
2012 Mar 08
2
xyplot without external box
Dear list members,
Within a loop, I need to create an xyplot with only a legend, not even
with the default external box drawn by lattice.
I already managed to remove the axis labels and tick marks, but I
couldn't find in the documentation of xyplot how to remove the
external box.
I would really appreciate any help with this
------------- START -----------
library(lattice)
x<-1:100
2012 May 02
1
--as-cran error
Dear List,
While using the --as-cran option for checking one of my packages:
R CMD check --as-cran hydroGOF_0.3-3.tar.gz
I got the following error message:
pkgname <- "hydroGOF"
> source(file.path(R.home("share"), "R", "examples-header.R"))
> options(warn = 1)
> library('hydroGOF')
Error in loadNamespace(i[[1L]], c(lib.loc,
2015 Jul 21
2
' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit
Dear list,
This is my first time trying to set up the development version of R
(R-devel ) in my local machine to test some packages before submitting
them to CRAN. I'm using Linux Mint 17.1 64-bit, which is an
Ubuntu-based distro.
However, I'm not able to correctly set up r-devel, apparently due to a
problem with enabling the shared library support.
I run the first script given by Dirk
2015 Jul 21
2
' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit
On 21 July 2015 at 02:15, MAURICIO ZAMBRANO BIGIARINI wrote:
| Regarding the previous problem with setting up r-devel in Linux Mint
| 17.1 64-bit, I deleted all the r-devel files I previously had, and
| then I did the check out to the
|
| '~/svn/r-devel'
|
| directory originally mentioned by by Dirk on
| https://stat.ethz.ch/pipermail/r-sig-debian/2012-August/001935.html,
| instead of
2015 Oct 15
4
potencia fracional de un número negativo
Hola a tod en s.
Realizando el calculo de encontrar la raíz quinta de -0.5, la cual dígito
de la siguiente manera
(-0.5)^(1/5)
El resultado que me arroja R es NaN.
Averiguando un poco entre las ayuda de las funciones aritméticas encuentro
el siguiente comentario
Users are sometimes surprised by the value returned, for example why
(-8)^(1/3) is NaN. For double inputs, R makes use of IEC 60559
2013 May 03
2
Licence change
Dear list,
For the maintainer of a given package, is it possible to change the
licence of a it from GPL >= 2 to GPL >= 3 ?
Thanks in advance,
Mauricio Zambrano-Bigiarini, Ph.D
--
=================================================
Water Resources Unit
Institute for Environment and Sustainability (IES)
Joint Research Centre (JRC), European Commission
TP 261, Via Enrico Fermi 2749, 21027
2015 Oct 15
3
potencia fracional de un número negativo
Mirando los comentarios, realmente lo que deseo es encontrar la raíz real
de (-0.5)^(1/5) la cual debería ser -0.87055056329. José me hace caer en
cuenta que además de no encontrar la raiz real, tampoco da todas las raiz
complejas. Habría alguna manera de que tuviera en cuenta?
> ------------------------------
>
> Message: 6
> Date: Thu, 15 Oct 2015 11:25:39 +0200
> From: José
2013 Feb 18
2
Random number generator used in 'runif'
Dear list,
For the implementation of a particular optimization algorithm it is
very important the random number generator.
I would like to know if somebody could tell me what is the random
number generator used by default in the 'runif' function.
>From the help page of 'runif' and '.Random.seed' I guess that the
default algorithm is 'Mersenne-Twister', but I
2013 Feb 21
1
limitations to random number generator in 64-bits machines
Dear List,
Recently I got the comment that the implementation of the random number
generator used by default in R (Mersenne-Twister) could not be "safe"
for 64-bits machines, so I decided to put the question here because I do
not have expertise in that topic, and because this question could be
"too technical for R-help's audience". I apologise if this is not the case.
2010 Jul 01
1
Help with some important information about Rails
Hello how are all
My name is Carlos Zambrano, I''m from Ecuador and I''m doing a graduate thesis
about Ruby on Rails vs Php on other frameworks such as Zend, Django and
Python on Java or Struts.
I would like you to help me with information about which items should be
taken into consideration to make if compared to these other languages vs
Ruby because my goal is to demonstrate
2015 Oct 16
2
potencia fracional de un número negativo
El problema del módulo es que pierde el signo.
En tu caso sale igual porque has invertido el signo del coeficiente en
el polinomio (en realidad se me pasó a a mí advertir que el término
independiente debe ir con signo negativo):
.> polyroot(z=c(0.5,0,0,0,0,1))
[1] 0.7042902+0.5116968i -0.2690149+0.8279428i -0.2690149-0.8279428i
[4] 0.7042902-0.5116968i -0.8705506+0.0000000i
.>
.>
2012 Feb 13
1
requesting a new SIG mailing list
Dear R developers,
Due to the increasing use R in hydrology and other close-related
environmental sciences, I would like to ask if it would be possible to
create a new Special Interest Group mailing list, called 'R-sig-hydro',
specially devoted those topics. If possible to do so, I'd offer myself
to maintain such mailing list (if needed).
Thanks in advance,
Mauricio
2012 Nov 05
1
relative convergence in 'optim'
Dear list,
I have a question related to the correct interpretation of the
relative convergence criterion used by 'optim'.
In the help of the function is it written that:
"reltol:Relative convergence tolerance. The algorithm stops if it is
unable to reduce the value by a factor of reltol * (abs(val) + reltol)
at a step."
and I was wondering if the previous criterion is
2012 Nov 22
2
BibTeX entries in CITATION file
Dear List,
While trying to define a customised CITATION file for a package,
following R-exts, I realised that if I use only one 'citEntry' I got
both a text description and a BibTex entry for the package, as for the
'nlme' package:
--------------------------
citation('nlme')
To cite package 'nlme' in publications use:
Jose Pinheiro, Douglas Bates, Saikat
2011 Jul 22
1
Start-up messages when Importing from a package
Dear List,
I'm building a package that uses 2 functions of the 'sp' package, and I
declared them in my NAMESPACE file as follow:
importFrom("sp", proj4string, coordinates)
The package is built without any problem, but when I load the package, I
get the following message:
"
Loading required package: sp
Note: polygon geometry computations in maptools
2008 Nov 04
2
Repository issue with R 2.8.0 in Ubuntu 8.10
Dear List,
I'm not an expert on Linux but I have been using Ubuntu and R sice two
years ago.
I've just installed Ubuntu Intrepid Ibex (8.10, Kernel:
2.6.27-7-generic) from the scratch and then installed R, following the
instruction given on:
http://cran.r-project.org/bin/linux/ubuntu/README, and everything
worked fine.
However, after the installation I realized that the installed
2007 Oct 05
1
using spplot (sp package) with 5 quantiles
Hi,
I'm using R 2.5.1 and gstat 0.9-39 library and I'm working with the
jura data set provided by gstat library.
I tried to plot a graph of metal concentrations (let's say Cd) with
the command spplot, but I realized that the default lags are equally
distributed between Min and Max. I did:
library(gstat)
data(jura)
jura.pred.xy <- jura.pred
names(jura.pred.xy)[1:2] <-
2012 Nov 07
2
Correct use of Depends, Imports and ::
Dear R developers,
Taking advantage of the yesterday discussion about the use of
Depends/Import/Suggests/Enhances, I would like to add a related question.
Let's assume, in the DESCRIPTION file of my package foo0, I have:
Depends: foo1
Imports: foo2
while in the NAMESPACE file of my package I have
importFrom("foo2", f2)
and within my package I use the following two external
2011 Jan 17
3
"cannot allocate vector of size ..." in RHLE5 PAE kernel
Dear R community,
I'm running R 32 bits in a 64-bits machine (with 16Gb of Ram) using a
PAE kernel, as you can see here:
$ uname -a
Linux mymachine 2.6.18-238.el5PAE #1 SMP Sun Dec 19 14:42:44 EST 2010
i686 i686 i386 GNU/Linux
When I try to create a large matrix ( Q.obs <- matrix(NA, nrow=6940,
ncol=9000) ), I got the following error:
> Error: cannot allocate vector of size 238.3
2015 Oct 15
2
potencia fracional de un número negativo
No sé si he entendido bien la pregunta, pero creo que lo que quieres obtener es esto:
(as.complex(-0.5)^(1/5))
Saludos,Salva
> To: r-help-es en r-project.org
> From: canadasreche en gmail.com
> Date: Thu, 15 Oct 2015 10:45:10 +0200
> Subject: Re: [R-es] potencia fracional de un número negativo
>
> Hola.
> No sé si va por aquí, pero prueba a quitar el paréntesis a (-0.5)
>