Re: [R] stringr package question

2015-08-13 Thread Mauricio Romero
t("+proj=utm +zone=19 +datum=WGS84 +units=m +no_defs > +ellps=WGS84 +towgs84=0,0,0", "\\+proj=[a-zA-Z0-9]*") > > Sarah > > > On Thu, Aug 13, 2015 at 2:55 PM, Mauricio Romero > wrote: > > Hi, > > > > I'm running R 3.2.1 and im ha

[R] stringr package question

2015-08-13 Thread Mauricio Romero
Hi, I'm running R 3.2.1 and im having an unexpected problem... when I run the follwing code it returns an error library(stringr) str_extract("+proj=utm +zone=19 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0", "+proj=[a-zA-Z0-9]*") But I can't find whats wrong with my code. Thanks

[R] Bug in raster projectRaster?

2015-06-01 Thread Mauricio Romero
Hi, I'm sorry I cant post a reproducible example, but the data sets involve are too large. I'm currently trying to create a mosaic from 2 different Landsat 7 scenes. One of them is in UTM 18 and the other in UTM 17. Before using the mosaic command, I'm doing LandsatTransform=projectRaster(from=La

[R] reading a ".mdf" file in R

2011-05-08 Thread Mauricio Romero
Hi, I have a very large ".mdf" database (36 GB) that I want to import to R. I'm using a computer with 64 GB of RAM, running on windows server 2008 R2 with SQL. Could anyone guide me through the process. I have absolutely no idea what to do. Thanks,

[R] 'RQuantLib for 2.12 version

2011-03-29 Thread Mauricio Romero
-library/2.12/RQuantLib' Warning messages: 1: running command 'C:\PROGRA~1\R\R-212~1.2/bin/i386/R CMD INSTALL -l "C:\Users\Mauricio\Documents/R/win-library/2.12" "RQuantLib_0.3.6.tar.gz"' had status 1 2: In install.packages("RQuantLib_0.3.6.tar.gz"

[R] nominal response model

2010-10-15 Thread Mauricio Romero
$ and $\lambda_{h}$ for $h \in {1...,m}$. Thank you, Mauricio Romero Quantil S.A.S. Cel: 3112231150 www.quantil.com.co "It is from the earth that we must find our substance; it is on the earth that we must find solutions to the problems that promise to destroy all

[R] vectorizing: selecting one record per group

2010-10-13 Thread Mauricio Romero
, Mauricio Romero Quantil S.A.S. Bogotá,Colombia www.quantil.com.co "It is from the earth that we must find our substance; it is on the earth that we must find solutions to the problems that promise to destroy all life here" [[alternative HTML versi

[R] problem with predict from nnet package

2009-11-20 Thread Mauricio Romero
pronostico4(pred,rezagosx,muestra,reps,tam,maxi,vo,net) muestra[max(which(muestra==1))+1]=TRUE } Mauricio Romero Quantil S.A. Cel: 3112231150 "It is from the earth that we must find our substance; it is on the earth that we must find soluti