search for: ccfhrb

Displaying 20 results from an estimated 47 matches for "ccfhrb".

2004 Jul 15
3
More on global environment
...(list=ls()) to remove everything from the workspace. 3. setcwd("xxx") to set the new working directory. 4. load(".Rdata") to load the new workspace. -- Michael Prager, Ph.D. NOAA Center for Coastal Fisheries and Habitat Research Beaufort, North Carolina 28516 http://shrimp.ccfhrb.noaa.gov/~mprager/
2005 Aug 23
0
For2R - Interface from Fortran to R
...ams. By a series of subroutine calls, program outputs can be written to a file readable by R with a single "dget" function call. This facilitates automated graphics generation and other postprocessing of model results. A downloadable ZIP file of For2R is available from http://shrimp.ccfhrb.noaa.gov/~mprager/Rinter.html and includes Fortran source, documentation, and an example. We are working on similar code to interface C++ with R. An extremely crude version of such code is available from the same page. Though the C++ code will be totally replaced, the download includes sample...
2002 Dec 23
1
Plot scales
...set x and y as proportions of total plot size or something similar. Can anyone steer me to documentation on how to do it? -- Michael Prager, Ph.D. <Mike.Prager at noaa.gov> NOAA Center for Coastal Fisheries and Habitat Research Beaufort, North Carolina 28516 http://shrimp.ccfhrb.noaa.gov/~mprager/
2005 Aug 23
0
For2R - Interface from Fortran to R
...ams. By a series of subroutine calls, program outputs can be written to a file readable by R with a single "dget" function call. This facilitates automated graphics generation and other postprocessing of model results. A downloadable ZIP file of For2R is available from http://shrimp.ccfhrb.noaa.gov/~mprager/Rinter.html and includes Fortran source, documentation, and an example. We are working on similar code to interface C++ with R. An extremely crude version of such code is available from the same page. Though the C++ code will be totally replaced, the download includes sample...
2002 Aug 08
1
PR #1833 Clarification (PR#1890)
...ause installing the patch takes only 5 minutes, and this might help future users who experience similar problems. Thank you. -- Michael Prager, Ph.D. <Mike.Prager@noaa.gov> NOAA Center for Coastal Fisheries and Habitat Research Beaufort, North Carolina 28516 http://shrimp.ccfhrb.noaa.gov/~mprager/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r...
2002 Jul 26
1
R 1.5.1 (Windows) crashes on plotting density(rnorm(1000)) (PR#1837)
...AM. Please advise if further details of hardware/OS are needed. If rgui.exe is in use, the crash occurs before the plot can be displayed. If rterm.exe is in use, the plot appears, then the error (and crash). A screen capture of the error dialog box can be viewed/downloaded at http://shrimp.ccfhrb.noaa.gov/~mprager/rcrash.png I happen to have Compaq Fortran installed, and therefore a debugger appears after the crash. As I know nothing about systems programming, the debugger information (assembler) is meaningless to me, but if it would be useful, I can reproduce the crash, save the debug...
2005 Feb 08
4
Renaming columns in data.frame, inserting/removing columns from data.frame
Hello, I'm hoping that there is an easier way to rename columns in a data frame other than by using the names() assignment, which requires you to type in all the column names at once for a data.frame, in the case that I simply want to rename a single column in a data frame. Also, is there an easy way to move columns in a data frame around relative to the other columns? Thanks in
2003 Oct 18
2
Oceanographic lattice plots?
...zontal axis, not the vertical axis. Before I start looking at and modifying the R code that makes up the relevant routines, I wonder if any reader has already developed R routines for this purpose? -- Michael Prager, Ph.D. NOAA Beaufort Laboratory Beaufort, North Carolina 28516 http://shrimp.ccfhrb.noaa.gov/~mprager/ ***
2006 Feb 07
1
Reading in FORTRAN data using R
Hi There: I was wondering if there is a way to read FORTRAN list data (similar to IDL's readf function). I often use FORTRAN for most of my number crunching, and use something like IDL to visualize and perform statistical analysis on that data. Since the each file is rather large (>100 Mb), formatting the output into columns or tables is impractical, hence the "list"
2005 Sep 25
0
Tip: Working directory in titlebar
...both these bits of code have been used, they may have errors. Comments and corrections welcome. -- Michael H. Prager, Ph.D. Population Dynamics Team NOAA Center for Coastal Habitat and Fisheries Research NMFS Southeast Fisheries Science Center Beaufort, North Carolina 28516 USA http://shrimp.ccfhrb.noaa.gov/~mprager/
2005 Dec 14
2
Problem with dir.create (R2.2.0 Windows XP 2002 SP 2)
I've run into a problem with dir.create on R2.2.0 Windows XP 2002 SP 2. setwd("d:/") print(dir.create("d:\\otis-sim\\rdata", recursive=T)) print(dir.create("d:\\otis-sim\\", recursive=T)) Both return false and fail to create the directories. setwd("c:/") print(dir.create("d:\\otis-sim\\rdata", recursive=T)) Returns true and succesfully
2006 Mar 10
2
2nd R console?
hello all, i'm forwarding this question for a colleague. "Is it possible to open a 2nd R Console?" regards, mark+ -- mark garey ucsf department of epidemiology and biostatistics division of biostatistics 185 berry street, suite 5700 san francisco, ca. 94107-1739 415.514.8147
2005 Jun 28
0
JGR font rendering on Windows
...riking, as this uses Windows native font smoothing (CoolType). I believe it uses the default Windows font smoothing on other versions of Windows or other displays. MHP -- Michael Prager, Ph.D. NOAA Center for Coastal Fisheries and Habitat Research Beaufort, North Carolina 28516 http://shrimp.ccfhrb.noaa.gov/~mprager/ *** Opinions are personal, not official. No government endorsement is made of any commercial or noncommercial product. ***
2002 Jul 26
0
plotting density(rnorm(1000)) crashed once (PR#1837)
...ils of hardware/OS are needed. > > If rgui.exe is in use, the crash occurs before the plot can be > displayed. If rterm.exe is in use, the plot appears, then the error (and > crash). > > A screen capture of the error dialog box can be viewed/downloaded at > > http://shrimp.ccfhrb.noaa.gov/~mprager/rcrash.png > > I happen to have Compaq Fortran installed, and therefore a debugger appears > after the crash. As I know nothing about systems programming, the debugger > information (assembler) is meaningless to me, but if it would be useful, I > can reproduce the...
2004 Jul 15
4
Where is global environment?
...ult to find out by other means. But for several reasons I would like to find this out from within R. Thanks. -- Michael Prager, Ph.D. Population Dynamics Team, NMFS SE Fisheries Science Center NOAA Center for Coastal Fisheries and Habitat Research Beaufort, North Carolina 28516 http://shrimp.ccfhrb.noaa.gov/~mprager/
2004 Jan 09
2
r: fortran help
Hi all I would like to know if anybody knows of either a good book or web site that explains one how to use Fortran. I would like to call some of the Fortran subroutines but before I can do that I first want to learn how to code in Fortran. Regards Allan
2006 Feb 15
2
common title for graphs in a (1x2) layout
Dear all, Many thanks for the help suggesting the use of "layout" cmd. How to insert a title in a 1x2 layout? The title is related to both graphs. I looked for it in help, unsuccessfully. Thanks in advance, Rodrigo. my reproductible code: ---------------------------------------------------------------------- def.par <- par(no.readonly = TRUE) nf <- layout(matrix(c(1,2),
2005 Jan 17
3
How do I format something as "0.000"?
Hi, I would like to use the format function to get numbers all with three digits to the right of the decimal point, even in cases where there is no significant digit left. For example, I would like to get c(0.3456789,0.0000053) as "0.346" "0.000". It seems that it is not possible to force format to print a "0.000", i.e. without any significant decimal places. Is it
2006 Feb 13
2
Plotting contour & filled.contour in one graph
Dear All, I have a question on overlaying a filled.contour (e.g. on soil properties data) and contour (by elevation) in one graph. Both have the same z matrix dimension. I'm able to overlay both graph, but the plots dimension did not overlap well on the same plots. How can I have both filled.contour and contour on the same graph? The commands that I have written are as follows:
2005 May 11
3
Graphics file to disk
Dear All, I have some code that works in S-Plus for writing saving a graphics file to disk :- graphsheet(type = "auto", format = "WMF", file = "G:\\north0l.wmf", pages = "auto", print.background = F, orientation="landscape", color.style="color") plot(x,y) dev.off() This works fine in S-Plus. I have tried playing