Re: [R] Installing RGDAL on CentOS v.6.2

2015-08-09 Thread Shouro Dasgupta
Dear Eric, Thank you for your reply. Unfortunately, I don't have NetBSD on the cluster and considering the size of my dataset, I can't utilise my local machine. Does it make a difference that the R installed on the cluster is up-to-date if I do want to compile everything from tar.gz? Thanks

Re: [R] Recursive looping of a list in R

2015-08-09 Thread Gerrit Eichner
Hi Evans, not many people (incl. me) are going to guess the building law for your recursive structure from the -- in fact at first sight not so clear -- picture, but I have some comments inline below. Hth -- Gerrit I am trying to creat a list from a loop such that once you loop the

[R-es] Duda ' proj4string'

2015-08-09 Thread Marcos Bermejo
Hola, mi trozo de c�digo es: # Primero creamos el mapa de toda la instrumentaci�n rm(list=ls()) # remove all the variables from the workspace setwd(C:/Users/Marcos/Documents/TFM/Situacion_pluviometros/) library(ggmap) library(rgdal) library(ggplot2) library(scales) library(maptools) #

Re: [R] Automatically updating a WordPress blog from R

2015-08-09 Thread boredstoog via R-help
I dont know whether this will help you because even I am also pretty new to R but have some experience in web development. I would recommend you to read about cron jobs . cron jobs automate your request and execute according to your execution parameters (1 minute, 3.5 days etc) -- View this

[R] inbuilt crossover function for backtesting

2015-08-09 Thread boredstoog via R-help
I am trying to built a simple moving average cross over strategy for backtesting. I have installed TTR and quantmod, quantstrat for that purpose. From TTR package we can get functions for sma,bolinger band and other indicators. I want to know whether any inbuilt crossover function (not greater ''

Re: [R] Installing RGDAL on CentOS v.6.2

2015-08-09 Thread Eric Brown
Dear Shouro, I should have mentioned that pkgsrc is cross-platform, and not restricted to the NetBSD OS. I use pkgsrc on my CentOS machines to provide up-to-date software. Since sysadmins tend to be conservative about what they will install on computers, I end up installing my own software

[R] result NA , but expected True or False

2015-08-09 Thread Ragia Ibrahim
Dear Group, Kindly, I have those two lines if( (z_nebla==0) || (z_nebla_dash==0) ) CM - 0 else CM - 0.5 *(1/a) + 0.5*(1/b) when running it I got this z_nebla==0) logical(0) (z_nebla_dash==0) logical(0) (z_nebla==0) ||

[R] Parsing all rows columns of a Dataframe into one column

2015-08-09 Thread Anshuk Pal Chaudhuri
Hi All, I am using R for reading certain values in a dataset. I have values in a data frame all scattered in different columns rows, some values might be NA as well. e.g. below three columns V1, V2,V3, and their respective values. V1 V2 V2 NA NA 90 abc 89.09 $50 76799

Re: [R] inbuilt crossover function for backtesting

2015-08-09 Thread Joshua Ulrich
On Sun, Aug 9, 2015 at 3:46 AM, boredstoog via R-help r-help@r-project.org wrote: I am trying to built a simple moving average cross over strategy for backtesting. I have installed TTR and quantmod, quantstrat for that purpose. From TTR package we can get functions for sma,bolinger band and

[R] Data frame Q

2015-08-09 Thread Ragia Ibrahim
Dear Group, Kindly, I have the following Common_Friends - intersect(node_neighbours_i_out,node_neighbours_j_out) class(Common_Friends) print(Common_Friends) #4 = Common_Friends newline-c(i, Common_Friends ) df- rbind(df,newline) I created a data frame

Re: [R] Installing RGDAL on CentOS v.6.2

2015-08-09 Thread Eric Brown
Dear Shouro, I can confirm that I have installed GDAL (and RGDAL) on CentOS 6.4, 6.5, and 6.6. But quite frankly, these systems have such old versions of software that I spent a fair amount of time compiling everything up from tar.gz. This is exhausting, so I spent some time learning