Displaying 20 results from an estimated 9000 matches similar to: "read .csv file and plot a graph"
2013 Apr 24
1
Simulate user input in R
Dear all,
Can we simulate user input in R ?
for example if we have a function which needs an input from the user to
continue its work, can we automate this step (simulate the input...)
Here is the sample:
choose between one of the grouping factor available :
c("Village", "Country")
we need to enter Village or Country to continue.....can I automatically
pass one of the values
2013 Apr 23
1
Automation of R input
Hi all,
I have R script which during its run require an input like this:
choose between one of the grouping factor available :
c("Village", "Country")
can I automate this part, in other word to pass for example Village when I
am running the script.
One more thing the script is the TimeSeriesAnalysis {ndvits}.
Thanks in advance for any help or suggestion.
Regards,
Vahe
2013 Apr 23
1
One more question please...
I executed the code in rstudio successfully:
library("ndvits", lib.loc="/home/vahe/R/i686-pc-linux-gnu-library/2.15")
ndvidirectory=paste(system.file("extdata/VITO_Mzimba",
package="ndvits"), "/", sep="")
region="Mzimba"
Ystart=2004
Yend=2006
shape="SLP_Mzimba"
2013 Apr 24
1
R Interactive Mode
Dear all,
We are doing some research about the time series analysis of NDVI, and
we found the NDVITS package which is a very great tool.
Unfortunately when we run it, after TimeSeriesAnalysis it asks to enter
"Village or Country".
library("ndvits", lib.loc="/home/vahe/R/i686-pc-linux-gnu-library/2.15")
2013 Apr 23
0
One more question...
Thanks a lot Andrija...
I run the following in Rsutdio:
library("ndvits", lib.loc="/home/vahe/R/i686-pc-linux-gnu-library/2.15")
ndvidirectory=paste(system.file("extdata/VITO_Mzimba",
package="ndvits"), "/", sep="")
region="Mzimba"
Ystart=2004
Yend=2006
shape="SLP_Mzimba"
2013 Apr 23
0
Need a little help about this script...
library("ndvits", lib.loc="/home/vahe/R/i686-pc-linux-gnu-library/2.15")
ndvidirectory=paste(system.file("extdata/VITO_Mzimba",
package="ndvits"), "/", sep="")
region="Mzimba"
Ystart=2004
Yend=2006
shape="SLP_Mzimba"
shapedir=paste(system.file("extdata/shape",
2008 Feb 26
3
using eval-parse-paste in a loop
R-helpers
I have 120 small Excel sheets to read and I am using
library(xlsReadWrite): one example below.
I had hoped to read sheets by looping over a list of numbers in their
name (eg Book1.xls, Book2.xls, etc).
I thought I had seen examples which used eval-parse-paste in this way.
However, I have not been able to get it to work..
1. is this a feasible approach?
2. if not
2012 Oct 30
2
issues with krige function
Greetings all,
Ran into a strange problem with the krige function from geoR. The
problem that I am having is that while the krige function seems to
work well, the resulting predicted values are all NAs. Given the size
of the datasets I am working with can't attach it, but I can provide
snippets of the datasets.
> casedata
station year month day obs mpe bias type
2010 Mar 23
2
Saving tab/csv delimited data with NaN's
Hello,
I am working multiple simulated data sets with missing values, I would
like to store these data sets in either tab delimited format for .csv
format with missing values marked as NaN's instead of NA's.
I read the import/export document which mentions that write.table
command converts NaN's to NA. Is there any other way I can store the
NaN's. I tried the write syntax
2010 May 06
5
frequency
Dear list,
Im trying to do the following operation but im not able to do it
This is my table:
1 2 3
1 0 7 4
2 0 2 0
3 0 1 3
4 0 3 4
what i would like to do is
divide each row values with the corresponding column' sum,namely:
1 2 3
1 0 0.54 0.36
2 0 0.15 0
3 0 0.08
2006 Jun 30
0
sync reads or big files problem
Hello, friends!
I vahe a problem using prototype1.4 in IE6.
I am trying to create bandwidth speed test tool. The idea is to
download one by one X times (i.e. 10) one and the same ASCII-file with
size = 1MB. I would like to measure time and speed of each run, to
display the intermediate results after aech run and finally after all
X rund display total results as average of all runs.
But when I
2013 Apr 23
0
Re
Hi andrija djurovic,
Thanks a lot for your reply....and for your useful suggestions.
Actually I need to run this script without user interaction, so when it is
required to input Village I need to pass it automatically not by the user.
Regards,
Vahe
[[alternative HTML version deleted]]
2017 Mar 15
3
Speculative execution of FP divide Instructions - Call-Graph Simplify
[+current llvm-dev address]
On 03/15/2017 09:23 AM, Hal Finkel wrote:
> Hi Samuel,
>
> What are you taking about? ;)
>
> The only way to get a SIGFPE from a floating-point division by zero is
> to modify the floating-point environment to enable those exceptions.
> We don't support that (*). In the default (supported) environment,
> floating point division is well
2015 Dec 10
3
Memory utilization problems in profile reader
On Wed, Dec 9, 2015 at 3:14 PM, Xinliang David Li <xinliangli at gmail.com>
wrote:
> Can you extract the relevant part of the heap profile data?
>
It's all profile data, actually. The heap utilization is massively
dominated by the profile reader.
> How large is the sample profile data fed to the compiler?
>
>
For this run, the input file was 21Mb.
> The
2009 Jun 23
2
values in graph points
Hello,
How to add x values in graph points?
Thanks a lot,
Romildo
x <- c(22.44, 20.14, 15.85, 15.97)
plot(x, type="n", axes=FALSE, ann=FALSE, labels=c(22.44, 20.14, 15.85,
15.97))
par(lwd=1)
lines(x)
points(x, pch=5, bg="grey", cex=1.5)
axis(2, las=1)
axis(1, at=1:4, lab=c("none", "50-50", "80-20", "90-10"))
box()
2012 Jul 11
1
igraph function "graph.bfs" unavailable
Hi,
I've installed the igraph package and have been otherwise using it successfully, but when I try to use graph.bfs I get the error:
could not find function "graph.bfs"
Moreover, I don't seem to have the documentation installed either. (per ?graph.bfs and ??graph.bfs).
I'm using RStudio v0.95.262 on windows 7. Below is the info for my R build:
R version 2.14.0
2015 Dec 09
3
Memory utilization problems in profile reader
I've been experimenting with profiled bootstraps using sample profiles.
Initially, I made stage2 build stage3 while running under Perf. This
produced a 20Gb profile which took too long to convert to LLVM, and used
~30Gb of RAM. So, I decided that this was not going to be very useful for
general usage.
I then changed the bootstrap to instead run each individual compile under
Perf. This
2007 Jun 19
1
Samba Client with Windows XP share slow performance
I'm getting awful performance when trying to write to our new NAS and/or a
Windows XP share. In short, I'm getting just under 1/2 the speed that I
can get if I mount a Linux share on the Windows box and send the files
that way. Here are the test results:
>From XP to Linux via FTP 47MB/sec
>From XP to Linux via SAMBA 40MB/sec
>From Linux to XP via CIFS 21MB/sec
Now, this is
2007 Jul 27
2
Matrix Multiplication, Floating-Point, etc.
Hi.
I recently tried the following in R 2.5.1 on Windows XP:
>ev2<-c(0.8,-0.6)
>ev1<-c(0.6,0.8)
>ev1%*%ev2
[,1]
[1,] -2.664427e-17
>sum(ev1*ev2)
[1] 0
>
(I got the same result with R 2.4.1 on a different Windows XP machine.)
I expect this issue is very familiar and probably has been discussed in this
forum before. Can someone please point me to some
2002 Jul 17
2
Build on Solaris 8 gcc-3.1 fails make check
Dear R-help,
I am trying to build R-1.5.1 on a Sun Blade 100 (sparc).
It fails make check when var(1) returns NaN instead of NA.
Using gcc-2.95.3 from sunfreeware.com, the build succeeds and passes
make check
I have:
Solaris 8
gcc-3.1 (built on that machine from sources and installed in
/usr/local/gcc-3.1 with binaries symlink'ed to /usr/local/bin)
A synopsis is at the bottom of