search for: nyrs

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

Did you mean: nrs
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(filename...
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) : u...
2006 Nov 23
3
reaccessing array at a later date - trying to write it to file
Dear R-help community I am 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 >
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 of...
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...
Maybe I'm misunderstanding ices' capabilities...is ices 0.4 only capably of handling a single playlist? Do I need to run multiple instances of ices in order to process multiple playlists? 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,
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 section. BTW: To comment on the original query - I vaguely recall there being a release with
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
Since 2008, Microsoft (formerly Revolution Analytics) staff and guests have written about R every weekday at the Revolutions blog: http://blog.revolutionanalytics.com and every month I post a summary of articles from the previous month of particular interest to readers of r-help. And in case you missed them, here are some articles related to R from the month of March: Reviews of new CRAN
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[!i...
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
Signed-off-by: Scott Seago <sseago at redhat.com> --- AUTHORS | 17 ++++++ README | 10 +++ conf/ovirt-agent | 12 ++++ conf/ovirt-db-omatic | 12 ++++ conf/ovirt-host-browser | 12 ++++