search for: davet

Displaying 20 results from an estimated 25 matches for "davet".

Did you mean: dave
2008 Dec 09
2
assign()ing within apply
...ot;or" "or" "bf" "mh" "iw" "or" "mh" "sm" "be" "be" "be" "or" "or" , I just can't remember how to get them back into the original dataframe objects. Suggestions? Thanx, DaveT. ************************************* Silviculture Data Analyst Ontario Forest Research Institute Ontario Ministry of Natural Resources david.john.thompson at ontario.ca http://ontario.ca/ofri
2008 May 06
2
list manipulation
...264 7 oplt tree bd ht spr stat dam bn1998 768 7 oplt tree bd ht spr stat dam bn1999 654 7 oplt tree bd ht dbh stat dam bn2003 1407 9 oplt tree bd94 ht94 ht99 ht02 ht03 stat dam [[1]] NULL [[2]] NULL [[3]] NULL [[4]] NULL [[5]] NULL [[6]] NULL [[7]] NULL [[8]] NULL Thanx, DaveT. ************************************* Silviculture Data Analyst Ontario Forest Research Institute Ontario Ministry of Natural Resources david.john.thompson at ontario.ca http://ofri.mnr.gov.on.ca
2008 Oct 10
2
Fatal error: unable to restore saved data in .RData
...file to the same effect. I tried with the --vanilla option, changing the working directory and loading the existing workspace, and get the error message: "Error in function () : unused argument(s) (1:43)" And again with the --no-restore-data option, same effect. Suggestions? Thanx, DaveT. ### # system info: > sessionInfo() ; cat("\n") ; Sys.info()[c(1:3,5)] R version 2.7.2 (2008-08-25) i386-pc-mingw32 locale: LC_COLLATE=English_Canada.1252;LC_CTYPE=English_Canada.1252;LC_MONETARY= English_Canada.1252;LC_NUMERIC=C;LC_TIME=English_Canada.1252 attached base packages:...
2008 Feb 12
3
Reorder data frame columns by negating list of names
...t I'm interested in moving to the first few positions, something like: > xxx[,c( c('b', 'd', 'h'), -c('b', 'd', 'h') )] Error in -c("b", "d", "h") : invalid argument to unary operator Suggestions? and Thank you, DaveT. ************************************* Silviculture Data Analyst Ontario Forest Research Institute Ontario Ministry of Natural Resources david.john.thompson at ontario.ca http://ofri.mnr.gov.on.ca
2004 Apr 21
2
exclude-from and include-from confusion
...ng: - Only one directory can be listed in the PATH module option. - Any directory or file listed in the exclude file will NOT be copied. - Any directory of file listed in the include file WILL be copied no matter what is in the exclude file. (thus allowing me to exclude *.zip files while including davet.zip.) - I realize I could create additional modules, however, I'd like to avoid creating a dozen modules, possibly with different exclude/include files. My Confusion: Using the exclude and include combo below, I thought I would be able to list just the directories I want to copy and thus avoid...
2007 Nov 20
1
Process multiple columns of data.frame
...concisely? Bout[is.na(Bout$bd.n), 'bd.n'] <- 0 Bout[is.na(Bout$ht.n), 'ht.n'] <- 0 Bout[is.na(Bout$dbh.n), 'dbh.n'] <- 0 Would the form of such a command be different between numeric, character and factor columns? . . . between data.frames and matrices? Thanx, DaveT. ************************************* Silviculture Data Analyst Ontario Forest Research Institute Ontario Ministry of Natural Resources david.john.thompson at ontario.ca http://ofri.mnr.gov.on.ca
2008 Jun 19
3
YAPMQ - Yet Another PlotMath Question
Hello, I'm having trouble finding (remembering) how to pass values into text functions in plots, as demonstrated by: slope <- 45 ; plot(1:10) ; text(2, 7, labels = expression(45~degree)) ; text(2, 5, labels = paste(bquote(.(slope)), expression(degree))) Thanx, DaveT. ************************************* Silviculture Data Analyst Ontario Forest Research Institute Ontario Ministry of Natural Resources david.john.thompson at ontario.ca http://ontario.ca/ofri
2006 Jul 03
2
Agile Web Dev on Rails - ActiveRecord::RecordNotFound Prob
Hi there I''ve also made a start on the Agile Web Dev using Rails book! I''ve been hit with a problem when hitting the ''Add to Cart'' button - I get the following error message: ActiveRecord::RecordNotFound in StoreController#add_to_cart Couldn''t find Product without an ID RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full
2008 Apr 09
3
Changing default plot behaviour
...duce output such as the following (i.e. tick marks inside on all axes, labels only on two (arbitrary?) sides) without needing the five additional commands each time? plot(1:10, axes=FALSE) axis(1, tcl=0.5) axis(2, tcl=0.5) axis(3, tcl=0.5, labels=FALSE) axis(4, tcl=0.5, labels=FALSE) box() Thanx, DaveT. ************************************* Silviculture Data Analyst Ontario Forest Research Institute Ontario Ministry of Natural Resources david.john.thompson at ontario.ca http://ofri.mnr.gov.on.ca
2008 May 26
1
SciViews and Tinn-R installation problem
...colorspace_0.95 RColorBrewer_1.0-2 MASS_7.2-41 proto_0.3-8 reshape_0.8.0 car_1.2-8 [8] svSocket_0.8-9 svIO_0.8-9 R2HTML_1.58 svMisc_0.8-9 svIDE_0.8-9 loaded via a namespace (and not attached): [1] lattice_0.17-8 svGUI_0.8-9 svViews_0.8-9 Thanx, DaveT. ************************************* Silviculture Data Analyst Ontario Forest Research Institute Ontario Ministry of Natural Resources david.john.thompson at ontario.ca http://ontario.ca/ofri
2007 Nov 27
2
str() options
Hello, Is there a way to have str() and ls.str() return all factor levels? Thanx, DaveT. ************************************* Silviculture Data Analyst Ontario Forest Research Institute Ontario Ministry of Natural Resources david.john.thompson at ontario.ca http://ofri.mnr.gov.on.ca
2008 Jan 17
2
Converting plots to ggplot2
...ipulating the axes labels (still searching the news archives though). Also, I would like to add additional curves to the same plot with the sequence 'asc' generated by: s <- seq(5, 45, 10)*pi/180 ; s asc <- lapply(s, function(x) x*cos(ac) + x*sin(ac)) ; asc Suggestions? Thanx, DaveT. > sessionInfo() R version 2.6.1 (2007-11-26) i386-pc-mingw32 locale: LC_COLLATE=English_Canada.1252;LC_CTYPE=English_Canada.1252; LC_MONETARY=English_Canada.1252;LC_NUMERIC=C; LC_TIME=English_Canada.1252 attached base packages: [1] datasets tcltk utils stats graphics grDevic...
2004 May 11
3
rsync output -vv differs with dry-run option
I'm trying to figure out if a file has changed since the last rsync call. I use the following command line: rsync -cvv /mnt/xxx/vol1/dbase/100/kunden.dbf /mnt/label | grep "^total: " | sed -e 's/.* data=//' This gives a 0 if the file is unchanged and the file size if the file has changed. Adding the "dry-run" option "n" to the command line always
2007 Dec 20
1
Available environment variables
..., or default, or standard, . . .) environment variables? I would like to know if there is an existing convention for any arbitrary process that I may try to do without reinventing the wheel. This same question could apply to options() other than those included with a standard installation. Thanks, DaveT. ************************************* Silviculture Data Analyst Ontario Forest Research Institute Ontario Ministry of Natural Resources david.john.thompson at ontario.ca http://ofri.mnr.gov.on.ca
2008 Apr 10
1
Recovering SPlus GraphSheets
Hello, Is it possible with R to recover the contents of SPlus GraphSheets (*.sgr) without access to SPlus? Also, some of the .sgr files may have multiple pages. Thanx, DaveT. ************************************* Silviculture Data Analyst Ontario Forest Research Institute Ontario Ministry of Natural Resources david.john.thompson at ontario.ca http://ofri.mnr.gov.on.ca
2008 Jun 17
0
echo Rprofile.site on startup
...parts are successfully/properly defined. Does the same process work for all of Rprofile.site, .Rprofile, .First, .Last (, etc.?) profile files? Is there a 'best practice' on which of the profile files one should use? I use only the Rprofile.site since I am the only user on my PC. Thanx, DaveT. ************************************* Silviculture Data Analyst Ontario Forest Research Institute Ontario Ministry of Natural Resources david.john.thompson at ontario.ca http://ontario.ca/ofri ************************************* Sys.info() sysname releas...
2008 Jun 04
1
ggplot questions
...utline added. Later, each individual tree will be plotted across each oplt in the views below and each rplt in expanded views. All locations (rplt centers, tree positions) are recorded as azimuth and distance from their respective plot centers, hence my inclination to use polar coordinates. Thanx, DaveT. ************************************* Silviculture Data Analyst Ontario Forest Research Institute Ontario Ministry of Natural Resources david.john.thompson at ontario.ca http://ontario.ca/ofri
2004 Apr 23
2
More confusion on exclude rules
...ore - *.bz2 - *.orig - *.BAK - *.bak - *.old - *.csv - *.tmp - *.4chart - *.xls - *.difftrx - *.difftra - *.rawbad - *.trx.all - *.tar.* - *.tar - *.gz - *.old - *.log.* - *.zip - *.Z - /* I'm running the following command line on the client side: # /usr/local/bin/rsync -avrnz --exclude-from=/davet/rsync.webmstr1 --stats webmstr@primey::webmstr1 /export/home/webmstr However, rsync finds /export/home/bin/test_temp.delete_me but NOT /export/home/webmstr/nflmg/scripts/regional/misc_loaders/test_temp.delete_me . I don't understand why it finds the new file in bin/ but not in nflmg/scripts/re...
2008 Oct 09
1
YALAQ - Yet Another LApply Question
...pattern='bn'), function(y) { cat(y, "\n") ; summary(get(y)) ; cat("\n") } ) # command2 version2 (preferred output) smry.list <- lapply(ls(pattern='bn'), function(y) summary(get(y))) names(smry.list) <- ls(pattern='bn') smry.list Thanx, DaveT. ### # system info: > sessionInfo() ; cat("\n") ; Sys.info()[c(1:3,5)] R version 2.7.2 (2008-08-25) i386-pc-mingw32 locale: LC_COLLATE=English_Canada.1252;LC_CTYPE=English_Canada.1252;LC_MONETARY= English_Canada.1252;LC_NUMERIC=C;LC_TIME=English_Canada.1252 attached base packages:...
2008 Feb 08
1
Can I index a dataframe with a reference from/to a second dataframe?
..."19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34"), class = "data.frame") Thanks, DaveT. ************************************* Silviculture Data Analyst Ontario Forest Research Institute Ontario Ministry of Natural Resources david.john.thompson at ontario.ca http://ofri.mnr.gov.on.ca