similar to: Removing trailing spaces

Displaying 20 results from an estimated 1200 matches similar to: "Removing trailing spaces"

2006 Jun 27
3
Possible to get a definition of a function from a package to use without invoking the package?
Hi, I often use the mod() and instring() functions that are available in the clim.pact package. This package has a lot of dependencies, including installation of netCDF, and I haven't yet been able to get library(clim.pact) to work on a Mac OS 10.4.6. A previous request for help with the Mac problem yielded no results, so now I wonder if I could just extract the definitions for the couple
2010 Oct 29
2
doubt in climate variability analysis in R!
Hello all, I am trying to use "clim.pact" package for my work, but since this is the beginning for me to use gridded datasets in "R", I am having some trouble. I want to do seasonal analyses like trends, anomalies, variograms, EOF and probably kriging too to downscale my 1 degree gridded data to 0.5.  So, as a first step, I compiled my entire dataset (with 25
2011 Nov 29
1
Problems with Raster and clim.pact packages with large netcdf files (2.7G) in x64 bit R
I normally use the raster or clim.pact pckages to read netcdf (.nc) files. This has always worked out for me until this weekend every time i try to read a .nc file i get the following error Program: C:\Program Files\RStudio\bin\x64\rsession.exe File: posixio.c, Line 417 Expression: offset >= 0 This application has requested the Runtime to terminate it in an unusual way.Please contact the
2008 Jan 15
1
Problem with running installed package on Windows
Hello, I have installed the package clim.pact in R on both Mac OS X and Windows XP. Everything works fine on the Mac but in Windows, I have a problem when I try to execute some simple commands. I get this error: Error in gzfile(file, "wb") : unable to open connection In addition: Warning message: In gzfile(file, "wb") : cannot open compressed file
2005 Nov 07
1
Help with downloading clim.pact
I am wondering if anyone might know why the package clim.pact won't install properly. I have tried many URL sites and the same thing happens. I get the error message below. I also tried downloading the ZIP from the CRAN site and extracting the file myself, but an error message (something like, "not an archive file") appears. I operate through Windows. Thanks. Gary Nelson.
2008 Jun 23
2
I need help with eofs
Hello, I'm a beginner in R. I'm learning to use this fantastic program, but I have some problems in how to use it. First of all, I have a txt file witch I am able to load to the program. I'm very interested in PCA, and I have a lot of packages, but I haven't got the results that I want. I would like to get the EOFS and to export it in a txt file. I would be pleased if you could
2010 Nov 19
2
Calculating distance between longitude,latitude of 2 points
Hi all, I would like to know a way of calculating the distance between 2 points when I already have the longitude and latitude of the points. For example : Point 1 : 52? 9'54.00"N 4?25'8.40"E Point 2 : 52?27'46.80"N 4?33'18.00"E Distance between point 1 and point in km .... Is there any functions already available for this ? Any help will be much
2007 Nov 14
1
calc dist AB for B at levels of A
I have a question that I have been trying to figure out and I imagine there is a very simple answer to it. I am trying to use the distAB function in the clim.pact package I have a dataframe with 4 columns in which A is ref pt and B is site 1. longitude of A 2. Latitude of A 3. longitude of B 4. Latitude of B Problem is the columns are unequal in length column 1 and 2 are length=29 and 3 and 4
2004 Aug 19
3
Do you know if you can map a large minimum spanning tree in R?
Thanks Mike. My data has longitude and latitude coords and I used distAB {clim.pact} then mst {ape} to calculate my minimum spanning tree. The nodes are telecoms sites from all over Australia. My goal is to determine the minimum cost of linking them via cabling, and I'm starting by calculating the distance "as the crow flies", but will probably eventually need to calculate the
2006 Apr 26
3
copying previously installed libraries to R 2.3.0
hi all, is there a new mechanism in R 2.3.0 for copying libraries from, say, R 2.2.1 to R 2.3.0? i ask because gabor grothendieck comments in his copydir.bat (from gabor's batchfiles at: http://cran.r-project.org/contrib/extra/batchfiles/batchfiles_0.2-5.zip ): ``:: I personally upgraded my 2.1.0 to 2.2.0 this way so it seems ok until :: R replaces this with something better which is
2007 Oct 18
5
vector graphics/ ungroup and edit in CorelDraw
System: Linux kernel 2.6.15 Ubuntu dapper R version 2.5.1 ESS 5.2.11 on Emacs 21.4.1 ------------------------- Colleagues Having read the posts on producing perfect graphs in R, or using inkscape to edit R graphics output, I have a related question. Lately I am publishing in a journal that is very picky about their graphics formats. It is more efficient for me to get the final picky details
2004 Apr 06
2
A package to read and write NetCDF?
I am looking for a package to read and write NetCDF files. NetCDF package says it can only read, not write. Another package for the standard binary file format? Daehyok Shin
2012 Mar 16
2
plotting border over map
I am using following codes to plot map library(sp) library(rgdal) library(maps) library(gplots) library(clim.pact) library(fields) source("/R/PlotGridded2DMap.R") source("/R/image.plot.fix.R") source("/R/image.plot.plt.fix.r") seasonal_plot<-function(input,lonll=-180,latll=-90,lonres=5.,latres=3.75,write_file=TRUE,The_title=NULL){ if(is.null(The_title)){
2010 Oct 06
4
problem with abline
Hi All, I am running a scatter plot and trying to add a best fit line. I use an abline function, but get no line drawn over the points. I also get no error. I arm using V 2.10.0 on Windows 7. Here is my code, including the SAS transport file import: require (foreign) require (chron) require (Hmisc) require (lattice) clin <- sasxport.get("y:\\temp\\subset.xpt") attach(clin)
2006 Apr 05
2
Problems in package management after Linux system upgrade
I upgraded from Fedora Core 4 to Fedora Core 5 and I find a lot of previously installed packages won't run because shared libraries or other system things have changed "out from under" the installed R libraries. I do not know for sure if the R version now from Fedora-Extras (2.2.1) is exactly the same one I was using in FC4. I see problems in many packages. Example, Hmisc: unable
2007 Sep 16
1
programming question
Dear list, I have a vector of numbers, let's say: myvec <- c(2, 8, 24, 26, 51, 57, 58, 78, 219) My task is to reduce this vector to non-reducible numbers; small numbers can cross-out some of the larger ones, based on a function let's say called reduce() If I apply the function to the first element 2, my vector gets shorted to: > (myvec <- reduce(myvec[1])) [1] 2 24 51
2015 May 04
2
[LLVMdev] Incorrect code generated for arm64
Hi all, I’ve narrowed down a problem in my code to the following test case: - - - - typedef struct {float v[2];} vec2; typedef struct {float v[3];} vec3; vec2 getVec2(); vec3 getVec3() { vec2 myVec = getVec2(); vec3 res; res.v[0] = myVec.v[0]; res.v[1] = myVec.v[1]; res.v[2] = 1; return res; } - - - - Compiling this with any level of optimization for arm64 gives incorrect code,
2003 Feb 20
3
outliers/interval data extraction
Dear R-users, I have two outliers related questions. I. I have a vector consisting of 69 values. mean = 0.00086 SD = 0.02152 The shape of EDA graphics (boxplots, density plots) is heavily distorted due to outliers. How to define the interval for outliers exception? Is <2SD - mean + 2SD> interval a correct approach? Or should I define 95% (or 99%) limit of agreement for data interval,
2008 Jun 23
2
Writing Vector to a File
Dear experts, I try not to trouble the list again after this question. I want to print this vector into a file > myvec [1] --Control --Control --Control --Control --Control HBA2 HBA1 [8] HBA1 --Control HBB --Control HBB HBA1 MBP [15] --Control HBA1 HBA2 HBB PTGDS GAPDH UBC [22] --Control GAPDH TPT1 HUWE1 PRM1 CKM
2007 Dec 20
0
package clim.pact
I would like to try the SSA approach with my data. If i am not mistaken there is a package named "clim.pact" in the R repository that does that. I tried to download on my Linux box and it failed as it cannot resolve a dependency that is only needed for Windows platform (that is written in the site http://cged.genes.nig.ac.jp/RGM2/pkg.php?p=clim.pact). I wonder if someone knows the