Displaying 20 results from an estimated 4000 matches similar to: "installing grid package"
2010 Mar 01
1
GPC file
Hi,
I have a tar.gz file. Using $tar -xzvf 'filename', I untarred the file.
However, I found that the content is .PGC files (e.g.
ISCCP.D2.0.GLOBAL.1983.07.99.0000.GPC ).
I have tried to search for analysis of gpc data file in R. I have not been
successful to get a good tip.
I would be pleased if anybody could tell me if gpc analysis is implemented
in R. Is there a program I must first
2009 Aug 27
2
chooseCRANmirror()
Hello,
I am runing linux on Ubuntus. I find it difficult to install R packages. I
am in South Africa. It always asked me to choose the nearest CRAN mirror. I
normally choose South Africa and once I clicked Ok, the error message pasted
below will appear. Please I am a new student of R and Ubuntus. The other
warning "argument 'lib' is missing: using
2009 Aug 27
2
Installing R Packages on ubuntus
Hello,
Please I am a learner. My operating system is ubuntus and I am trying to
install raster package from R-forge site. I entered sudo apt-get install
r-base-dev on the command line and that worked fine. I then typed R at the
command line so as to run R. Inside R, I typed >
install.packages("raster",repos="http://R-Forge.R-project.org<http://r-forge.r-project.org/>")
2011 Jan 26
3
adding error bars
Dear all,
I am trying to add error bars on a boxplot but have encountered an error as
indicated below. Is there a package I need to install or a library I have to
load before this goes please.
Thanks for any idea.
Ogbos
x<-replicate(20,rnorm(50))
boxplot(x,notch=TRUE,main="Notched boxplot with error bars")
error.bars(x,add=TRUE)
Error: could not find function "error.bars"
2024 Mar 29
2
Output of tapply function as data frame: Problem Fixed
Dear Rui,
Thanks again for resolving this. I have already started using the version
that works for me.
But to clarify the second part, please let me paste the what I did and the
error message:
> set.seed(2024)
> data <- data.frame(
+ Date = sample(seq(Sys.Date() - 5, Sys.Date(), by = "1 days"), 100L,
+ TRUE),
+ count = sample(10L, 100L, TRUE)
+ )
>
> # coerce
2016 Apr 30
3
Could not find function "pointsToRaster"
Dear All,
I have a script that draws longitude and latitude of lightning
occurrence. This script was running fine before. But when I changed my
system and do a fresh install on another laptop, this error persist.
source("script")
Error in eval(expr, envir, enclos) :
could not find function "pointsToRaster"
I have tried to see if there is any other package I need to install
2009 Aug 25
2
latitude and longitude distribution
Good day to you all,
I have lightning data containing date, time, latitude and longitude. I hope
that distribution of latitude and longitude will give number of lightning
occurrence in a region. I have used factor function to sum up the number of
events on latitude and longitude axis and saved as x and y. But when I tried
to plot the two, I had and error message ( Error in image.default(x, y, z) :
2024 Mar 29
1
Output of tapply function as data frame: Problem Fixed
?s 01:43 de 29/03/2024, Ogbos Okike escreveu:
> Dear Rui,
> Thanks again for resolving this. I have already started using the version
> that works for me.
>
> But to clarify the second part, please let me paste the what I did and the
> error message:
>
>> set.seed(2024)
>> data <- data.frame(
> + Date = sample(seq(Sys.Date() - 5, Sys.Date(), by = "1
2010 Mar 09
3
Removing Zeros from matrix
Hi Everybody,
I have a matrix of about 45 columns. Some of the rows contain zeros. Using
>data1<-data[complete.cases(data),], I can remove the "NA" rows. But I am
unable to tackle that of zeros.
Can anybody give me an idea of how to remove rows containing zeros in a
matrix.
Thanks so much
Best
Ogbos
[[alternative HTML version deleted]]
2010 Jun 07
2
Polar coordinate
Greetings to you all.
I have two datasets - Time and magnitude. For a particular location, the
magnitude of the parameter varies with time. I wish to obtain a polar
coordinate distribution of time (0-24h) and magnitudes so as to visualize
how magnitude varies with different times of the day (e.g., morning,
midnight hours).
I have searched for "polar coordinates in R" but could not get
2011 Jul 27
2
Expression: +/-sigma
Dear List,
I am trying to label a plot with the symbol +/- sigma. Using something like
- expression (2*sigma) gives me the symbol 2ó. However, adding +/- to it
beats me.
The code I am using is: plot(x,y,type="l",main=" expression(paste("±",
plain(2*ó)),sep="").
Any suggestion will be appreciated.
Best
Ogbos
[[alternative HTML version deleted]]
2018 Jan 22
0
Manipulating two large dataset differing by date and time
Hi Ogbos,
You can just use ISOdate. If you pass more values, it will process them:
ISOdate(2018,01,22)
[1] "2018-01-22 12:00:00 GMT"
> ISOdate(2018,01,22,18,17)
[1] "2018-01-22 18:17:00 GMT"
Add something like:
if(is.null(data$hour),data$hour<-12
then pass data$hour as it will default to the same value as if you
hadn't passed it.
Jim
On Mon, Jan 22, 2018 at 6:01
2010 Jan 30
1
pca in R
Hi,
I am learning how to do principal component analysis in R. However, since I
am family with only a few built-in functions like prcomp, sd, cor, I started
manually with examples in text books while trying to use the few functions I
know to manipulate what they have in the text. From the example in the text
I obtained a data set. Using cor and cov, I calculated the correlation and
covariance of
2010 Oct 07
1
X11 is not available
Dear All,
I have just installed a new version of R (Version R-2.11.0) and did install
other packages such as raster with ease. However, I could not start the
plotting device x11(). I remembered that somewhere at the stage of
installation, an error occurred : 'configure: error: --with-x=yes (default)
and X11 headers/libs are not available'
I tried avoiding this error by using ./configure
2010 Oct 14
1
spatial partition
Hi everybody,
I have a huge longitude and latitude data. I have used raster package to
get the since of its global distribution. But I wish to display the
information using a few points on the world map.
The data is of the form:
95.2156 0.8312
-65.3236 -3.3851
-65.2364 -3.2696
-65.2349 -3.2679
164.7025 -17.6404
148.8214 -4.8285
-67.6568 2.6477
-73.4833 -0.2350
40.9587 -16.8655
-61.6474 8.1179
2016 Apr 22
2
clock24.plot/radial plot
Kind Experts,
Many thanks for your guide. I have tried to figure out something that
can help me plot my own data using the examples you referred me to. I
copied part of the code as:
set.seed(44)
N=500
events <- as.POSIXct("2011-01-01", tz="GMT") +
days(floor(365*runif(N))) +
hours(floor(24*rnorm(N))) + # using rnorm here
2018 Jan 22
2
Manipulating two large dataset differing by date and time
Dear Members,
Compliments of the Season!!
Below is a part of a code I use for Fourier analysis of signals. The code
handles data with the format 05 01 01 8628 (year, month, day and count)
05 01 02 8589 (year, month, day and count)
The sample data is attached as 2005daily.txt.
I would like to adapt the code to handle data of the form:
05 01 01 00 4009
2009 Sep 16
2
Turnpoints
Good evening to everybody. I have a data of four columns - three of the
columns represent date while the fourth is counts. Setting 4000 as my
minimum point/value, I wish to find out the number of counts that are less
or equal to 4000 and the dates they occur. I have installed pastecs and have
been trying to use turnpoints function to do this. I have not been much
lucky. I am a still learning. I
2016 Apr 22
0
clock24.plot/radial plot
Looks like you forgot to load the lubridate package
library(lubridate)
You are calling functions days(), hours(), minutes(), seconds(), and hour() which all come from that package.
-------------------------------------
David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352
-----Original Message-----
From: R-help [mailto:r-help-bounces at
2009 Sep 18
1
Help a newbie
Hello,
To me as a beginner, every problem looks big. Below is what I was asked to
do as part of a code that will solve my problem. I have used read.table to
read my data into R and assigned the column names with colnames(dat)<- ... .
But to go from txt<-" to the last " at the bottom of the table below is what
I am unable to do. Could anybody please tell me how to type or arrive at