search for: nyr

Displaying 14 results from an estimated 14 matches for "nyr".

Did you mean: nr
2012 Jun 29
1
number of items to replace is not a multiple of replacement length
...y data. For some reason, one of the scripts which were supposed to work is not, and I get the error message "number of items to replace is not a multiple of replacement length". The script is this one: *open_lpj_nc_gpp <- function(file_name,varname,y1850_file_no, recentre,startyr,nyrs) { library(ncdf) start_yr=y1850_file_no+(startyr-1850) print("************************************") filename=paste(file_name,start_yr,".nc",sep="") print("Opening:") print(varname) print("in:") print(filenam...
2012 Feb 13
1
comment lines sometimes removed from a function on exit from internal R editor
...ious versions of R. Any suggestions on how to preserve the comment lines would be greatly appreciated. Many apologies if this is a stupid question. Cleridy ## this function has comments at the top: > mapsp.sqrtcpd.f function (input.frm, cpd.numerator, cpd.denominator, basis.dim, npts, nyrs.unq, prop.ctch) { # here are some comments # and more # year.min<- 1975 ...... ## copy function to a dummy function: > tmp.f<-mapsp.sqrtcpd.f ## now edit it with fix and remove a ) so that it complains: > fix(tmp.f) Error in edit(name, file, title, editor) :...
2006 Nov 23
3
reaccessing array at a later date - trying to write it to file
...trying to write an R object (data.out) to a file in order to re-access it later and not have to re-load up the array with data every time. Here is the form of data.out > data.out <- list(lats=seq(88.542, -88.542, length=94), lons=seq(0, 360-1.875, length=192), date=vector(length=nyr*12), data=array(NA, c(nyr*12, 94*192)) ) I tried > save(data.out, file="/home/jenny/data/data.out.RData", ascii=TRUE) and combination of ways to re-access it but I couldn't reaccess it and therefore use the data within. I then tried > dput(data.out,file="/ho...
2006 Nov 20
2
problem with loop to put data into array with missing data for some files
...ccured and then continue to loop around all the other months and years in succession? Things that don't work that I have tried: 1)I cannot just restart the loop after any anomalous years as this "resets" data.out and changes its dimensions depending on the number of years looped (nyrs) etc. 2)The first point of trouble is when I call upon ny in the line >lats <- seq(lat.beg, lat.end, length=ny) as ny is NA in this record - so I tried putting the line >test <- dims[15] >if(test != "NA"){ with the closing } at the end of the rest of the loop ...this gives...
2005 Mar 11
3
no auth.xsl
Kai Schaetzl wrote: >Made my own first test with authentication only a few days ago. I wasn't >aware I can do it like above and have separate admin users for different >mount points. I just used ><username>source</username> ><password>some pass</password> >which I took right from the icecast.xml example. I'm gonna try it out like >you
2006 Nov 20
3
problem with loop to put data into array with missing data forsome files
...p around all the other months and years in >succession? > >Things that don't work that I have tried: >1)I cannot just restart the loop after any anomalous years as this >"resets" >data.out and changes its dimensions depending on the number of years >looped >(nyrs) etc. >2)The first point of trouble is when I call upon ny in the line >>lats <- seq(lat.beg, lat.end, length=ny) >as ny is NA in this record - so I tried putting the line >>test <- dims[15] >>if(test != "NA"){ >with the closing } at the end of the rest o...
2005 Jan 13
3
ices 0.4 can't find playlists...
Hello, I've compiled and successfully run icecast2 with ices on a single stream. But I'm running into problems running multiple streams from ices to icecast... I used the <playlist>...</playlist> syntax to run a single stream, but the docs on icecast.org seem to suggest using the <input>...</input> syntax instead. I've actually tried it both ways, with
2005 Jan 14
1
ices 0.4 can't find playlists...
...aylists? My issue is that I need to stream mp3 audio, not ogg (iTunes doesn't support .ogg yet natively), and if I'm reading the docs correctly, ices2 only supports .ogg, not .mp3. Is this correct, and if so, are there other options? Thanks, -Chris On Jan 14, 2005, at 12:06 AM, Jonas Nyr?n wrote: > Chris Woodfield wrote: > >> Hello, >> >> I've compiled and successfully run icecast2 with ices on a single >> stream. But I'm running into problems running multiple streams from >> ices to icecast... >> >> I used the <playlist...
2005 Mar 11
0
no auth.xsl
Jonas Nyr?n wrote: > You've got things wrong here. The authentication Dennis describes is listener > authentication and not source authentication. This is true, though you can of course have different source authentications per mounts - it's the usual reason for having a specific mount sec...
2011 May 19
1
Specifying Splits WhenUusing rpart
I am using the package rpart to explore various classification structures. The call looks like: seekhi1<-rpart(pvol~spec+a1+psize+eppres+numpt+icds+bivalcrt+stents+ppshare+ nhosp+nyrs,data=dat,method="class", control=rpart.control(minsplit=30,xval=10)) The output is 1) root 198 87 1 (0.5606061 0.4393939) 2) psize=1,2 122 43 1 (0.6475410 0.3524590) 4) a1=3 23 5 1 (0.7826087 0.2173913) * 5) a1=1,2 99 38 1 (0.6161616 0.3838384)...
2005 Feb 02
2
fallback mount from diferent mountpoint
Guten Tag Geoff Shang, thank you for this information. whe have to chanles in two different ports. i want to mount port 6000 mountpount /dsl as fallbackmount for the server that runs on port 8000. whis this way, i can only mount when sthe stream is on the same port. have a lot of thanks Am Mittwoch, 2. Februar 2005 um 09:09 schrieben Sie: GS> Hi: GS> The way to do this is to define a
2016 Apr 06
0
Revolutions blog: March 2016 Roundup
...weird-things-in-r.html A recording of a recent talk I gave on real-time predictive analytics, featuring R: http://blog.revolutionanalytics.com/2016/03/introductions-to-r-and-predictive-analytics.html A preview of the New York R Conference: http://blog.revolutionanalytics.com/2016/03/get-ready-for-nyr.html The R Consortium has funded seven community projects and two working groups for R projects: http://blog.revolutionanalytics.com/2016/03/r-consortium-announces-new-grants-for-r-projects-and-working-groups.html A look at several methods for computing http://blog.revolutionanalytics.com/2016/03...
2013 May 15
1
x and y lengths differ
...oblem with R. I try to compute the confidence interval for my df. When I want to create the plot I have this problem: Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ. I try this code: library(dplR) df.rwi <- detrend(rwl = df, method = "Spline",nyrs=NULL) write.table(df.rwi,file="rwi.txt",quote=FALSE,row.names=TRUE) df.crn <- chron(df.rwi, prefix = "RGE",prewhiten = TRUE) write.table(df.crn,file="crn.txt",quote=FALSE,row.names=TRUE) ##confidence interval library(boot) ci.func <- function(y) { y <- y[!...
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...+6tZP#_p`vk_7E{W at y zKz^r)UPIzkvZ3P at KbyO8U{q`oEUchBK00sU6KLf#N!2OJ at mxPXA`6%gFOa^6BA1cb zm;H4&zsJ2IMGTXm|6=|M*$qOyukKi_8GgBc3?Tt241 at Awupj{tNHP&5<F;JN$0YXR zi=)x&{))%n)*kn84{l2qqNS%{gCJsOPfw~KY85e60vG2Wwv)6j@$r-i0LsS)VB2Nx zP!?1asWaqi)0}pf9n!>FBaf+&;&>7bB=W>$Nyr&+)+kQ7GL~HsNwR!WTCOmuAA2zv zJINev*4Sa_e&C~xs+q+!u?T0e-E^Q;n*#2DGrqcS$iWd;n(YdH3}yX<bYQ&!<*X-E z6V?p?%CGEwp%4E3uk={&PYqW+wkeISgqr!__fJDPw6Xu*A63~M8Yz$bk`1K=`D|%@ zKjR~rM}UpLE&wdC6!bn}mym2AE=;%syMvj*r&86$jBVc`NX%+W1%x)Wg9`^)!7v#R z>Iaya*Ahf~j5dL-IA#%Mg6|+x7gwgKkAV&amp...